tempomania Posted March 21, 2010 Share Posted March 21, 2010 Ciao,quando visualizzo la pagina di login al BO esce fuori un errore come da figura allegata.Non mi sembra abbia molto senso, qualcuno sa darmi una spiegazione?Grazie Link to comment Share on other sites More sharing options...
vinoalvino Posted March 21, 2010 Share Posted March 21, 2010 Prova a pulire la cache e i kokies del browser, era successo anche a me. Link to comment Share on other sites More sharing options...
tempomania Posted March 21, 2010 Author Share Posted March 21, 2010 ciao, ho provato ma non è successo niente, tutto come prima...(( Link to comment Share on other sites More sharing options...
vinoalvino Posted March 21, 2010 Share Posted March 21, 2010 Potresti riportare cosa trovi scritto nel file config/settings.inc.php alla prima riga di codice dove definisce __PS_BASE_URI__ Link to comment Share on other sites More sharing options...
tempomania Posted March 21, 2010 Author Share Posted March 21, 2010 ciao, ecco qui:define('__PS_BASE_URI__', '/');grazie! Link to comment Share on other sites More sharing options...
vinoalvino Posted March 21, 2010 Share Posted March 21, 2010 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 LAVORIIn 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 More sharing options...
tempomania Posted March 21, 2010 Author Share Posted March 21, 2010 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 More sharing options...
vinoalvino Posted March 21, 2010 Share Posted March 21, 2010 Scommetto che l'hosting americano è linux e quello che da problemi è IIS Windows Link to comment Share on other sites More sharing options...
tempomania Posted March 21, 2010 Author Share Posted March 21, 2010 ciao no, quello che da problemi è Linux su register.it....(( Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now