Jump to content

Error With Admin Login


Recommended Posts

Hi to all,

 

I have a problem in my site with the admin login. It appears to make a refresh to the page after it put the mail and password. This started to hapenning after i added this code to htacess trought backoffice.

Can someone help me please?

 

RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.pertempus\.com$ [NC]
RewriteRule ^(.*)$ http://pertempus.com/$1 [R=301,L]

Link to comment
Share on other sites

Hi to all,

 

I have a problem in my site with the admin login. It appears to make a refresh to the page after it put the mail and password. This started to hapenning after i added this code to htacess trought backoffice.

Can someone help me please?

 

RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.pertempus\.com$ [NC]
RewriteRule ^(.*)$ http://pertempus.com/$1 [R=301,L]

remove the code )

or remove/rename .htaccess file

then login to admin and auto generate new one

Edited by doubleD (see edit history)
Link to comment
Share on other sites

Thanks a lot for your help but it didn't solve the problem. I already tried several options i found on the forum, change the cookie.php, the login.php, until now nothing. I think its a redirect problem but im not sure...

If the problem started after adding the lines into htaccess file, it supposed to be solved by removing those lines...

What's you prestashop verstion?

Is it something similar to this PSCF or this PSCF?

Link to comment
Share on other sites

I thought so too, even tried to delete the cookies but nothing.

My Prestashop version is 1.4.8.2

I don't know if it helps, but before i deleted the code a error message appeared saying that there was an error of too many redirections.

The problem is similar, the difference is that i didn't make any upgrade or installation I have the site working for months, the error started with the code i inserted...

Link to comment
Share on other sites

I thought so too, even tried to delete the cookies but nothing.

My Prestashop version is 1.4.8.2

I don't know if it helps, but before i deleted the code a error message appeared saying that there was an error of too many redirections.

The problem is similar, the difference is that i didn't make any upgrade or installation I have the site working for months, the error started with the code i inserted...

I often see this issue on different forums, and a lot of solutions but none of them seems to work...

On the other hand i never had such problems with 1.4 all versions.

Try to turn off RewriteEngine ofI

I'm out of ideas )

Edited by doubleD (see edit history)
Link to comment
Share on other sites

  • 3 months later...
×
×
  • Create New...