On my production server I have:
In core.php in Cakephp:
Configure::write('debug', 0);
In PHP.ini:
error_reporting = E_ALL
display_errors = Off
log_errors = On
error_log = "\phperror.log"
Consider the following PHP code and memcache ISN'T installed:
<?php
$memcache = new Memcache;
?>
On my Development server which is running with debug=3 I get:
Fatal Error: Class "Memcache" not found...
The error in shown to the user and logged in my phperror.log. Which is
correct!
BUT...
if I copy that file to my production server I'm just presented with a
blank page (which is correct) but the error isn't recorded in
phperror.log
Am I or CakePHP doing something wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---