• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

weird timezone php error

Red Squirrel

No Lifer
I did not change anything and yet one of my scripts is suddenly showing this error:

Code:
Warning: date() [function.date]: 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/Chicago' for 'CST/-6.0/no DST' instead in /home/iceteks/public_html/uovalor/forum/shoutbox.php on line 122

I will go add a @ sign in the appropriate location to fix it, but wtf is this anyway? IT just started randomly appearing for this code:


Code:
		echo('
		<table width="100%"><tr>
		<td class="row4">');
		if(IsAdmin())echo('<a href="shoutbox.php?act=delete&id='.$data[msg_id].'">[DEL]</a> ');
		echo('<span class="genmed"><b>['.date("M d Y H:i:s",$data[msg_date]).'] '.$data[msg_uname].': </b>'.$data[msg_txt].'</span></td>

		</tr></table>
		');
 
Back
Top