« Return to Thread: How get Zend_Controller_Dispatcher_Token from index.php

Re: How get Zend_Controller_Dispatcher_Token from index.php

by Mauro Casula :: Rate this Message:

Reply to Author | View in Thread

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

I dont know what is wrong..

I have to change work? :)

I have not wrong with the paths.. i'm shure of that...

Anyone know why i have this error?

Thank you very much!

Mauro.


Matthew Weier O wrote:
-- Mauro Casula <maurocasula@gmail.com> wrote
(on Monday, 13 November 2006, 10:46 AM -0800):
> I have in C:\Programmi\php\ext\incubator
> Zend.php of incubator and all the library of incubator and in
> C:\Programmi\php\ext\core
> Zend.php of core and all the library of core.
>
> The application run without problems if i put:
>
> ".;C:\Programmi\php\ext;C:\Programmi\php\ext\core;C:\Programmi\php\ext\incubator"

Let's say that you have unzipped the 0.2.0 release (or checked out
current svn) to "C:\Programmi\php\zend_framework". Assuming you don't
need any other libraries in your path (such as PEAR), your path would
look like this:

    .;C:\Programmi\php\zend_framework\incubator\library;C:\Programmi\php\zend_framework\library

This gives precedence to the incubator classes. Note that, in both the
incubator and core cases, the final segment of the path is 'library' --
this is where the actual classes are located.

--
Matthew Weier O'Phinney
PHP Developer            | matthew@zend.com
Zend - The PHP Company   | http://www.zend.com/

 « Return to Thread: How get Zend_Controller_Dispatcher_Token from index.php