Hello everyone,
I hope someone will help me troubleshoot the fatal error and warnings i get when trying to run the installer for the first time.
The error/warnings are:
My setup:Warning: include(store/includes/auto_loaders/config.core.php) [function.include]: failed to open stream: No such file or directory in /var/www/store/includes/application_top.php on line 90
Warning: include() [function.include]: Failed opening 'store/includes/auto_loaders/config.core.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/store/includes/application_top.php on line 90
Warning: dir(store/includes/auto_loaders) [function.dir]: failed to open dir: No such file or directory in /var/www/store/includes/application_top.php on line 91
Warning: require(store/includes/counter.php) [function.require]: failed to open stream: No such file or directory in /var/www/store/includes/application_top.php on line 124
Fatal error: require() [function.require]: Failed opening required 'store/includes/counter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/store/includes/application_top.php on line 124
OS: Ubuntu Linux 6.10 (2.6.17-10-generic)
HTTPD: Apache/2.0.55
PHP: 5.1.6
MySQL: 5.0.24a-Debian_9-log
Zen Cart: 1.3.7
Steps taken:
1. Zen Cart dir is /var/www/store
2. Edited and chmod to 777:
store/includes/configure.php
store/admin/includes/configure.php
3. Other files and dirs permissions:
Chmod to 777 (shown in bold):
store/cache
store/images <-- recursive, all subdirectories only
store/includes/languages/english/html_includes
store/media
store/pub
store/admin/backups
store/admin/images/graphs
All other directories permissions: 755
All other file permissions: 644
Content of store/includes/configure.php
Thank you in advance. I really appreciate any suggestion.Code:<?php /** * dist-configure.php * * @package initSystem * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: dist-configure.php 4271 2006-08-26 01:21:02Z drbyte $ * @private */ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com define('HTTP_SERVER', 'http://localhost'); define('HTTPS_SERVER', 'https://localhost'); // 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', 'store/'); define('DIR_WS_HTTPS_CATALOG', 'store/'); define('DIR_WS_IMAGES', 'store/images/'); define('DIR_WS_INCLUDES', 'store/includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'store/functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'store/classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'store/modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'store/languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'store/pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'store/templates/'); define('DIR_WS_PHPBB', 'store/phpBB2/'); // * 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', '/var/www/store/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/var/www/store/download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . '/var/www/store/pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . '/var/www/store/uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . '/var/www/store/email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', ''); // prefix for database table names -- preferred to be left empty define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', '[removed]'); define('DB_SERVER_PASSWORD', '[removed]'); define('DB_DATABASE', '[removed]'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'file'); define('DIR_FS_SQL_CACHE', '/var/www/store/cache'); ?>
Best regards,
Lucian Constantin (Skello)



