dukar Posted March 4, 2004 Share Posted March 4, 2004 Howdy What does the following error message make clear? Error: Catalog images directory does not exist: /home/dukarla/public_html/bustedbusimages/ Now I'm assuming catalog/includes/configure.php file needs a fix but I'm not sure what fix. Thanks /dk Link to comment Share on other sites More sharing options...
241 Posted March 4, 2004 Share Posted March 4, 2004 I would say that the directory is bustedbus so yes a path in catalog/includes/configure.php needs a fix and if you post the file it will get a fix but if you post leave out the database password No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
dukar Posted March 4, 2004 Author Share Posted March 4, 2004 Will this part of the configure file be sufficient to understand the error message? I was expecting a ...FS_IMAGES', 'images/') line as well but there is not one. /dk 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/'); Link to comment Share on other sites More sharing options...
gareth123456 Posted March 4, 2004 Share Posted March 4, 2004 I am having similar trouble, any chance of a fix too? My code is at: my admin configure code post Thanks Link to comment Share on other sites More sharing options...
dukar Posted March 5, 2004 Author Share Posted March 5, 2004 I've just installed this a week ago and though it is not my first php shareware project these errors are difficult for me. NEW errors: Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/dukarla/public_html/bustedbus/includes/configure.php:49) in /home/dukarla/public_html/bustedbus/includes/functions/sessions.php on line 67 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/dukarla/public_html/bustedbus/includes/configure.php:49) in /home/dukarla/public_html/bustedbus/includes/functions/sessions.php on line 67 I've included the sessions.php file up to about line #70 <?php /* $Id: sessions.php,v 1.19 2003/07/02 22:10:34 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ if (STORE_SESSIONS == 'mysql') { if (!$SESS_LIFE = get_cfg_var('session.gc_maxlifetime')) { $SESS_LIFE = 1440; } function _sess_open($save_path, $session_name) { return true; } function _sess_close() { return true; } function _sess_read($key) { $value_query = tep_db_query("select value from " . TABLE_SESSIONS . " where sesskey = '" . tep_db_input($key) . "' and expiry > '" . time() . "'"); $value = tep_db_fetch_array($value_query); if (isset($value['value'])) { return $value['value']; } return false; } function _sess_write($key, $val) { global $SESS_LIFE; $expiry = time() + $SESS_LIFE; $value = $val; $check_query = tep_db_query("select count(*) as total from " . TABLE_SESSIONS . " where sesskey = '" . tep_db_input($key) . "'"); $check = tep_db_fetch_array($check_query); if ($check['total'] > 0) { return tep_db_query("update " . TABLE_SESSIONS . " set expiry = '" . tep_db_input($expiry) . "', value = '" . tep_db_input($value) . "' where sesskey = '" . tep_db_input($key) . "'"); } else { return tep_db_query("insert into " . TABLE_SESSIONS . " values ('" . tep_db_input($key) . "', '" . tep_db_input($expiry) . "', '" . tep_db_input($value) . "')"); } } function _sess_destroy($key) { return tep_db_query("delete from " . TABLE_SESSIONS . " where sesskey = '" . tep_db_input($key) . "'"); } function _sess_gc($maxlifetime) { tep_db_query("delete from " . TABLE_SESSIONS . " where expiry < '" . time() . "'"); return true; } session_set_save_handler('_sess_open', '_sess_close', '_sess_read', '_sess_write', '_sess_destroy', '_sess_gc'); } Link to comment Share on other sites More sharing options...
etegration Posted March 5, 2004 Share Posted March 5, 2004 Howdy What does the following error message make clear? Error: Catalog images directory does not exist: /home/dukarla/public_html/bustedbusimages/ Now I'm assuming catalog/includes/configure.php file needs a fix but I'm not sure what fix. Thanks /dk your images dir is pointed in the wrong place. See the following lines on your /path/to/oscommerce/admin/includes/configuration.php define('HTTP_SERVER', 'http://www.yoursite.com/shop'); // eg, http://localhost or - https://localhost should not be NULL for productive servers and then define('DIR_WS_CATALOG', '/'); Link to comment Share on other sites More sharing options...
dukar Posted March 5, 2004 Author Share Posted March 5, 2004 I realize NOW.... I should have included this full text file of the configure.php file for the first error problem on the ADMIN catalog page...anyone readin'? Thanks /mark Error: Catalog images directory does not exist: /home/dukarla/public_html/bustedbusimages/ <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 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://mydomain.net'); define('HTTPS_SERVER', 'https://mydomain.net'); define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'mydomain.net'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/bustedbus/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/bustedbus/'); define('DIR_WS_HTTPS_CATALOG', ''); 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', ''); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'xxxxx'); define('DB_SERVER_PASSWORD', 'xxxxx'); define('DB_DATABASE', 'xxxxxx); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty for default handler or set to 'mysql' ?> Link to comment Share on other sites More sharing options...
dukar Posted March 5, 2004 Author Share Posted March 5, 2004 OF course!! I was looking in the wrong configure file. The last backslash was left off the both of the following lines: define('DIR_FS_DOCUMENT_ROOT', '/home/xxx/public_html/catalog/'); define('DIR_FS_CATALOG', '/home/xxx/public_html/catalog/'); Thanks for the help. This is a great product and community considering how late it is getting. All the Best /mk ....Now I've just got the above error and I can walk home through the beautiful snows falling outside and get some sleep! - cheers Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.