Adding
require_once 'Zend/Registry.php';
this error disappear.. but i have this:
Fatal error: Call to undefined method Zend_Controller_Front::getinstance()
in C:\Progetti\Kettler\SITE\kettler\www\index.php on line 68
So i have sobstitute in my index.php:
$controller = Zend_Controller_Front::getInstance();
with:
$controller = new Zend_Controller_Front();
but in this case i get this error:
Fatal error: Call to undefined method ReflectionClass::newInstanceArgs() in
C:\Programmi\php\Zend\incubator\library\Zend\Controller\Dispatcher.php on
line 391
I think that i'm too much dependent on Core classes...
Anyone know what can be the problem?
Regards.
Mauro Casula.
Matthew Weier O wrote:
>
> -- Mauro Casula <[EMAIL PROTECTED]> wrote
> (on Monday, 13 November 2006, 11:40 AM -0800):
>> I have followed your suggestions but i get this error:
>>
>> Fatal error: Class 'Zend_Registry' not found in
>> C:\Programmi\php\Zend\incubator\library\Zend.php on line 284
>
> There was an include that was missing in the incubator Zend.php shipped
> with
> 0.2.0. Add this line into incubator/library/Zend.php:
>
> require_once 'Zend/Registry.php';
>
> somewhere near the top of the file, and you should be okay.
>
>
> --
> Matthew Weier O'Phinney
> PHP Developer | [EMAIL PROTECTED]
> Zend - The PHP Company | http://www.zend.com/
>
>
--
View this message in context:
http://www.nabble.com/How-get-Zend_Controller_Dispatcher_Token-from-index.php-tf2621448s16154.html#a7335498
Sent from the Zend Framework mailing list archive at Nabble.com.