rztv Posted August 27, 2008 Share Posted August 27, 2008 have looked at configure.php until I've gotten snow blindness. Can't find error. All help appreciated. installed to root directory... database info removed for this post. Was working prior to new install. All directory structures the same. <?php /* $Id: configure.php 1739 2007-12-20 00:52:16Z hpdl $ 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://www.bearwirevideo.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.bearwirevideo.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'bearwirevideo.com'); define('HTTPS_COOKIE_DOMAIN', 'bearwirevideo.com'); define('HTTP_COOKIE_PATH', '/osCommerce/'); define('HTTPS_COOKIE_PATH', '/osCommerce/'); define('DIR_WS_HTTP_CATALOG', '/osCommerce/'); define('DIR_WS_HTTPS_CATALOG', '/osCommerce/'); 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', '/home/httpd/vhosts/bearwirevideo.com/httpdocs/osCommerce/'); 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'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'username'); define('DB_SERVER_PASSWORD', 'password'); define('DB_DATABASE', 'database'); 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...
♥FIMBLE Posted August 27, 2008 Share Posted August 27, 2008 Try this Rgds Nic <?php /* $Id: configure.php 1739 2007-12-20 00:52:16Z hpdl $ 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://www.bearwirevideo.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.bearwirevideo.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', ''http://www.bearwirevideo.com'); define('HTTPS_COOKIE_DOMAIN', ''https://www.bearwirevideo.com'); define('HTTP_COOKIE_PATH', '/osCommerce/'); define('HTTPS_COOKIE_PATH', '/osCommerce/'); define('DIR_WS_HTTP_CATALOG', '/osCommerce/'); define('DIR_WS_HTTPS_CATALOG', '/osCommerce/'); 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', '/home/httpd/vhosts/bearwirevideo.com/httpdocs/osCommerce/'); 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'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'username'); define('DB_SERVER_PASSWORD', 'password'); define('DB_DATABASE', 'database'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
BryceJr Posted August 27, 2008 Share Posted August 27, 2008 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' Link to comment Share on other sites More sharing options...
rztv Posted August 28, 2008 Author Share Posted August 28, 2008 Thanks for the advice. Tried both ideas.... still no luck. incidently - neither cookie domain should have http or https to my understanding.... I did try every sequence I could think of. define('HTTP_COOKIE_DOMAIN', 'bearwirevideo.com'); define('HTTPS_COOKIE_DOMAIN', 'bearwirevideo.com'); added MySql to Store Sessions - no change either. Any other ideas? Link to comment Share on other sites More sharing options...
rztv Posted August 28, 2008 Author Share Posted August 28, 2008 when was the last time you felt like a genius? Checked with server host - they had turned register globals off...... turned on and works like a champ. Thanks for everyone's time. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.