Blocked on first install of Zend Framework.

6 views
Skip to first unread message

Patrick McCanna

unread,
Oct 3, 2010, 10:52:06 AM10/3/10
to zfdeve...@googlegroups.com
I am just getting the zend framework installed on a ASPLinux-based LAMP image, but when I try to run the zf show version command, I get errors.

In terms of setup, I've coped the framework to my www directory and set my path properly so that zf.sh works from anywhere on the file system.

When I run the zf show version command, I get an error telling me that either the AbstractClassFile.php file does not exist or the class "Zend_Tool_Project_Context_Zf_._AbstractClassFile" was not found in the Loader.php file.

I have confirmed that the AbstractClassFile.php file does exist. I've looked at the Loader.php file and it looks like this behavior does crop up when a class fails to load properly.  I'm not seeing any references to the class that's being called as missing here in the Loader file, so my hamfisted troubleshooting wants to point this out as a bug.  But if I'm the only one getting it, it's probably User Error, yes?

I'm using the minimal library and version 1.10.8

The exact output of the zf show version command is below. Any thoughts? I am thoroughly blocked here. :(



Zend_Exception: File "Zend/Tool/Project/Context/Zf/./AbstractClassFile.php" does not exist or class "Zend_Tool_Project_Context_Zf_._AbstractClassFile" was not found in the file in /data/www/ZendFramework-1.10.8-minimal/library/Zend/Loader.php on line 99

Call Stack:
0.0020 1. {main}() /data/www/ZendFramework-1.10.8-minimal/bin/zf.php:0
0.0020 2. ZF::main() /data/www/ZendFramework-1.10.8-minimal/bin/zf.php:632
0.0070 3. ZF->run() /data/www/ZendFramework-1.10.8-minimal/bin/zf.php:74
0.0070 4. ZF->_runTool() /data/www/ZendFramework-1.10.8-minimal/bin/zf.php:117
0.0088 5. Zend_Tool_Framework_Client_Abstract->dispatch() /data/www/ZendFramework-1.10.8-minimal/bin/zf.php:608
0.0088 6. Zend_Tool_Framework_Client_Abstract->initialize() /data/www/ZendFramework-1.10.8-minimal/library/Zend/Tool/Framework/Client/Abstract.php:223
0.0223 7. Zend_Tool_Framework_Loader_BasicLoader->load() /data/www/ZendFramework-1.10.8-minimal/library/Zend/Tool/Framework/Client/Abstract.php:122
0.0286 8. Zend_Tool_Framework_Manifest_Repository->addManifest() /data/www/ZendFramework-1.10.8-minimal/library/Zend/Tool/Framework/Loader/BasicLoader.php:116
0.0336 9. Zend_Tool_Project_Provider_Abstract->__construct() /data/www/ZendFramework-1.10.8-minimal/library/Zend/Tool/Framework/Manifest/Repository.php:101
0.0360 10. Zend_Tool_Project_Context_Repository->addContextsFromDirectory() /data/www/ZendFramework-1.10.8-minimal/library/Zend/Tool/Project/Provider/Abstract.php:85
0.0366 11. Zend_Tool_Project_Context_Repository->addContextClass() /data/www/ZendFramework-1.10.8-minimal/library/Zend/Tool/Project/Context/Repository.php:79
0.0372 12. Zend_Loader::loadClass() /data/www/ZendFramework-1.10.8-minimal/library/Zend/Tool/Project/Context/Repository.php:88

Randell

unread,
Oct 3, 2010, 9:34:36 PM10/3/10
to zfdeve...@googlegroups.com
It seems like you've found the solution already: http://forums.zend.com/viewtopic.php?f=69&p=27020. I'm posting it here for the benefit of everybody else.

--
You received this message because you are subscribed to the Google Groups "Zend Framework Developers" group.
To post to this group, send email to zfdeve...@googlegroups.com.
To unsubscribe from this group, send email to zfdevelopers...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/zfdevelopers?hl=en.

Cheers,
--
Randell
Reply all
Reply to author
Forward
0 new messages