midimarcus Posted August 12, 2014 Share Posted August 12, 2014 Durante un'installazione su di PS 1.6.0.9 (Nginx + ISPConfig) il log del server web mi dava continuamente l'errore seguente: PHP message: PHP Warning: tempnam(): open_basedir restriction in effect. File(/var/www/clients/client1/web44/webcache) is not within the allowed path(s) L'errore era corretto perché la root path del sito sarebbe, nell'esempio /var/www/clients/client1/web44/web/ e quindi la webcache dovrebbe essere in /var/www/clients/client1/web44/web/webcache Dal forum francese ho visto la soluzione e la riposto in italiano. Aprire il file classes/PrestaShopAutoload.php alla linea 35 e modificare const INDEX_FILE = 'cache/class_index.php'; in const INDEX_FILE = '/cache/class_index.php'; aggiungendo lo / prima del percorso l'errore è risolto. 2 Link to comment Share on other sites More sharing options...
Zorzy Posted September 14, 2014 Share Posted September 14, 2014 thanks, it works.... Link to comment Share on other sites More sharing options...
daino Posted October 27, 2014 Share Posted October 27, 2014 grazie molte, funziona egregiamente Link to comment Share on other sites More sharing options...
LautaroMed Posted December 30, 2014 Share Posted December 30, 2014 Just in case someone has a similar issue, but can't work it out this way: I had to edit classes/PrestashopAutoload.php line 35. 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