Time error when sending email SMTP with codeigniter - mediatemple hosting Time error when sending email SMTP with codeigniter - mediatemple hosting codeigniter codeigniter

Time error when sending email SMTP with codeigniter - mediatemple hosting


Set date.timezone in your php.ini file and the warning should go away.

I believe MediaTemple allows you to edit your php.ini settings by including a php.ini in your home directory.


If you don't have the privileges to update php.ini (usually you don't),
you can add this line to your php script(s) :-

date_default_timezone_set("Asia/Singapore"); <-- replace to your desire city

There's more documentation on this function here: http://uk.php.net/date_default_timezone_set