View Single Post
Old 06-15-2014, 03:34 AM  
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by CrazyMartin View Post
or just put this code inside problematic php file

date_default_timezone_set('Europe/Lisbon');

set timezone where your server is located

available timezones are on php site, i can't post a link because i have less than 30 posts
Yes that is a proper way to resolve problem,but if you are lazy,you can simply add @ to problematic line
(@ is suppressor which ignores warning messages)
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote