Problem solved. Details on my blog:
http://tomaszmazur.eu/artykul/44-CakePHP-IdeaCache-Internal-Server-Error-500

For non-polish readers, the reason for this in my case is something
called IdeaCache. To solve this problem i had to hack the core,
replacing a few lines in /cake/libs/cake_log.php

from

if (!defined('DISABLE_DEFAULT_ERROR_HANDLING')) {
    set_error_handler(array('CakeLog', 'handleError'));
}

to

if (!defined('DISABLE_DEFAULT_ERROR_HANDLING')) {
    $cakeLog =& CakeLog::getInstance();
    set_error_handler(array(&$cakeLog, 'handleError'));
}

Tickets for this have already been filed.
http://cakephp.lighthouseapp.com/projects/42648/tickets/923

On 30 Sie, 13:14, Tomek Mazur <tmazu...@gmail.com> wrote:
> Hello,
>
> I have this problem after moving my app to the production server. If I
> have debug = 1 or debug = 2 everything works ok. If I switch debug to
> 0 I get an Internal Error 500. I should add that everything works fine
> on localhost, no matter what the debug is. Maybe someone can point me
> in the direction i should be looking? I read about changing
> RewriteBase in .htaccess but that doesnt seem to work.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to