Jump to content
fapyfapo

[Résolu] message erreur Warning: tempnam()

Recommended Posts

Bonjour,

 

 

je rencontre le message d'erreur suivant :

 

Warning: tempnam(): open_basedir restriction in effect. File(/var/www/clients/client6/web8/webcache) is not within the allowed path(s): (/var/www/clients/client6/web8/web:/var/www/clients/client6/web8/private:/var/www/clients/client6/web8/tmp:/var/www/solarboutik.com/web:/srv/www/solarboutik.com/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client6/web8/web/classes/PrestaShopAutoload.php on line 151

 

Apparemment il manque dans (webcache) un / ce qui donnerait web/cache.

 

Quelqu'un aurait il la solution pour corriger ce probleme?

 

Merci d'avance....

Edited by fapyfapo (see edit history)

Share this post


Link to post
Share on other sites

j'ai trouvé.

 

dans /web/classes/PrestaShopAutoload.php

 

ligne 35

 

const INDEX_FILE = 'cache/class_index.php';

 

devient

 

const INDEX_FILE = '/cache/class_index.php';

 

 

Fapyfapo

  • Like 2

Share this post


Link to post
Share on other sites

En effet l'erreur n'est plus.

 

Cela impact autre chose à ton avis ?

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More