Bonjour,

Je travaille avec le Zend Framework et j'ai la structure de fichier suivante:

+ index.php
+ application
+ library
+ public

Dans mon index.php je set l'include_path:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
<?php
set_include_path('.' . PATH_SEPARATOR . './library'
     . PATH_SEPARATOR . './application/models'
     . PATH_SEPARATOR . './application/class'
     . PATH_SEPARATOR . get_include_path());
 
require_once 'Zend/Loader.php';
Et j'ai l'erreur suivante:

Warning: require_once(Zend/Loader.php) [function.require-once]: failed to open stream: No such file or directory in /home/zwahlen/domains/zwahlensa.ch/public_html/index.php on line 11

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Loader.php' (include_path='.:./library:./application/models:./application/class:.:/usr/local/lib/php') in /home/zwahlen/domains/zwahlensa.ch/public_html/index.php on line 11
J'arrive vraiment pas à comprendre pourquoi! Mes chemins spécifiés dans l'include_path sont corrects!

Merci d'avance.