Jump to content

Errore nella pagina di login al BO


tempomania

Recommended Posts

BINGO! in tutti i manuali d'installazione sconsigliano di installare prestashop in root. Devi fare una cartella tipo "prestashop" e installare li dentro.

NOTA PER GLI ADDETTI AI LAVORI
In realtà a me sembra un bug del file login.php:

$pathServer = ereg_replace('^/', '', $_SERVER['PHP_SELF']);
$pathUser = ereg_replace('^/', '', str_replace($_SERVER['DOCUMENT_ROOT'], '', $_SERVER['SCRIPT_FILENAME']));
if (strcmp($pathServer, $pathUser))
   $errors[] = Tools::displayError('Path is not the same between your browser and you server :').'

'.



In pratica se trova solo una / la sostituisce con nulla ....

Link to comment
Share on other sites

ciao,

ho un'altra installazione PS su un altro hosting in america con la stessa riga "define(’PS_BASE_URI‘, ‘/’);" nel config e non mi fa apparire alcun messaggio di errore, PS installato nella "publc_html" dell'hosting, che è definita come root se non erro.

Che mi dici?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...