Problème code erreur

Fermé
ushermag Messages postés 35 Date d'inscription dimanche 1 mai 2005 Statut Membre Dernière intervention 31 décembre 2009 - 29 déc. 2009 à 03:54
 le père - 31 déc. 2009 à 08:21
Bonjour,
voila jai ces erreurs si vous pouviez m'aider .

Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/home/magsite/public_html/smarty/libs/Smarty.class.php) is not within the allowed path(s): (/home/magsite/html/:/tmp/:/var/lib/php5/) in /home/magsite/html/include/config.php on line 53

Warning: require_once(/home/magsite/public_html/smarty/libs/Smarty.class.php) [function.require-once]: failed to open stream: Operation not permitted in /home/magsite/html/include/config.php on line 53

Fatal error: require_once() [function.require]: Failed opening required '/home/magsite/public_html/smarty/libs/Smarty.class.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/magsite/html/include/config.php on line 53

merci d'avance
A voir également:

5 réponses

Rodolphe_ Messages postés 1481 Date d'inscription samedi 7 mai 2005 Statut Membre Dernière intervention 20 décembre 2014 285
29 déc. 2009 à 10:47
Bonjour,
visiblement ton config php n'autorise pas l'accés en lecture au répertoire public_html.
0
ushermag Messages postés 35 Date d'inscription dimanche 1 mai 2005 Statut Membre Dernière intervention 31 décembre 2009 10
29 déc. 2009 à 15:28
Bonjour.
comment faire pour régler ce problème svp.

et voici la ligne 53

require_once($config[basedir].'/smarty/libs/Smarty.class.php');
0
ushermag Messages postés 35 Date d'inscription dimanche 1 mai 2005 Statut Membre Dernière intervention 31 décembre 2009 10
29 déc. 2009 à 20:29
RE svp personne ne peu m'aider ???
0
Bonjour

D'où vient ta valeur de $config[basedir] ?
Le répertoire /home/magsite/public_html existe-t-il vraiment ? Ne serait-ce pas plutôt /home/magsite/html ?
0
ushermag Messages postés 35 Date d'inscription dimanche 1 mai 2005 Statut Membre Dernière intervention 31 décembre 2009 10
30 déc. 2009 à 20:27
salut
wi c'est bien cela /home/magsite/html
et j'ai bien modifié tous les chemins je sais pas d'ou vient le probleme .
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
c'est bien cela /home/magsite/html
Alors pourquoi y a-t-il /home/magsite/public_html dans $config[basedir] ?
0