Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Can't add categories or products

Can't add categories or products

Locked

Views: 1,188

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
26 Sep 2007, 3:03 PM
#1
bazfr avatar

bazfr

New Zenner

Join Date:
Sep 2007
Posts:
43
Plugin Contributions:
0

Can't add categories or products

Hi,

I've just installed Zen Cart on my web space PHP Version 5.2.3 - MYSQL 4.1.11 SERVER Apache/1.3.33.

In my Admin i can't add categories or products:

I have the following errors:

Fatal error: Call to a member function read() on a non-object in /home/fhlinux170/c/cms.cadmium.fr/user/htdocs/manage/categories.php on line 716

Fatal error: Call to a member function read() on a non-object in /home/fhlinux170/c/cms.cadmium.fr/user/htdocs/manage/includes/modules/product/collect_info.php on line 441

I noticed a similar thread which was posted by althanis 31st May 2007
This was answered by testuser who proposed to do the following :

Try re-installing those files, as they may have been corrupted during a copy or while using de-archiving program.

I tried this, but nothing has changed.

I also have the following error
Error: Catalog images directory does not exist: /home/fhlinux170/c/cms.cadmium.fr/user/htdocs/http://cms.cadmium.fr/images/

I've changed all necessary file/folder permissions, i think both configure files are fine, see attached files
Please help me:(

/includes/configure.php up to database settings:```
define('HTTP_SERVER', 'http://cms.cadmium.fr');
define('HTTPS_SERVER', 'https://vault2.secured-url.com');

// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'false');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/commercedemo/');

define('DIR_WS_IMAGES', '/images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

define('DIR_WS_PHPBB', '/');

// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', '/home/fhlinux170/c/cms.cadmium.fr/user/htdocs/');

4 Oct 2007, 11:31 AM
#2
ironmac avatar

ironmac

New Zenner

Join Date:
Jun 2007
Posts:
60
Plugin Contributions:
0

Re: Can't add categories or products

I had a problem trying to upload new products/categories and had to wipe out my entire ZC install. Try it again but with an entirely new install and see?

Good luck!

5 Oct 2007, 4:02 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Can't add categories or products

bazfr ... please repost your configure.php files without your username and password in them ...

You appear to have your directories messed up on these files ...