Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 41

Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 170

Deprecated: Joomla\CMS\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Input/Input.php on line 31

Deprecated: Joomla\CMS\Input\Cookie implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Input/Cookie.php on line 21

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Uri/Uri.php on line 141
Joomla PHP White Page Error - Macrotone Blogs

Macrotone Blogs

Macrotone blogs upon Joomla, our products and other matters.
Font size: +

Joomla PHP White Page Error

Whilst developing Joomla extensions I sometimes get a White Page error.  I discovered this interesting post by Phil Taylor that I have edited and reproduced below.

Sometimes, due to a PHP error, a Joomla Extension can stop working and, without displaying an error, leading you to a blank page.

 

In that case, to find out why, perform the following actions:

  1. Check server error logs (not access logs) if you have access to them. (cPanel or other control panels often allow this)

  2. Go to Joomla Administration -> Global configuration and enable Error Reporting to Maximum, you can also turn on debugging.  if you CAN’T get to the administration page, manually edit by FTP the /configuration.php file and change

    $error_reporting = ’0′;

    to

    $error_reporting = ’2048′;

  3. Try the action again – if you still get a blank page then goto 4.

  4. Put the following code at the END of the configuration.php file BEFORE the closing ?>

    ini_set( 'display_errors', true ); error_reporting( E_ALL );

  5. Check the source of the white page – there might be still some HTML/Errors in the Page Source (Look in your web browser for the “View Source” option)

  6. Change the .htaccess file setting the following:

    php_flag display_errors on

    php_value error_reporting 2048

Resolving short URLs
Technical Article links
 
Go To Top

Joomla! Debug Console

Session

Profile Information

Memory Usage

Database Queries