Mauro,
I think you need to be including the /library/ directory of both the
incubator and the core, not just the entire Zend directory or Zend.php.
So, for example, if you have the zend framework release in the directory
C:\Programmi\zf-release-0.2.0, then you want to include in PHP
C:\Programmi\zf-release-0.2.0\library. Always include the /library/
directory.
I hope this helps!
Mauro Casula wrote:
> I have put in my php.ini:
>
> include_path =
> ".;C:\Programmi\php\ext;C:\Programmi\php\ext\incubator;C:\Programmi\php\ext\core"
>
> inside incubator there in Zend.php of the incubator
> inside core Zend.php of core.
>
> I think there is something that i dont know because when i restart Apache
> and start the application
> i get the error that its impossible to found Zend_registry...
>
> ... what i have to do?
>
> Regards.
>
> Mauro Casula.
>
>
> Matthew Weier O wrote:
>
>> -- Mauro Casula <
maurocasula@...> wrote
>> (on Monday, 13 November 2006, 08:06 AM -0800):
>>
>>> I have undestand the mechanism you suggest and i'm trying to implement
>>> that..
>>>
>>> But I have a question.
>>> I have to write myself this method you have suggest ?
>>>
>>>
>>>> $this->getRequest();
>>>>
>>> Extending the abstract class of Plugin i dont have this method..
>>>
>> Again, you need to use the MVC components in the incubator; make sure
>> that the incubator/library/ path is before the library/ path when you
>> set the include_path. Zend_Controller_Plugin_Abstract::getRequest()
>> exists in the incubator version.
>>
>> --
>> Matthew Weier O'Phinney
>> PHP Developer |
matthew@...
>> Zend - The PHP Company |
http://www.zend.com/>>
>>
>>
>
>