Consultez la FAQ sur le ZF avant de poster une question
Vous n'êtes pas identifié.
Bonjour,
Je viens d'installer le Zend framework sur un serveur Debian lenny.
J'ai ensuite suivi le tutorial ici pour apprendre un peu comment fonctionne ledit framewrok.
Lorsque je me connecte sur la page censée fonctionner, je recois le message suivant.
Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (index)' in /usr/share/php/Zend/Controller/Dispatcher/Standard.php:242 Stack trace: #0 /usr/share/php/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #1 /home/vincent/web/WebInterface/index.php(39): Zend_Controller_Front->dispatch() #2 {main} thrown in /usr/share/php/Zend/Controller/Dispatcher/Standard.php on line 242
Auriez-vous une idée d'ou pourrait provenir le problème?
Merci par avance.
Hors ligne
Le framework ne trouve pas ton fichier IndexController.php (avec un grand "I" et un grand "C").
Il nous manque des infos si tu veux qu'on t'aide plus (des extraits du boostrap, l'arborescence de tes répertoires,...)
A+, Philippe
Hors ligne
Merci pour ta réponse
le fichier /application/Bootstrap.php est vide.
L'arborescence (crée grace a la commande zf) est :
nbproject ³ private old ³ nbproject ³ ³ private ³ scripts ³ templates ³ images ³ classes application ³ views ³ ³ scripts ³ ³ ³ index ³ ³ ³ error ³ ³ helpers ³ configs ³ models ³ controllers library tests ³ application ³ library public
Hors ligne
Problème résolu.
Ma solution :
activation du mod_rewrite pour apache.
creation du .htaccess.
Merci pour ton aide quand meme
Hors ligne