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.

   -- Mon


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

Reply via email to