I am unable to load the user admin panel. I get this warning: "datatables warning .... invalid JSON response"
I check the JSON response in browser debugger. It contains: 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 .../include/common.inc.php on line 126 (several times. Various lines of code)
I created new PHP.INI file in Piwigo directory with:
date.timezone = "America/Vancouver"
Now if I go to Piwigo admin>tools>maintenance>PHP show info, the timezone is reported correctly as "America/Vancouver".
Piwigo 2.10.2
Operating system: Linux
PHP: 5.6.40
MySQL: 5.7.30
Hello.
I am unable to load the user admin panel. I get this warning: "datatables warning .... invalid JSON response"
I check the JSON response in browser debugger. It contains:
`
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 .../include/common.inc.php on line 126` (several times. Various lines of code)
I created new PHP.INI file in Piwigo directory with:
date.timezone = "America/Vancouver"
Now if I go to Piwigo admin>tools>maintenance>PHP show info, the timezone is reported correctly as "America/Vancouver".
However, the JSON warning is still there.
If I switch to PHP 7 then the problem goes away. But Piwigo minimum requirements are supposed to be PHP 5.3
(https://piwigo.org/guides/install/requirements)
Piwigo 2.10.2
Operating system: Linux
PHP: 5.6.40
MySQL: 5.7.30
<!-- github-sync-id:646001982 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hello.
I am unable to load the user admin panel. I get this warning: "datatables warning .... invalid JSON response"
I check the JSON response in browser debugger. It contains:
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 .../include/common.inc.php on line 126(several times. Various lines of code)I created new PHP.INI file in Piwigo directory with:
date.timezone = "America/Vancouver"
Now if I go to Piwigo admin>tools>maintenance>PHP show info, the timezone is reported correctly as "America/Vancouver".
However, the JSON warning is still there.
If I switch to PHP 7 then the problem goes away. But Piwigo minimum requirements are supposed to be PHP 5.3
(https://piwigo.org/guides/install/requirements)
Piwigo 2.10.2
Operating system: Linux
PHP: 5.6.40
MySQL: 5.7.30