Difference between revisions of "Site is blank"

(Created page with "==White Screen of Death== WSoD or popularly called '''White Screen of Death''' indicates that there is an error on the page, '''not necessarily caused by jomSocial''' even if ...")
 
(Error is not displayed even if error reporting is set to maximum or development)
Line 12: Line 12:
 
If that dont show the error either, dont panic. Some developers put this code into their extensions
 
If that dont show the error either, dont panic. Some developers put this code into their extensions
 
<syntaxhighlight lang="php">
 
<syntaxhighlight lang="php">
/* Enable this when debugging
+
/* Enable this when debugging*/
 
error_reporting(E_ALL);
 
error_reporting(E_ALL);
 
ini_set('display_errors','Off');  
 
ini_set('display_errors','Off');  
*/
 
 
</syntaxhighlight>
 
</syntaxhighlight>
 
<br />
 
<br />

Revision as of 22:09, 20 January 2013

White Screen of Death

WSoD or popularly called White Screen of Death indicates that there is an error on the page, not necessarily caused by jomSocial even if page that is expected to be loaded is one of the jomSocial's pages. These white screens usually hide the exact error behind it, but these errors are cleverly hidden by Joomla to prevent simple (or malicious) users viewing your site paths.

Enable Error Reporting in Joomla!

Enabling this setting in Joomla! Global Configuration is usually enough for most of the errors to show up.
please navigate to the Joomla Global Configuration in the site Back End and under Server Settings locate the Error Reporting option. It should be set to System Default which would hide the error with blank page.
You change this setting to Maximum or even Development. Save and go back to the page with WSoD
In most cases, you should be able to see what is the exact error now.

Error is not displayed even if error reporting is set to maximum or development

On the System Pane in Joomla Global Configuration, enable Debug System option. Save, and try again.
If that dont show the error either, dont panic. Some developers put this code into their extensions

/* Enable this when debugging*/
error_reporting(E_ALL);
ini_set('display_errors','Off');


In essence, this little piece of code, if loaded on the page, will force Joomla! not to show any error even if you enable System Debug and Error Reporting. It is most commonly used by some developers to hide notices and warnings in their code, but rest asured, that jomSocial dont use this nasty trick to hide any errors in any piece of its code.
A hint: its not jomSocial

Back End is blank too