Issues

ZF2-32: ClassNotFoundException when running zf.sh from Zend Framework Version: 2.0.0dev1

Description

$ zf create project myproj

Zend\Loader\ClassNotFoundException: File "Zend/Tool/Project/Provider/Project.php" does not exist or class "Zend_Tool_Project_Provider_Project" was not found in the file in /home/malber/AppDev/O2M/development/iadmcommon/vendors/zendTechnologies/zendFramework2/current/library/Zend/Loader.php on line 106

Call Stack: 0.0015 778696 1. {main}() /home/malber/AppDev/O2M/development/iadmcommon/zendFramework2x/branches/currentBin/zf.php:0 0.0015 778696 2. ZF::main() /home/malber/AppDev/O2M/development/iadmcommon/zendFramework2x/branches/currentBin/zf.php:635 0.0041 1114016 3. ZF->run() /home/malber/AppDev/O2M/development/iadmcommon/zendFramework2x/branches/currentBin/zf.php:75 0.0041 1114016 4. ZF->_runTool() /home/malber/AppDev/O2M/development/iadmcommon/zendFramework2x/branches/currentBin/zf.php:118 0.0078 1437128 5. Zend\Tool\Framework\Client\AbstractClient->dispatch() /home/malber/AppDev/O2M/development/iadmcommon/zendFramework2x/branches/currentBin/zf.php:611 0.1182 6991280 6. Zend\Tool\Framework\Client\AbstractClient->_handleDispatch() /home/malber/AppDev/O2M/development/iadmcommon/vendors/zendTechnologies/zendFramework2/current/library/Zend/Tool/Framework/Client/AbstractClient.php:239 0.1184 6992016 7. Zend\Tool\Framework\Client\AbstractClient->_handleDispatchExecution() /home/malber/AppDev/O2M/development/iadmcommon/vendors/zendTechnologies/zendFramework2/current/library/Zend/Tool/Framework/Client/AbstractClient.php:312 0.1184 6992456 8. call_user_func_array() /home/malber/AppDev/O2M/development/iadmcommon/vendors/zendTechnologies/zendFramework2/current/library/Zend/Tool/Framework/Client/AbstractClient.php:318 0.1184 6992976 9. Zend\Tool\Project\Provider\Project->create() /home/malber/AppDev/O2M/development/iadmcommon/vendors/zendTechnologies/zendFramework2/current/library/Zend/Tool/Framework/Client/AbstractClient.php:0 0.1204 7176856 10. Zend\Tool\Project\Profile->loadFromData() /home/malber/AppDev/O2M/development/iadmcommon/vendors/zendTechnologies/zendFramework2/current/library/Zend/Tool/Project/Provider/Project.php:92 0.1214 7254192 11. Zend\Tool\Project\Profile\FileParser\Xml->unserialize() /home/malber/AppDev/O2M/development/iadmcommon/vendors/zendTechnologies/zendFramework2/current/library/Zend/Tool/Project/Profile.php:103 0.1262 7399864 12. Zend\Tool\Project\Profile\FileParser\Xml->_lazyLoadContexts() /home/malber/AppDev/O2M/development/iadmcommon/vendors/zendTechnologies/zendFramework2/current/library/Zend/Tool/Project/Profile/FileParser/Xml.php:139 0.1315 7457136 13. Zend\Tool\Project\Profile\Resource->initializeContext() /home/malber/AppDev/O2M/development/iadmcommon/vendors/zendTechnologies/zendFramework2/current/library/Zend/Tool/Project/Profile/FileParser/Xml.php:244 0.1315 7457904 14. Zend\Tool\Project\Context\Filesystem\File->init() /home/malber/AppDev/O2M/development/iadmcommon/vendors/zendTechnologies/zendFramework2/current/library/Zend/Tool/Project/Profile/Resource.php:224 0.1315 7457904 15. Zend\Tool\Project\Context\Filesystem\File->_initFileOnlyContext() /home/malber/AppDev/O2M/development/iadmcommon/vendors/zendTechnologies/zendFramework2/current/library/Zend/Tool/Project/Context/Filesystem/File.php:73 0.1316 7457952 16. is_callable() /home/malber/AppDev/O2M/development/iadmcommon/vendors/zendTechnologies/zendFramework2/current/library/Zend/Tool/Project/Context/Filesystem/File.php:167 0.1316 7458376 17. Zend\Loader\Autoloader::autoload() /home/malber/AppDev/O2M/development/iadmcommon/vendors/zendTechnologies/zendFramework2/current/library/Zend/Loader/Autoloader.php:0 0.1316 7458728 18. call_user_func() /home/malber/AppDev/O2M/development/iadmcommon/vendors/zendTechnologies/zendFramework2/current/library/Zend/Loader/Autoloader.php:144 0.1316 7458760 19. Zend\Loader\Autoloader->_autoload() /home/malber/AppDev/O2M/development/iadmcommon/vendors/zendTechnologies/zendFramework2/current/library/Zend/Loader/Autoloader.php:0 0.1317 7458808 20. call_user_func() /home/malber/AppDev/O2M/development/iadmcommon/vendors/zendTechnologies/zendFramework2/current/library/Zend/Loader/Autoloader.php:603 0.1317 7458840 21. Zend\Loader::loadClass() /home/malber/AppDev/O2M/development/iadmcommon/vendors/zendTechnologies/zendFramework2/current/library/Zend/Loader/Autoloader.php:0

Dump $_SERVER $_SERVER['REQUEST_METHOD'] is undefined $_SERVER['REQUEST_URI'] is undefined $_SERVER['HTTP_USER_AGENT'] is undefined Dump $_REQUEST

Variables in local scope (#21): $class = 'Zend_Tool_Project_Provider_Project' $className = 'Zend_Tool_Project_Provider_Project' $dir = uninitialized $dirPath = uninitialized $dirs = NULL $file = 'Zend/Tool/Project/Provider/Project.php' $key = uninitialized $lastNsPos = FALSE $namespace = '' Creating project at /home/malber/tmp/myproj Note: This command created a web project, for more information setting up your VHOST, please see docs/README

Comments

latest master cannot reproduce