Jump to content

[Help needed] cannot login fronted


Recommended Posts

I'm having same problem, but with differents browsers as explained below:

 

Prestashop 1.5.0.17

 

Theme Electronics Premium

 

Chrome and Firefox under OX 10.6, 10.7 and 10.8 nothing happens when we want to login in the shop as customer, also if I make the customer in the Back Office.

 

With Safari in 10.7 and 10.8 working fine

 

In windows 7 with Explorer is working fine

 

Anybody have some suggestions?.

 

Thanks.

Link to comment
Share on other sites

  • 2 weeks later...

I'm having same problem, but with differents browsers as explained below:

 

Prestashop 1.5.0.17

 

Theme Electronics Premium

 

Chrome and Firefox under OX 10.6, 10.7 and 10.8 nothing happens when we want to login in the shop as customer, also if I make the customer in the Back Office.

 

With Safari in 10.7 and 10.8 working fine

 

In windows 7 with Explorer is working fine

 

Anybody have some suggestions?.

 

Thanks.

Almost same problem,

Can't add several items to cart with Chrome, IE & Safari 5.

Can't login with the same browsers

 

Otherwise, works great with Safari 6, Opera & Firefox

 

Someone has a solution?

 

does any of you guys find a solution?

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...

I think I have the same problem.

After some testing I think this might be due to entering the url without the www then getting redirected to the www domain.

I'm still investigating the causes, but it's really an issue that should be addressed, given the high number of people dealing with it.

I'll post back when I have some evidence

Link to comment
Share on other sites

Hi,

I have noticed the same issue and no order in my shop for several days.

I think the problem and solution are partially discussed here

http://www.prestasho...-cookie-issues/

 

When developing my own multishop I had issues with www or lack of.

 

If you would like to try this, it resolved it the issue for 1.3 and 1.4.

 

Note not tested on a 1.5. Place the code in config/config.inc.php after the loadConfiguraiton call.

 

 

$host = (isset($_SERVER['HTTP_X_FORWARDED_HOST']) ? $_SERVER['HTTP_X_FORWARDED_HOST'] : $_SERVER['HTTP_HOST']);

if (str_replace('www.', null, Configuration::get('PS_SHOP_DOMAIN')) == (str_replace('www.', null, $host)))

Configuration::set('PS_SHOP_DOMAIN', $host);

 

fingers crossed

Edited by nal (see edit history)
  • Like 1
Link to comment
Share on other sites

Thanks nal, I had already read that thread but I was trying to see if there was another reason aside from the htaccess that might have caused that.

I tried that solution and it seems to be working fine. In particular I added the lines

 

 

RewriteCond %{HTTP_HOST} !^www\.

RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

 

right after the line

 

RewriteEngine on

 

I'll still try to look into this, as this feels more like a workaround than an actual solution. Even the problem itself is still pretty obscure.

Anyway, thanks again!

Link to comment
Share on other sites

×
×
  • Create New...