|
Publicité ' | |||||||||||||||||||||||
|
|
#1 |
|
Membre à l'essai
![]() Inscription : janvier 2007 Messages : 34 ![]() |
Bonjour,
J'essaye de faire tourner sur un MAC un petit tutorial MVC qui marche sans probleme sur mon PC. (tutorial du site http://www.akrabat.com/wp-content/up...mework_122.pdf avec le code de l'exemple a telecharger sur http://www.akrabat.com/wp-content/up...torial_120.zip) J'ai une erreur (voir ci-apres) il ne trouve pas le fichier Album.php qui est pourtant bien present .. Quelqu'un aurait -il une piste ? Eric Fatal error: Uncaught exception 'Zend_Exception' with message 'File "Album.php" was not found.' in /Applications/MAMP/htdocs/zf-tutorial/library/Zend.php:151 Stack trace: #0 /Applications/MAMP/htdocs/zf-tutorial/library/Zend.php(81): Zend::loadFile('Album.php', NULL, true) #1 /Applications/MAMP/htdocs/zf-tutorial/application/controllers/IndexController.php(10): Zend::loadClass('Album') #2 /Applications/MAMP/htdocs/zf-tutorial/library/Zend/Controller/Action.php(97): IndexController->init() #3 /Applications/MAMP/htdocs/zf-tutorial/library/Zend/Controller/Dispatcher.php(411): Zend_Controller_Action->__construct(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http), Array) #4 /Applications/MAMP/htdocs/zf-tutorial/library/Zend/Controller/Front.php(725): Zend_Controller_Dispatcher->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #5 /Applications/MAMP/htdocs/zf-tutorial/index.php(43): Zend_Controller_Front->dispatch() #6 {main} thrown in /Applications/MAMP/htdocs/zf-tutorial/library/Zend.php on line 151 |
|
|
00
|
|
|
#2 |
![]() ![]() Julien PauliArchitecte de système d'information Inscription : mai 2006 Messages : 597 ![]() |
Je ne vois pas, je peux juste conseiller de faire attention à la casse des fichiers et des extensions
|
|
00
|
|
|
#3 |
|
Candidat au titre de Membre du Club
![]() Inscription : février 2003 Messages : 18 ![]() |
Verifi ton set_include_path qui doit pas être bien parametré.
|
|
|
00
|
|
|
#4 |
|
Membre à l'essai
![]() Inscription : janvier 2007 Messages : 34 ![]() |
J'ai trouve le probleme :
WINDOWS set_include_path('.' . PATH_SEPARATOR . './library'. PATH_SEPARATOR . './models' MAC set_include_path('.' . PATH_SEPARATOR . './library'. PATH_SEPARATOR . './models/' |
|
|
00
|
Copyright © 2000-2012 - www.developpez.com