Bonsoir à tous,
Je rencontre actuellement quelques problèmes quant à l'installation et configuration de " Zend Framework".
Ce que j'ai réussi :
1/ J'ai télécharger Zend Framework sur leur site officiel.
2/ Mis ce dossier dans c
wamp/www/ZendFramework-1.12.0
3/ Modifier les variables d'environnements en ajoutant dans le " path " => C:\wamp\www\ZendFramework-1.12.0\bin
Ce que je n'arrive pas à résoudre :
Au lancement sous CMD, de la commande : " zf " , une erreur s'affiche :
-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
PHP Warning: include_once(NetBeansCommandsProvider.php): failed to open stream:
No such file or directory in C:\wamp\www\ZendFramework-1.12.0\library\Zend\Load
er.php on line 134
PHP Stack trace:
PHP 1. {main}() C:\wamp\www\ZendFramework-1.12.0\bin\zf.php:0
PHP 2. ZF::main() C:\wamp\www\ZendFramework-1.12.0\bin\zf.php:623
PHP 3. ZF->run() C:\wamp\www\ZendFramework-1.12.0\bin\zf.php:74
PHP 4. ZF->_runTool() C:\wamp\www\ZendFramework-1.12.0\bin\zf.php:117
PHP 5. Zend_Tool_Framework_Client_Abstract->dispatch() C:\wamp\www\ZendFramewo
rk-1.12.0\bin\zf.php:600
PHP 6. Zend_Tool_Framework_Client_Abstract->initialize() C:\wamp\www\ZendFrame
work-1.12.0\library\Zend\Tool\Framework\Client\Abstract.php:223
PHP 7. Zend_Tool_Framework_Loader_BasicLoader->load() C:\wamp\www\ZendFramewor
k-1.12.0\library\Zend\Tool\Framework\Client\Abstract.php:122
PHP 8. Zend_Loader::loadClass() C:\wamp\www\ZendFramework-1.12.0\library\Zend\
Tool\Framework\Loader\BasicLoader.php:110
PHP 9. Zend_Loader::loadFile() C:\wamp\www\ZendFramework-1.12.0\library\Zend\L
oader.php:82
Warning: include_once(NetBeansCommandsProvider.php): failed to open stream: No s
uch file or directory in C:\wamp\www\ZendFramework-1.12.0\library\Zend\Loader.ph
p on line 134
Call Stack:
0.0013 454568 1. {main}() C:\wamp\www\ZendFramework-1.12.0\bin\zf.php:
0
0.0013 454568 2. ZF::main() C:\wamp\www\ZendFramework-1.12.0\bin\zf.ph
p:623
0.0075 804264 3. ZF->run() C:\wamp\www\ZendFramework-1.12.0\bin\zf.php
:74
0.0075 804264 4. ZF->_runTool() C:\wamp\www\ZendFramework-1.12.0\bin\z
f.php:117
0.0092 893704 5. Zend_Tool_Framework_Client_Abstract->dispatch() C:\wa
mp\www\ZendFramework-1.12.0\bin\zf.php:600
0.0092 893704 6. Zend_Tool_Framework_Client_Abstract->initialize() C:\
wamp\www\ZendFramework-1.12.0\library\Zend\Tool\Framework\Client\Abstract.php:22
3
0.0264 2033568 7. Zend_Tool_Framework_Loader_BasicLoader->load() C:\wam
p\www\ZendFramework-1.12.0\library\Zend\Tool\Framework\Client\Abstract.php:122
0.0521 3292104 8. Zend_Loader::loadClass() C:\wamp\www\ZendFramework-1.
12.0\library\Zend\Tool\Framework\Loader\BasicLoader.php:110
0.0522 3292272 9. Zend_Loader::loadFile() C:\wamp\www\ZendFramework-1.1
2.0\library\Zend\Loader.php:82
PHP Warning: include_once(): Failed opening 'NetBeansCommandsProvider.php' for
inclusion (include_path='C:\wamp\www\ZendFramework-1.12.0\library') in C:\wamp\w
ww\ZendFramework-1.12.0\library\Zend\Loader.php on line 134
PHP Stack trace:
PHP 1. {main}() C:\wamp\www\ZendFramework-1.12.0\bin\zf.php:0
PHP 2. ZF::main() C:\wamp\www\ZendFramework-1.12.0\bin\zf.php:623
PHP 3. ZF->run() C:\wamp\www\ZendFramework-1.12.0\bin\zf.php:74
PHP 4. ZF->_runTool() C:\wamp\www\ZendFramework-1.12.0\bin\zf.php:117
PHP 5. Zend_Tool_Framework_Client_Abstract->dispatch() C:\wamp\www\ZendFramewo
rk-1.12.0\bin\zf.php:600
PHP 6. Zend_Tool_Framework_Client_Abstract->initialize() C:\wamp\www\ZendFrame
work-1.12.0\library\Zend\Tool\Framework\Client\Abstract.php:223
PHP 7. Zend_Tool_Framework_Loader_BasicLoader->load() C:\wamp\www\ZendFramewor
k-1.12.0\library\Zend\Tool\Framework\Client\Abstract.php:122
PHP 8. Zend_Loader::loadClass() C:\wamp\www\ZendFramework-1.12.0\library\Zend\
Tool\Framework\Loader\BasicLoader.php:110
PHP 9. Zend_Loader::loadFile() C:\wamp\www\ZendFramework-1.12.0\library\Zend\L
oader.php:82
Warning: include_once(): Failed opening 'NetBeansCommandsProvider.php' for inclu
sion (include_path='C:\wamp\www\ZendFramework-1.12.0\library') in C:\wamp\www\Ze
ndFramework-1.12.0\library\Zend\Loader.php on line 134
Call Stack:
0.0013 454568 1. {main}() C:\wamp\www\ZendFramework-1.12.0\bin\zf.php:
0
0.0013 454568 2. ZF::main() C:\wamp\www\ZendFramework-1.12.0\bin\zf.ph
p:623
0.0075 804264 3. ZF->run() C:\wamp\www\ZendFramework-1.12.0\bin\zf.php
:74
0.0075 804264 4. ZF->_runTool() C:\wamp\www\ZendFramework-1.12.0\bin\z
f.php:117
0.0092 893704 5. Zend_Tool_Framework_Client_Abstract->dispatch() C:\wa
mp\www\ZendFramework-1.12.0\bin\zf.php:600
0.0092 893704 6. Zend_Tool_Framework_Client_Abstract->initialize() C:\
wamp\www\ZendFramework-1.12.0\library\Zend\Tool\Framework\Client\Abstract.php:22
3
0.0264 2033568 7. Zend_Tool_Framework_Loader_BasicLoader->load() C:\wam
p\www\ZendFramework-1.12.0\library\Zend\Tool\Framework\Client\Abstract.php:122
0.0521 3292104 8. Zend_Loader::loadClass() C:\wamp\www\ZendFramework-1.
12.0\library\Zend\Tool\Framework\Loader\BasicLoader.php:110
0.0522 3292272 9. Zend_Loader::loadFile() C:\wamp\www\ZendFramework-1.1
2.0\library\Zend\Loader.php:82
PHP Fatal error: Uncaught exception 'Zend_Exception' with message 'File "NetBea
nsCommandsProvider.php" does not exist or class "NetBeansCommandsProvider" was n
ot found in the file' in C:\wamp\www\ZendFramework-1.12.0\library\Zend\Loader.ph
p:87
Stack trace:
#0 C:\wamp\www\ZendFramework-1.12.0\library\Zend\Tool\Framework\Loader\BasicLoad
er.php(110): Zend_Loader::loadClass('NetBeansCommand...')
#1 C:\wamp\www\ZendFramework-1.12.0\library\Zend\Tool\Framework\Client\Abstract.
php(122): Zend_Tool_Framework_Loader_BasicLoader->load()
#2 C:\wamp\www\ZendFramework-1.12.0\library\Zend\Tool\Framework\Client\Abstract.
php(223): Zend_Tool_Framework_Client_Abstract->initialize()
#3 C:\wamp\www\ZendFramework-1.12.0\bin\zf.php(600): Zend_Tool_Framework_Client_
Abstract->dispatch()
#4 C:\wamp\www\ZendFramework-1.12.0\bin\zf.php(117): ZF->_runTool()
#5 C:\wamp\www\ZendFramework-1.12.0\bin\zf.php(74): ZF->run()
#6 C:\wamp\www\ZendFramework-1.12.0\bin\zf.php(623): ZF::main()
#7 {main}
thrown in C:\wamp\www\ZendFramework-1.12.0\library\Zend\Loader.php on line 87
Fatal error: Uncaught exception 'Zend_Exception' with message 'File "NetBeansCom
mandsProvider.php" does not exist or class "NetBeansCommandsProvider" was not fo
und in the file' in C:\wamp\www\ZendFramework-1.12.0\library\Zend\Loader.php on
line 87
Zend_Exception: File "NetBeansCommandsProvider.php" does not exist or class "Net
BeansCommandsProvider" was not found in the file in C:\wamp\www\ZendFramework-1.
12.0\library\Zend\Loader.php on line 87
Call Stack:
0.0013 454568 1. {main}() C:\wamp\www\ZendFramework-1.12.0\bin\zf.php:
0
0.0013 454568 2. ZF::main() C:\wamp\www\ZendFramework-1.12.0\bin\zf.ph
p:623
0.0075 804264 3. ZF->run() C:\wamp\www\ZendFramework-1.12.0\bin\zf.php
:74
0.0075 804264 4. ZF->_runTool() C:\wamp\www\ZendFramework-1.12.0\bin\z
f.php:117
0.0092 893704 5. Zend_Tool_Framework_Client_Abstract->dispatch() C:\wa
mp\www\ZendFramework-1.12.0\bin\zf.php:600
0.0092 893704 6. Zend_Tool_Framework_Client_Abstract->initialize() C:\
wamp\www\ZendFramework-1.12.0\library\Zend\Tool\Framework\Client\Abstract.php:22
3
0.0264 2033568 7. Zend_Tool_Framework_Loader_BasicLoader->load() C:\wam
p\www\ZendFramework-1.12.0\library\Zend\Tool\Framework\Client\Abstract.php:122
0.0521 3292104 8. Zend_Loader::loadClass() C:\wamp\www\ZendFramework-1.
12.0\library\Zend\Tool\Framework\Loader\BasicLoader.php:110
-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-
J'ai regardé sur un forum qu’apparemment il y aurai un bug au niveau du " .zf.ini ", mais quand je modifie ce fichier notamment le " includepath" en " include_path ", cela n'a rien changé.
Etant donné que je suis en BTS deuxième année ma curiosité est présente mais cela fait trois jours que je suis dessus =s.
Quelqu'un peut-il m'aider s'il vous plait ?
Merci d'avance d'avoir lu mon topic.