Posted by ajay
2014-03-08

Hi,

This is an amazing script...thanks a lot for your help. I installed the script succesfully but am getting the below error when I login as admin.

"Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in CVField.inc.php on line 1147"

I checked the line 1147 and found the below code

if ( $this->Get(XA_FORMAT) != '' )
$v = date( $this->Get(XA_FORMAT), strtotime( $v ) );

Please help me by letting me know what I need to change.

I am newbie for Ajax and php and am stuck with this problem.

Please....help
Posted by Tom
2014-03-09

Hi ajay,

>Warning: date(): It is not safe to rely on the system's timezone settings.

I think the timezone settings is missing in your php.ini.
This article exlains how to fix the timezone settings.
http://stackoverflow.com/questions/16765158/date-it-is-not-safe-to-rely-on-the-systems-timezone-settings-in-codeigniter