irish06200 Posted September 4, 2006 Posted September 4, 2006 Here is a strange one, I add something to the cart, checkout and try to log in and I get this: Error! Unable to determine the page link! I also noticed that when I get to the log in page, my shopping cart is empty. It almost seems like my sessions are not being populated. But I done a print_r on sessions and got this: Array ( [cart] => shoppingCart Object ( [contents] => Array ( ) [total] => 0 [weight] => 0 [content_type] => ) [language] => english [languages_id] => 1 [currency] => USD [navigation] => navigationHistory Object ( [path] => Array ( [0] => Array ( => [mode] => SSL [get] => Array ( ) [post] => Array ( ) ) ) [snapshot] => Array ( => [mode] => SSL [get] => Array ( ) [post] => Array ( ) ) ) [customer_id] => 3 [customer_default_address_id] => 3 [customer_first_name] => vince [customer_country_id] => 223 [customer_zone_id] => 1 ) I have SSL installed, checked it and it works. The config file is set up like this: define('HTTP_SERVER', 'http://www.domain.com'); define('HTTPS_SERVER', 'https://domain.com'); define('ENABLE_SSL', true); Does anyone have any ideas on this one?
Jack_mcs Posted September 4, 2006 Posted September 4, 2006 That error can occur when you use the Search Engine Friendly option in admin. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
irish06200 Posted September 4, 2006 Author Posted September 4, 2006 That error can occur when you use the Search Engine Friendly option in admin. Jack It is set to false
pyramids Posted September 4, 2006 Posted September 4, 2006 The config file is set up like this: define('HTTP_SERVER', 'http://www.domain.com'); define('HTTPS_SERVER', 'https://domain.com'); define('ENABLE_SSL', true); Does anyone have any ideas on this one? Config for http and https should be the same full domain as the ssl certificate So if the ssl certificate is setup for www.domain.com then the config should be define('HTTP_SERVER', 'http://www.domain.com'); define('HTTPS_SERVER', 'https://www.domain.com'); if the ssl certificate is domain.com then: define('HTTP_SERVER', 'http://domain.com'); define('HTTPS_SERVER', 'https://domain.com');
irish06200 Posted September 4, 2006 Author Posted September 4, 2006 Config for http and https should be the same full domain as the ssl certificate So if the ssl certificate is setup for www.domain.com then the config should be define('HTTP_SERVER', 'http://www.domain.com'); define('HTTPS_SERVER', 'https://www.domain.com'); if the ssl certificate is domain.com then: define('HTTP_SERVER', 'http://domain.com'); define('HTTPS_SERVER', 'https://domain.com'); The SSL is set up as http://domain.com, so even if I set the config file as https:www.domain.com and point the browser to https://www.domain.com the server will automatically change it to https://domain.com. I tried removing the www from both but then I get permission errors even on non-ssl pages: Warning: session_start(): open(/tmp/sess_gu26pvrh2s18o4mh77iuef21b3, O_RDWR) failed: Permission denied (13) in /home/.cato/dargans/dargans.com/ecommerce/catalog/includes/functions/sessions.php on line 98
Recommended Posts
Archived
This topic is now archived and is closed to further replies.