Wardworth Posted May 9, 2008 Posted May 9, 2008 Hi, I've just moved our website www.ladderstore.com to a new server and since doing so I can no longer add items to my cart. When I press 'add to cart' the shopping cart displays as empty. I'm not using SSL at the moment and i've not changed configure.php at all therefore I'm not sure what the problem is. register_globals is set to On as before. I'm wondering if its a session problem but I'm not sure?? Any ideas? Hope someone can help please. .: Wardworth Ltd
Guest Posted May 9, 2008 Posted May 9, 2008 could you show your config file (without passwords obviously) think it may be the cookie path - did you have it on SSL and now you haven't ?
Wardworth Posted May 9, 2008 Author Posted May 9, 2008 could you show your config file (without passwords obviously) think it may be the cookie path - did you have it on SSL and now you haven't ? Hi deejay, No its never been on SSL. It's basically a straight copy of the site onto another server. DB copied over, file structure etc etc. <?php // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.ladderstore.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', '.ladderstore.com'); define('HTTPS_COOKIE_DOMAIN', '.ladderstore.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); 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_CATEGORIES', DIR_WS_INCLUDES . 'category_includes/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_FS_ADMIN', 'http://www.ladderstore.com/control/'); define('EMAIL_INVOICE_DIR', 'email_invoice/'); define('INVOICE_TEMPLATE_DIR', 'templates/'); 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 our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', '--'); define('DB_SERVER_PASSWORD', '--'); define('DB_DATABASE', 'laddhappy'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Very confused... .: Wardworth Ltd
Guest Posted May 9, 2008 Posted May 9, 2008 it wouldnt be that then. I'm not sure what define('HTTP_COOKIE_DOMAIN', '.ladderstore.com'); define('HTTPS_COOKIE_DOMAIN', '.ladderstore.com'); does, you could change that to define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); see if that makes any difference.
Guest Posted May 9, 2008 Posted May 9, 2008 I had a similar problem, you should take a look at the quantity box on the product info pages as this is what my problem was.
Wardworth Posted May 9, 2008 Author Posted May 9, 2008 Nah nothing to do with the quantity box. As I said, I've not changed anything and it was working fine on the other server. Tried changing the cookies path but made no difference. It looks like a problem with the GET and POST functions on the new server. A setting in php.ini maybe? Register_globals are turned on and I don't know enough about php to do anything else. It is looking like maybe a difference between the old and new php.ini settings though. Problem is, the old server has died (rebooted and never came back on) and I'm trying to get the techies at the old server to get it sorted. Different company and unfortunately, they're rubbish.... sigh. Anyone got any other ideas? .: Wardworth Ltd
Guest Posted May 9, 2008 Posted May 9, 2008 is it a different version of php ? if so have a look in contributions for a patch
Recommended Posts
Archived
This topic is now archived and is closed to further replies.