View Full Version : Wrong time on posts and pm
jokerHR
09-10-2008, 08:03 AM
After upgrade from 3.6.4. to 3.7.2. time on posts is wrong.
When I send new post, time on post is 9:00, on the bottom of page is
"All times are GMT +2. Now is 11:00." (and it really is 11:00 now in my timezone).
My timezone is GMT + 1, with daylight saving time GMT + 2.
DST is set to auto (since now is summer it's actually ON). If I turn if off I get post time 8:00 and "All times are GMT +1. Now is 10:00."
If I start date on that unix server prompt I get:
Wed Sep 10 11:00:00 CEST 2008
Wrong time is also when I send pm to myself or other person.
Marco van Herwaarden
09-10-2008, 09:17 AM
Can you provide a link and a test account?
jokerHR
09-10-2008, 09:31 AM
forum is at http://cafe.mobil.hr. I've sent you usename and pwd on pm. If anybody else needs account you can pm me or just register on forum
Marco van Herwaarden
09-10-2008, 12:29 PM
Hmm this is very strange, i never saw such an behaviour before. Time shows correct on the forumhome, but it looks like the timezone is not taen into consideration for threads/posts.
To troubleshoot this, please remove any hacks and disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php
define('DISABLE_HOOKS', true);
If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.
If your problem still exists, please create a new Style with no Parent set. Now browse the forum using this new style, do you still have the same problems? If you are troubleshooting login or guest issues, you will need to set this style as board default in the vBulletin Options.
jokerHR
09-11-2008, 11:14 AM
Thank you for idea. Problem was in one plugin for openx ads.
It was reported at http://forum.openx.org/index.php?showtopic=503421161
I solved the problem by putting this line after the invocation code for the banner:
date_default_timezone_set("Europe/Zagreb");
keledan2
04-18-2009, 06:26 AM
Thank you for idea. Problem was in one plugin for openx ads.
It was reported at http://forum.openx.org/index.php?showtopic=503421161
I solved the problem by putting this line after the invocation code for the banner:
date_default_timezone_set("Europe/Zagreb");
H, thanks a lot, this solved my problem too.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.