PHP Syntax errors in site.php

Permalink 1 user found helpful
Just an FYI :)

I found something interesting in regard to an @ (at sign) disabling error reporting that may shed some light on the "infamous blank screen of nothingness". In the file /concrete/startup/config_check.php I found the line:
if (!@include(CONFIG_FILE)) {

If there are any php syntax errors (like missing a ; or quote) in the /config/site.php file, you get a blank screen and no errors reported anywhere. The only way I found my syntax error was to delete the @ (at sign) from the line described above.

nteaviation
 
ideasponge replied on at Permalink Reply
ideasponge
The use of the Eclipse IDE really helps spot these kind of issue before you even upload them to your site as well. It is a HUGE time saver.