Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Checkout Loops back to Login


Cindy74

Recommended Posts

Posted

Hello all,

 

I posted this problem a couple of days ago and Jon was kind enough to give me some info on where to look in my includes/configure.php files as well as checking my sessions SSL settings...MUCH appreciated. But I'm still missing something because the problems continues where the customer is returned to the login page at every step of the checkout process. So I'm posting my configure.php code (with only the store name changed) in hopes that someone can see what this "newbie" is missing. Thanks so much for the support.

Cindy

 

<?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://www.mystore.net'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.mystore.net');

define('HTTPS_CATALOG_SERVER', 'https://www.mystore.net');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/services/webpages/t/h/mystore.net/public/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/services/webpages/t/h/mystore.net/public/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/services/webpages/t/h/mystore.net/public/catalog/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

// define our database connection

define('DB_SERVER', 'sqlc6.megasqlservers.com'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'mystore123');

define('DB_SERVER_PASSWORD', '123456');

define('DB_DATABASE', 'database_mystore_net');

define('USE_PCONNECT', 'false'); // use persisstent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

Posted

what does the configure.php file look like in admin?

 

also remove these slashes infront to these links

 

define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/services/webpages/t/h/mystore.net/public/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

 

 

How do you have your sessions set in admin?

Posted
what does the configure.php file look like in admin?

 

also remove these slashes infront to these links

 

define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/services/webpages/t/h/mystore.net/public/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

How do you have your sessions set in admin?

 

 

define('USE_PCONNECT', 'false'); // use persisstent connections?

 

change to

define('USE_PCONNECT', 'true'); // use persisstent connections?

Posted

:D

define('USE_PCONNECT', 'false'); // use persisstent connections?

 

change to

define('USE_PCONNECT', 'true'); // use persisstent connections?

Thanks for the tips! I'm all good now...my issue was I had my cookie domain wrong (oops). But I will double check your suggestions. Thanks so much for the response, and taking time to look at the code! VERY COOL! It's the members like you who take the time to help newbies like me that make this forum so great!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...