Problems with UTC

Welcome to MagicSpam Pro for cPanel WHM! A better spam protection in an easy to use cPanel WHM Module. Visit here for support, frequently asked questions, wishlists and discussion groups on this great module to make life with cPanel WHM that much simpler.

Moderators: wizard, magicspam

Post Reply
pcready.cl
Posts: 3
Joined: Thu Apr 11, 2019 5:33 am

Problems with UTC

Post by pcready.cl » Thu Apr 11, 2019 5:42 am

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.

magicspam
Posts: 1171
Joined: Tue Oct 28, 2008 2:27 pm

Re: Problems with UTC

Post by magicspam » Thu Apr 11, 2019 4:26 pm

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.
-- MagicSpam Support Team --

pcready.cl
Posts: 3
Joined: Thu Apr 11, 2019 5:33 am

Re: Problems with UTC

Post by pcready.cl » Thu May 09, 2019 9:02 pm

It does not work yet it shows me twice the time at the end of the graph in the dashboard

Image

magicspam
Posts: 1171
Joined: Tue Oct 28, 2008 2:27 pm

Re: Problems with UTC

Post by magicspam » Fri May 10, 2019 10:36 am

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.
-- MagicSpam Support Team --

pcready.cl
Posts: 3
Joined: Thu Apr 11, 2019 5:33 am

Re: Problems with UTC

Post by pcready.cl » Sat May 11, 2019 8:58 pm

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.

magicspam
Posts: 1171
Joined: Tue Oct 28, 2008 2:27 pm

Re: Problems with UTC

Post by magicspam » Mon May 13, 2019 3:28 pm

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.
-- MagicSpam Support Team --

Post Reply

Return to “MagicSpam Pro for WHM/cPanel”

Who is online

Users browsing this forum: No registered users and 2 guests