Welcome Guest, Not a member yet? Register   Sign In
Severity Warning Message : Date()
#1

[eluser]jacobson[/eluser]
Hello, i have the following problem. I built simple email sending system which successfully sends the emails. But when The message "email has been sended" appears there also appears other "warnings" such as :
Code:
A PHP Error was encountered

Severity: Warning

Message: 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 'Europe/Paris' for '2.0/DST' instead

Filename: libraries/Email.php

Line Number: 691

I've read that this is a problem with my php (im running on the localhost) file. But I don't know what I have to change into what to make this warning dissapear. I had this warning several times for example when I forgot to extend CI_Controller and I extended only Controller. But now I don't know where exactly is the problem.


Messages In This Thread
Severity Warning Message : Date() - by El Forum - 04-19-2011, 02:47 AM
Severity Warning Message : Date() - by El Forum - 04-19-2011, 05:59 AM
Severity Warning Message : Date() - by El Forum - 04-20-2011, 03:48 AM
Severity Warning Message : Date() - by El Forum - 06-15-2012, 04:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB