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/');