The Fold Posted August 29, 2006 Posted August 29, 2006 Hi there, I've just installed osC via my hosting company that had an auto setup script for it, however when I've gone in to the admin section to put in our products and get things setup I have been getting the following errors: Error: Catalog images directory does not exist: DIR_FS_CATALOG_IMAGES Error: Backup directory does not exist. Please set this in configure.php. Warning: dir(DIR_FS_DOCUMENT_ROOT): failed to open dir: No such file or directory in /home/bigdrcom/public_html/shop/admin/file_manager.php on line 178 Fatal error: Call to a member function on a non-object in /home/bigdrcom/public_html/shop/admin/file_manager.php on line 179 After searching this forum and 1 other (it's the only results that came up on Google) I edited the includes/configure.php file so that it now reads as follows: <?php /* $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://bigdavesbigpoker.com/shop'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://bigdavesbigpoker.com/shop'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'bigdavesbigpoker.com'); define('HTTPS_COOKIE_DOMAIN', 'bigdavesbigpoker.com'); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', '/shop/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); 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', 'pub/'); define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_FS_CATALOG_IMAGES', '/home/bigdrcom/public_html/shop/images'); define('DIR_FS_BACKUP', 'backup/'); define('DIR_FS_DOCUMENT_ROOT', '/home/bigdrcom/public_html/shop'); // protected since inside docroot instead of outside to facilitate addon installer define('DIR_FS_WORK', '/home/bigdrcom/public_html/shop/admin/_work/'); However, despite trying an absolute path and putting in the variables I'm still getting the errors. I've also tried setting the images directory to 777 without any joy. Any ideas anyone, as I'm really stumped on this one!!
PD_Steve Posted August 29, 2006 Posted August 29, 2006 I think you have mixed up the configure files. The one you want for the admin is located in admin/includes/configure.php. My Toolbox: Crimson Editor, Adobe Photoshop CS2.0, Expression Web, Macromedia Suite 8.0, Cinema 4D, Nvu.
The Fold Posted August 29, 2006 Author Posted August 29, 2006 I think you have mixed up the configure files. The one you want for the admin is located in admin/includes/configure.php. Thanks! That worked a treat. I also found that doing a manual install of the system as opposed to the auto setup fixed a lot of things as well.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.