Good Morning
We installed iTop versión 2.3.1-2832 Data model: 2.3.0 MySQL: 5.5.50-0+deb8u1 PHP: 5.6.24-0+deb8u1 in debian 8 and the timezone in the config-itop.php was set to 'America\Caracas', but every time that an incident or request is created it has a different timezone, obviously in this case the default time zone 'Europe\Paris'. We set up the timezone value in php.ini and my.conf also, but itop mantain the Europe\Paris time. In Ubuntu same situation tested by another user Please fix it or let me know how help you to fix the bug.
Regards,
Victor De Castro
Discussion: Timezone does not working in itop 2.3.1-2832 in Debian 8
Hi,
Here we installed iTop with Xampp on Windows Server.
We had to modify settings in php.ini specific for Apache.
Hope this helps...
Regards,
Rafael.
Rafael, we are already change php.ini and it does not work.
Hi Victor and Rafael,
Changing the timezone in the iTop config file should be enough to adjust the timezone.
From the PHP documentation, it looks like the correct spelling is "America/Caracas" (with a slash not a backslash). Is that the value you used?
Hi Guys,
I don't know if it is related to Debian/Ubuntu or PHP7, but I was able to reproduce the problem on an Ubuntu 16.04 running PHP 7.
Hi Denis
Thank you, in debian is the same with slash or backslash in 'America\Caracas' or 'America/Caracas'. Please let us know if you find where the problem is. I'm using PHP 5.6.24-0 in Debian 8
Last edit: VICTOR DE CASTRO 2016-08-12
Hi My name is Pablo Huiza and I have a question if you can help me: If I download iTop from sourceforge which version I get ?? Entry, Essential,
Professional packages or the Communnity version ?' Thanks a lot...Caracas, Venezuela
Hi Denis, any advance with the time zone issue?
Thanks
Victor
Hi
Finally I solved, after test and test. I recreate the installation in Windows and the problem was exactly the same. I searched with notepad++ all files that contain 'Europe/Paris' and surprise it was in eight files. I know for example that file config.class.inc.php is the file with the values that create the configuration file config-itop.php. But I replace with 'America/Caracas' in all files because I don't know wich file is causing the problem, and that it's. It's working perfectly right now, with the correct server time. I hope you can test and solve the problem too, and in the next version correct the problem.
Regards. .
Victor
Last edit: VICTOR DE CASTRO 2016-08-25
Hi guys,
I think I found the error: it is located at the top of the file setup/setuppage.class.inc.php.
I've committed a fix as revision [r4355] in /trunk and [r4356] in /branches/2.3
Thanks a lot for reporting the issue !
Related
Commit: <Commit _id='5358055aa02bb175d1406271:4355' tree_id='53073dc91090991f84a01151d1fb7fde260db5af' committed=I{'date': datetime.datetime(2016, 8, 29, 12, 47, 6, 870000), 'email': '', 'name': 'dflaven'} authored=I{'date': datetime.datetime(2016, 8, 29, 12, 47, 6, 870000), 'email': '', 'name': 'dflaven'} message='#1297: timezone configuration setting was inoperant.' parent_ids=I['5358055aa02bb175d1406271:4354'] child_ids=I['5358055aa02bb175d1406271:4356'] repo_ids=I[ObjectId('5358055aa02bb175d1406271')]>
Commit: <Commit _id='5358055aa02bb175d1406271:4356' tree_id='5bd3cbe65e2e71a39ec7cd23f3afb580c71ca252' committed=I{'date': datetime.datetime(2016, 8, 29, 12, 52, 51, 736000), 'email': '', 'name': 'dflaven'} authored=I{'date': datetime.datetime(2016, 8, 29, 12, 52, 51, 736000), 'email': '', 'name': 'dflaven'} message='(retrofit from trunk) #1297: timezone configuration setting was inoperant.' parent_ids=I['5358055aa02bb175d1406271:4355'] child_ids=I['5358055aa02bb175d1406271:4357'] repo_ids=I[ObjectId('5358055aa02bb175d1406271')]>
Good luck