Page 1 of 1

Problems with UTC

Posted: Thu Apr 11, 2019 5:42 am
by pcready.cl
Hello,

Here in Chile we used the UTC -3 time zone and a few days ago we changed to UTC -4, since the change the Magicspam records do not work as they should, the rest of my WHM works perfect with the change, but Magicspam does not.

It was replicated to the parameter of the last hour in the dashboard.

And I can not do research there, which is quite practical and I need it.

Image

WHM v78.0.20
MagicSpam v2.1-9.2

I need help thx.

Re: Problems with UTC

Posted: Thu Apr 11, 2019 4:26 pm
by magicspam
Hello pcready.cl,

Thank you for your post.

Based on the provided information, we believe that the issue is caused due to incorrectly setup timezone in:

/usr/share/magicspam/php/php.ini

Please review the above mentioned file and update the:

;date.timezone =

line as per following article:

https://www.php.net/manual/en/timezones.php

Please let us know if this resolves the issue.

Re: Problems with UTC

Posted: Thu May 09, 2019 9:02 pm
by pcready.cl
It does not work yet it shows me twice the time at the end of the graph in the dashboard

Image

Re: Problems with UTC

Posted: Fri May 10, 2019 10:36 am
by magicspam
Hello pcready.cl,

Thank you for your post.

To continue troubleshooting this issue, can you please let u know if there was any recent changes or updates in your system?

Based on the provided information, it is possible that one of the recent updates have updated /usr/share/magicspam/php/php.ini file; could you please send us the content of following line from the above mentioned file:

;date.timezone =

Also could you please send us the output of the 'date' command from your server.

Thank you.

Re: Problems with UTC

Posted: Sat May 11, 2019 8:58 pm
by pcready.cl
Hello,

Cpanel is in the latest version and has no modifications to the source code:

Image

MagicSpam is in the latest version and has no changes to its source code:

Image

This is the modification made to "/usr/share/magicspam/php/php.ini"

Image

This is the result via SSH of the "date" command:

Image

All the rest of the system works fine with -04, but MagicSpam does not.

Re: Problems with UTC

Posted: Mon May 13, 2019 3:28 pm
by magicspam
Hello pcready.cl,

Thank you for providing us the requested information.

To continue troubleshooting this issue, could you please send us the output of the following command:

ls -al /etc/localtime

Thank you.