Hello Devs,
A fresh CentOS 7.7 64 bits Baculum 9.4.4-1.fc30.noarch renders the following
API query error:
/api/v1/volumes?limit=4
{
"output": "Internal error. [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. (@line 86 in file
/usr/share/baculum/htdocs/protected/API/Class/VolumeManager.php).",
"error": 1000
}
Is it a missing code or a PHP version problem?
root@bacula htdocs]# php --version
PHP 5.4.16 (cli) (built: Nov 1 2019 16:04:20)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
Specifying php.ini timezone did not help:
root@bacula htdocs]# php --version
PHP 5.4.16 (cli) (built: Nov 1 2019 16:04:20)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
Regards,
--
MSc Heitor Faria
CEO Bacula LATAM
mobile1: + 1 909 655-8971
mobile2: + 55 61 98268-4220
[ https://www.linkedin.com/in/msc-heitor-faria-5ba51b3 ]
[ http://www.bacula.com.br/ ]
América Latina
[ http://bacula.lat/ | bacula.lat ] | [ http://www.bacula.com.br/ |
bacula.com.br ]
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel