You are not logged in.
Hi,
I work on a MacBook with Snow Leopard.
I setup Zend_Tool CLI like in the ZF Manual.
zf show version gives me the right version.
I made a subdir in my home dir to house all my projects, but when I do zf create project "name" I get the error
"Context by name providersDirectory does not exist in the registry".
When I run it from the home dir, there is no problem.
Anyone knows what's going on?
Offline
I'm afraid I'm no MacBook user (yet), but a quick google search provided the following info:
Make a Symlink to your zf.sh in dir /opt/local/bin
cd /opt/local/bin
ln -s /path/to/your/zf.sh zf.shTo even simplify this you could just link to "zf" - then you don't need to write zf.sh create project ... but only zf create project ...
Hope this helps,
Info from: http://raphaelstolt.blogspot.com/2009/0 … -os-x.html
Best regards,
Samuel
Offline
I already tried that.
Same error.
Offline
Did you ever make a config ?
just try
zf create configjust a guess ![]()
Offline
Of course i did ![]()
Now the strange thing is, I logged into my wife's account today, opened a terminal and sure enough: zf create project test just worked!
So there is something that b0rked zf under my user's account.
Now just gotta find out what messed it up.
Offline