Fmf122 Posté 6 Avril 2007 Posté 6 Avril 2007 Bonjour , J'ai un petit problème avec C-NEWS quand je génére le script d'insersion il m'affiche <?php$templates = '1';$path = 'http://www.XXXX.com/FSD/';$nombre_news = '10';$news_complete = 'http://www.XXXXX.com/FSD/news.php';$ordre = '';$categories = '';include($path . 'affichage/liste_news.php');?> Et quand je l'insère sur mon site Warning: main(data/config.inc.php) [function.main]: failed to open stream: No such file or directory in /home/simfr/public_html/FSD/affichage/liste_news.php on line 4Warning: main(data/config.inc.php) [function.main]: failed to open stream: No such file or directory in /home/simfr/public_html/FSD/affichage/liste_news.php on line 4Warning: main() [function.include]: Failed opening 'data/config.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/simfr/public_html/FSD/affichage/liste_news.php on line 4Warning: main(templates/templates.inc) [function.main]: failed to open stream: No such file or directory in /home/simfr/public_html/FSD/affichage/liste_news.php on line 5Warning: main(templates/templates.inc) [function.main]: failed to open stream: No such file or directory in /home/simfr/public_html/FSD/affichage/liste_news.php on line 5Warning: main() [function.include]: Failed opening 'templates/templates.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/simfr/public_html/FSD/affichage/liste_news.php on line 5Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'MYSQL_HOST_NAME' (1) in /home/simfr/public_html/FSD/affichage/liste_news.php on line 8Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/simfr/public_html/FSD/affichage/liste_news.php on line 9Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/simfr/public_html/FSD/affichage/liste_news.php on line 9Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/simfr/public_html/FSD/affichage/liste_news.php on line 11Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/simfr/public_html/FSD/affichage/liste_news.php on line 11Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/simfr/public_html/FSD/affichage/liste_news.php on line 12Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/simfr/public_html/FSD/affichage/liste_news.php on line 33Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/simfr/public_html/FSD/affichage/liste_news.php on line 33Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/simfr/public_html/FSD/affichage/liste_news.php on line 35 Quelqu'un peut m'aider sil vous plait !
loxi Posté 7 Avril 2007 Posté 7 Avril 2007 Probléme d'include, tu as bien uploadé tout tes fichiers dans la bonne arborescence?
nicobillou Posté 7 Avril 2007 Posté 7 Avril 2007 Dans include path essaye de mettre le chemin complet de listnews, (http://www.monsite.com.....)
Sujets conseillés
Veuillez vous connecter pour commenter
Vous pourrez laisser un commentaire après vous êtes connecté.
Connectez-vous maintenant