|
I was getting a blank front page, so I added this to the index.php file:
ini_set(’display_errors’, 1); error_reporting(E_ALL);
and this is the error I was getting:
Fatal error: Uncaught exception 'Exception' with message 'Notice: Use of undefined constant ’display_errors’ - assumed '’display_errors’' in /home/roc/web/index.php on line 48' in /home/roc/web/app/code/core/Mage/Core/functions.php:240 Stack trace: #0 /home/roc/web/index.php(48): mageCoreErrorHandler(8, 'Use of undefine...', '/home/roc/web/i...', 48, Array) #1 {main} thrown in /home/roc/web/app/code/core/Mage/Core/functions.php on line 240
Couldn’t figure it out. For several minutes, so I went and got a drink, came back, and guess what? It worked. The lag doesn’t help debug it, I’m just happy it works.
But the error is still there, appearing at the bottom of pages. What does it mean?
|