Error timezone migration with datetime

Hi,

I’m using mysql, when i migrate a migration with a datetime field it dont work, i receive the

[code]

PHP Error[2]: require_once(): It is not safe to rely on the system’s timezone se

ttings. 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 se

lected ‘America/Sao_Paulo’ for ‘-3.0/no DST’ instead

[code]

problem, i changed the php.ini file, someone know how to help me

Solved

hi can you tell me how you solved this issue.

I tried both editing php.ini and date_default_timezone_set in index.php

the issue got fixed when i created a new application and added

if(function_exists("date_default_timezone_set") and function_exists("date_default_timezone_get"))

@date_default_timezone_set(@date_default_timezone_get());

in index.php