zf create controller "Context by name docsDirectory does not exist in the registry."

547 views
Skip to first unread message

Sebastian

unread,
Jan 31, 2011, 10:15:50 AM1/31/11
to Zend Framework Developers
Hi,
I'm trying to create a new controller named "message" with zf.
I'm using windows 7 ( :( ) and the zf show version said "Zend
Framework Version: 1.9.6" even though i downloaded the latest version
of Zend (1.11.2).

Now if I try to create a new controller:
zf create controller message

I get an error:

An Error Has Occurred
Context by name docsDirectory does not exist in the registry.

Zend Framework Command Line Console Tool v1.9.6
Details for action "Create" and provider "Controller"
Controller
zf create controller name index-action-included[=1] module

I didn't found anything about the "docsDirectory". Can someone help
me?

Thx Sebastian

purcaholic

unread,
Jan 31, 2011, 10:31:17 AM1/31/11
to Zend Framework Developers
Hi Sebastian,

maybe there is another version of Zend Framework available somewhere
on your hard disk, check out the paths defined in your PHP's
include_path setting, e. g. a Version in PEAR installation directory.

Regards
purcaholic

Randell

unread,
Jan 31, 2011, 10:59:46 AM1/31/11
to zfdeve...@googlegroups.com
If you are using XAMPP, it could possibly be the culprit. XAMPP usually comes with its bundled Zend Framework. I usually delete that particular Zend directory so I can use the latest one.

--
Randell
--
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.


Reply all
Reply to author
Forward
0 new messages