internetserfer Posted November 11, 2016 Report Share Posted November 11, 2016 Hi! Using Revive Adserver (4.0.0) on SMF driven forum. Users noticed and pointed me to the error with discrepancy posting time, ie, if the message was published at 20.30, it appears as published at 23.30. Although the forum time displayed correctly with the selected time zone. Long could not figure out what is the problem.. until not removed invocation code (Local Mode Tag) from forum pages... and time in messages was displayed correctly! Code coincidence causes such problems? I started to understand ... but found nothing smarter than a change that line in .../ads/www/delivery/ck.php & lg.php: from date_default_timezone_set to date_default_timezone_get looks stupid yea? :) Now messages time displayed correctly too! But now all campaigns ends for three hours earlier, before their set the end time ::sad:: Eventually, where did come those three hours ??? Server timezone set to Europe/Moscow All timezone settings (Administrator and Default Manager) the same. What to do in my case? Quote Link to comment Share on other sites More sharing options...
Erik Geurts Posted November 11, 2016 Report Share Posted November 11, 2016 This does not appear to be an issue caused by Revive Adserver itself, but by the usage of local mode tags. I recommend switching to the newer async tags. Quote Link to comment Share on other sites More sharing options...
internetserfer Posted November 13, 2016 Author Report Share Posted November 13, 2016 Thanks 4 answer! Unfortunately, this type of invocation (async tags) does not suit me now...Due to one of the reasons: ======================================== "...no support for delivery on devices without JavaScript support...." ======================================== I need exactly local mode.. That's why I decided to ask Regards. Quote Link to comment Share on other sites More sharing options...
Erik Geurts Posted November 13, 2016 Report Share Posted November 13, 2016 A device without Javascript support? That should be less than 0,5% of all browsers by now. Quote Link to comment Share on other sites More sharing options...
internetserfer Posted November 13, 2016 Author Report Share Posted November 13, 2016 4 hours ago, Erik Geurts said: A device without Javascript support? That should be less than 0,5% of all browsers by now. How about Android-driven mobile devices?) Quote Link to comment Share on other sites More sharing options...
andrewatfornax Posted December 20, 2016 Report Share Posted December 20, 2016 Double check the timezone setting in your PHP .ini file, to also make sure it's set to the same timezone? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.