Fli
04-27-2014, 05:16 PM
There can be error issues when moving sites from PHP 5.3 server to PHP 5.4 server.
One can read server version by adding <?php phpinfo(); ?> into a blank .php file.
PHP 5.3.2.8
..No errors..
PHP 5.4.x.x
VBulletin 4.2.10
Strict Standards: Non-static method vBSEO_Storage: Path() should not be called statically in /home/*/public_html/vbseo/includes/functions_vbseo_pre.php on line 282
PHPBB
trict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /home/*/public_html/includes/utf/utf_tools.php on line 1804
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4665: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1804)
Joomla
Strict Standards: Non-static method JLoader::import() should not be called statically in /home/*/public_html/libraries/joomla/import.php on line 29
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/*/public_html/libraries/joomla/import.php:29) in /home/*/public_html/libraries/joomla/session/session.php on line 423
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/*/public_html/libraries/joomla/import.php:29) in /home/*/public_html/libraries/joomla/session/session.php on line 423
Warning: Cannot modify header information - headers already sent by (output started at /home/*/public_html/libraries/joomla/import.php:29) in /home/*/public_html/libraries/joomla/session/session.php on line 426
Warning: Cannot modify header information - headers already sent by (output started at /home/*/public_html/libraries/joomla/import.php:29) in /home/*/public_html/templates/tj_palermo/jwd.php on line 47
Wordpress
[27-Apr-2014 10:24:22 UTC] PHP Fatal error: Access to undeclared static property: WP_Screen::$this in /home/*/public_html/_sub/mysite.info/wp-admin/includes/screen.php on line 706wp fix here (http://internetlifeforum.com/wordpress/1853-wordpress-admin-area-blank-pages/)
How to fix these Strict Standards errors messages (hide them only)?
Read more here: http://www.gavick.com/documentation/general-questions/how-to-fix-strict-standards-non-static-method/
(its about disabling error reporting or disable strict check)
One can disable strict errors by editting/creating php.ini file in his website root directory (public_html or www example) with this line:
error_reporting = E_ALL | E_DEPRECATED
Or one can downgrade PHP to version 5.3. i did it from WHM and it miraculously hidden all errors.
One can read server version by adding <?php phpinfo(); ?> into a blank .php file.
PHP 5.3.2.8
..No errors..
PHP 5.4.x.x
VBulletin 4.2.10
Strict Standards: Non-static method vBSEO_Storage: Path() should not be called statically in /home/*/public_html/vbseo/includes/functions_vbseo_pre.php on line 282
PHPBB
trict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /home/*/public_html/includes/utf/utf_tools.php on line 1804
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4665: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1804)
Joomla
Strict Standards: Non-static method JLoader::import() should not be called statically in /home/*/public_html/libraries/joomla/import.php on line 29
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/*/public_html/libraries/joomla/import.php:29) in /home/*/public_html/libraries/joomla/session/session.php on line 423
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/*/public_html/libraries/joomla/import.php:29) in /home/*/public_html/libraries/joomla/session/session.php on line 423
Warning: Cannot modify header information - headers already sent by (output started at /home/*/public_html/libraries/joomla/import.php:29) in /home/*/public_html/libraries/joomla/session/session.php on line 426
Warning: Cannot modify header information - headers already sent by (output started at /home/*/public_html/libraries/joomla/import.php:29) in /home/*/public_html/templates/tj_palermo/jwd.php on line 47
Wordpress
[27-Apr-2014 10:24:22 UTC] PHP Fatal error: Access to undeclared static property: WP_Screen::$this in /home/*/public_html/_sub/mysite.info/wp-admin/includes/screen.php on line 706wp fix here (http://internetlifeforum.com/wordpress/1853-wordpress-admin-area-blank-pages/)
How to fix these Strict Standards errors messages (hide them only)?
Read more here: http://www.gavick.com/documentation/general-questions/how-to-fix-strict-standards-non-static-method/
(its about disabling error reporting or disable strict check)
One can disable strict errors by editting/creating php.ini file in his website root directory (public_html or www example) with this line:
error_reporting = E_ALL | E_DEPRECATED
Or one can downgrade PHP to version 5.3. i did it from WHM and it miraculously hidden all errors.