On 9/26/07, carstep <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I had to move my php system back to php4 and apache1.3 and realized
> that the requestAction() method produces failing behavior in cahing
> controllers and models.
>
> I got the following error:
>
> Fatal error: Cannot redeclare the importcontroller class...
>
> It takes me a half an hour to figure out what was the problem:
> - first in the tmp/cache/privileges/class.paths.php file contained the
> $config['Controllers']['ImportController'] = array(...
> entries doubled
>
> - after a while commenting out lines I figured out, that when I use
> the requestAction() method for an action within the importcontroller
> themselves, I get this error message.
>
> I hope there is a solution to overcome this in any way and has
> somebody a solution for it?
> Seems to be a bug but I am not sure
>

Try deleting the contents of tmp/cache and see if the same error
exists.  In my opinion, you should always do development work with
debug set to at least 1, thus preventing the weird caching issues that
seem to pop up from time to time.

-- 
Chris Hartjes
Senior Developer
Cake Development Corporation
http://www.cakedevelopment.com

My motto for 2007:  "Just build it, damnit!"

@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to