View Full Version : Resolved No error reporting in upgrade to 5.3.4
12-24-2010, 03:04 PM
Lost my error reporting after upgrading apache, php and mysql.
Now running 2.2.17, 5.3.4, and 5.5.8.
Set the php.ini to
error_reporting[E_ALL] and display_errors On
Write my script with
<?php error_reporting(E_ALL);ini_set('error_reporting', E_ALL);?>
However, when I code an error, I get a blank screen.
What should I check next?
12-24-2010, 03:12 PM
Try using this as well. Worth a shot even if it is turned on lol.
12-24-2010, 03:44 PM
Thanks, DJCMBear. That got me back in business.
This is a new warning for me:
Warning: main(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for '-5.0/no DST
I didn't find a listing for timezone in php.ini or httpd.config.
Happen to know what file I should look in?
12-24-2010, 03:58 PM
Try using this for selecting your server timezone.
EDIT: List of timezones can be found here - http://uk.php.net/manual/en/timezones.php
12-24-2010, 04:19 PM
I followed your suggested link and arrived at this solution:
12-24-2010, 04:51 PM
I'm glad you fixed your problems.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.