-- Mon Zafra <[email protected]> wrote (on Friday, 24 April 2009, 05:41 PM +0800): > I modified zf.php and added a simple autoloader > > function __autoload($class) > { > include str_replace('_', DIRECTORY_SEPARATOR, $class) . '.php'; > } > > It got rid of the error below. > > There's a problem though if you're using Zend Server like me. It seems that > its > PHP binary is compiled without tokenizer support, so the token_get_all() call > in Zend_Reflection_File fails.
You can turn this on via the Zend Server GUI. That said, we should probably add a check for it. > 2009/4/24 Rob Allen <[email protected]> > > > On 24 Apr 2009, at 09:33, Elvin iriyev wrote: > > > Hi, > is there any useful documentation about zf command? > > $ alias zf=/home/../ZendFramework-1.8.0b1/bin/zf.sh > $ zf show version > Zend Framework Version: 1.8.0beta > $ export ZF_PATH=/home/../ZendFramework-1.8.0b1/library/ > $ zf create project zfnew > > Fatal error: Class 'Zend_Controller_Action' not found in > /home/../zfnew > /application/controllers/IndexController.php on line 3 > > > > Hi Elvin, > > Ralph is working on it ;) > > Regards, > > Rob... > > > > > -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/
