Bonjour à tous,
Lorsque je souhaite uploader une image, j'ai ceci:
Warning: mkdir(): open_basedir restriction in effect. File(/components/com_nbchat/upload/David/) is not within the allowed path(s): (/home/httpd/vhosts/amienschat.com/httpdocs:/tmp) in /home/httpd/vhosts/amienschat.com/httpdocs/components/com_nbchat/fonctions/fonctions.php on line 778
Warning: chmod(): open_basedir restriction in effect. File(/components/com_nbchat/upload/David/) is not within the allowed path(s): (/home/httpd/vhosts/amienschat.com/httpdocs:/tmp) in /home/httpd/vhosts/amienschat.com/httpdocs/components/com_nbchat/fonctions/fonctions.php on line 779
Warning: move_uploaded_file(): open_basedir restriction in effect. File(/components/com_nbchat/upload/David/Hiver.jpg) is not within the allowed path(s): (/home/httpd/vhosts/amienschat.com/httpdocs:/tmp) in /home/httpd/vhosts/amienschat.com/httpdocs/components/com_nbchat/fonctions/fonctions.php on line 801
Warning: chmod(): open_basedir restriction in effect. File(/components/com_nbchat/upload/David/Hiver.jpg) is not within the allowed path(s): (/home/httpd/vhosts/amienschat.com/httpdocs:/tmp) in /home/httpd/vhosts/amienschat.com/httpdocs/components/com_nbchat/fonctions/fonctions.php on line 805
Warning: getimagesize(): open_basedir restriction in effect. File(/components/com_nbchat/upload/David/Hiver.jpg) is not within the allowed path(s): (/home/httpd/vhosts/amienschat.com/httpdocs:/tmp) in /home/httpd/vhosts/amienschat.com/httpdocs/components/com_nbchat/fonctions/fonctions.php on line 633
Warning: getimagesize(/components/com_nbchat/upload/David/Hiver.jpg): failed to open stream: Operation not permitted in /home/httpd/vhosts/amienschat.com/httpdocs/components/com_nbchat/fonctions/fonctions.php on line 633
Donc ma question est: que faut-il faire lorsque on a un truc comme open_basedir restriction in effect? Je suppose que ça doit etre un truc tout bete mais je bloque. J'ai essayé en faisant un chmod 777 de mon dossier upload, mais le resultat est le meme...
Merci d'avance,
David