the paid version of mysqlajaxtableeditor does not seem to work seamlessly with the newest versions of PHP if the php.ini does not set a time zone. The following warning occurs:
- Code: Select all
Invalid json sent back from server. Error: SyntaxError: Unexpected token < Server sent:
Warning: strtotime(): 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 [...]/php/AjaxTableEditor.php on line 1596
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 [...]/php/AjaxTableEditor.php on line 1599
The easiest way to resolve this is by editing the AjaxTableEditor.php to match the following:
- Code: Select all
public function setDefaults()
{
// Setting time zone
date_default_timezone_set('GMT');
[...]
}
Cheers