Ho dei problemi con il login di prestashop, nel senso che si sconnette in continuazione e mi costringe e rimettere la password.
Dopo un po' di investigazioni ho trovato questo post:
When trying to log into my PrestaShop backoffice, the page was reloading / refreshing without any errors!
After much investigations (3hours non stop!) I found out this solution:
In the file “login.php” under your backoffice’s folder,
on line 55, you have:
$cookie = new Cookie('psAdmin', substr($_SERVER['PHP_SELF'], strlen(__PS_BASE_URI__), -10));
1
$cookie = new Cookie('psAdmin', substr($_SERVER['PHP_SELF'], strlen(__PS_BASE_URI__), -10));
where the “-10″ value corresponds to the number of letters of “prestashop”, set it to the number of letters of your store’s subdirectory name and your will be back to the business again.
For exemple:
if your store is located at:
http://www.yourdomain.com/store/
the word “store” contains 5 letters, so the line 55 in login.php should become:
$cookie = new Cookie('psAdmin', substr($_SERVER['PHP_SELF'], strlen(__PS_BASE_URI__), -5));
1
$cookie = new Cookie('psAdmin', substr($_SERVER['PHP_SELF'], strlen(__PS_BASE_URI__), -5));
Adesso...il mio indirizzo di prestashop è:
http://www.laugher.it/wp-content/the...en/prestashop/
Le devo considerare tutte le lettere? Quindi...wp-content (10)+themes(6)+twentyeleven(12) = 28?