lindendesign Posted July 1, 2010 Posted July 1, 2010 Hi there. I'm hoping someone might be able to help me with an issue I have with the login.php page. When this page is accessed from the index page (by clicking the - Log yourself in link), or by Clicking a link to write a review for one of the products, once the username and password has been entered and you press login, it doesn't go anywhere. If you then click another link, it has actually logged you in, as 'My Account' link is now present at the top. Luckily, when you access it from the cart and login, it logins fine and takes you to the checkout. Could anyone suggest why it isn't working from the other pages? Thank you very much in advance, Craig Craig Shaw Linden Design
Guest Posted July 1, 2010 Posted July 1, 2010 Looks like you are using a shared ssl. Check with your host to see what path should be to use that. It doesn't look right. The setting you are looking for is in catalog/includes/configure.php. define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers It could also be the cookie settings, same file. define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', '');
lindendesign Posted July 1, 2010 Author Posted July 1, 2010 Looks like you are using a shared ssl. Check with your host to see what path should be to use that. It doesn't look right. The setting you are looking for is in catalog/includes/configure.php. define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers It could also be the cookie settings, same file. define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); Hi there. Thanks very much for the reply. My settings for the configuration file is as follows: define('HTTP_SERVER', 'http://www.thelittleboxofjewels.co.uk'); define('HTTPS_SERVER', 'https://web132.secure-secure.co.uk/thelittleboxofjewels.co.uk'); define('ENABLE_SSL', 'true'); define('HTTP_COOKIE_DOMAIN', 'thelittleboxofjewels.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'web132.secure-secure.co.uk/thelittleboxofjewels.co.uk'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); Are those incorrect? Craig Shaw Linden Design
Guest Posted July 1, 2010 Posted July 1, 2010 is this a shred ssl? If so this does not look right define('HTTPS_SERVER', 'https://web132.secure-secure.co.uk/thelittleboxofjewels.co.uk'); That usually should be your username for your hosting account like define('HTTPS_SERVER', 'https://web132.secure-secure.co.uk/~username'); Check with your host on that. Also if it is a shared ssl change this part define('HTTPS_COOKIE_DOMAIN', 'web132.secure-secure.co.uk/thelittleboxofjewels.co.uk'); define('HTTPS_COOKIE_PATH', '/'); [code] to [code] define('HTTPS_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_PATH', '');
lindendesign Posted July 2, 2010 Author Posted July 2, 2010 is this a shred ssl? If so this does not look right define('HTTPS_SERVER', 'https://web132.secure-secure.co.uk/thelittleboxofjewels.co.uk'); That usually should be your username for your hosting account like define('HTTPS_SERVER', 'https://web132.secure-secure.co.uk/~username'); Check with your host on that. Also if it is a shared ssl change this part define('HTTPS_COOKIE_DOMAIN', 'web132.secure-secure.co.uk/thelittleboxofjewels.co.uk'); define('HTTPS_COOKIE_PATH', '/'); [code] to [code] define('HTTPS_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_PATH', ''); Hi, Yes, it is shared SSL, but that is the address I have been given by the host. Should I just go ahead and change the cookie part you mentioned and see if that helps? Thanks Craig Craig Shaw Linden Design
Guest Posted July 2, 2010 Posted July 2, 2010 Hi, Yes, it is shared SSL, but that is the address I have been given by the host. Should I just go ahead and change the cookie part you mentioned and see if that helps? Thanks Craig No. If that is the path your host gave then use it. Change the cookie paths like I showed above and see if that helps.
lindendesign Posted July 4, 2010 Author Posted July 4, 2010 No. If that is the path your host gave then use it. Change the cookie paths like I showed above and see if that helps. That looks like its worked! :). Thank you very much for your help with it. Much appreciated. Craig Craig Shaw Linden Design
Recommended Posts
Archived
This topic is now archived and is closed to further replies.