Menu

#1297 Time zone doesn't work iTop versión 2.3.1-2832

Unassigned
closed
nobody
None
User Interface
Critical
2.3.1
defect
2018-12-24
2016-08-11
No

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

Related

Discussion: Timezone does not working in itop 2.3.1-2832 in Debian 8

Discussion

  • Rafael

    Rafael - 2016-08-11

    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.

     
  • VICTOR DE CASTRO

    Rafael, we are already change php.ini and it does not work.

     
  • Denis

    Denis - 2016-08-11

    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?

     
  • Denis

    Denis - 2016-08-12

    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.

     
  • VICTOR DE CASTRO

    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
  • Pablo

    Pablo - 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

     
  • VICTOR DE CASTRO

    Hi Denis, any advance with the time zone issue?
    Thanks
    Victor

     
  • VICTOR DE CASTRO

    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
  • Denis

    Denis - 2016-08-29
    • status: new --> closed
     
  • Nati

    Nati - 2018-12-24
    1. Change Config 'timezone' => 'Europe/Paris', to Time zone for you (ex. Asia/Bangkok)
    2. restart service php-fpm

    Good luck

     

Log in to post a comment.

Auth0 Logo