Hello,
After an fresh installation of Dolibarr 7.0.0 on CentOS 7, I log in as Administrator and the first step is to set the Company/Organization name and the country.
But it’s not working at all, when I save the [age I have the message on Chrome: This page is not working IP is currently unable to handle this request. HTTP ERROR 500.
I also have exactly the same message if I select another country in the drop down list, but, when I go back to the page, the country is set.
Is it a bug or something wrong on my installation?
Hello,
Thanks for your answer. The logs are:
dolibarr-access_log
192.168.200.115 - - [15/Mar/2018:14:10:20 +0300] “POST /admin/company.php HTTP/1.1” 500 - “http://192.168.200.199/admin/company.php?mainmenu=home&action=edit” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0”
dolibarr-error_log
[Thu Mar 15 14:10:20.842712 2018] [:error] [pid 1036] [client 192.168.200.115:55010] PHP Fatal error: Uncaught exception ‘Exception’ with message ‘DateTime::__construct(): 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 /var/www/html/dolibarr/htdocs/core/lib/date.lib.php:132\nStack trace:\n#0 /var/www/html/dolibarr/htdocs/core/lib/date.lib.php(132): DateTime->__construct()\n#1 /var/www/html/dolibarr/htdocs/core/modules/modAdherent.class.php(327): dol_time_plus_duree(1521112220, 1, ‘y’)\n#2 /var/www/html/dolibarr/htdocs/core/lib/admin.lib.php(1181): modAdherent->__construct(Object(DoliDBPgsql))\n#3 /var/www/html/dolibarr/htdocs/admin/company.php(73): activateModulesRequiredByCountry(‘KE’)\n#4 {main}\n thrown in /var/www/html/dolibarr/htdocs/core/lib/date.lib.php on line 132, referer: http://192.168.200.199/admin/company.php?mainmenu=home&action=edit