Hi Team, I faced the problem of Date entered always -1, any idea why?

osTicket version =v1.12.2
Web Server Software = Apache
MYSQL version = 5.5.65
PHP Version = 7.1.33

PHP Settings > date.timezone > America/New_York
Database Information and Usage > Timezone set in the tool: EDT (Interpreted as America/New_York)

Please post a screen shot of what you mean.


Hi ntozier, please find screen shot.

2 months later

This is what i see when I hit submit button to save the date "2020/09/29 12:00:00 EDT"
below screen shot showing what the screen saving the date

    9 months later

    anyone have any idea why it is always saving as -1 date?

    leehlan "2020/09/29 12:00:00 EDT"

    the result is
    2020-09-29T16:00:00

    Which appears to be an 8 hour time difference. Which coincidentally is the same difference between EDT/EST and UTC. My guess would be that the field is saving as mysql default UTC.

    Also you are running an old end of life and no longer supported version. I would recommend that you upgrade to a contemporary version.

      14 days later

      Hi ntozier currently running v1.12.2 and I have some customization, and could I just upgrade it to v.1.12.6 then later version and will it affect any of my customization?

      Thanks. Stay Safe.

      If your customization was done at the code level then yes.

      If your customizations are just configuration settings then you would not be affected from an upgrade.
      If you customizations are done in a plugin ... so long as that plugin supports the new version, then you would not be affected from an upgrade.

      Write a Reply...