Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-10-2012, 12:56 PM
Arie Arie is offline
 
Join Date: Dec 2001
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Time Offset by 6 hours?

OK, I think I can solve most problems, but this one has be baffled :erm:

All was working fine. I *did* restart MySQL last night, after tweaking 1(!) setting:

I increased sort_buffer_size=512KB to sort_buffer_size=1M

This morning I noticed that these times are off by 6 hours:

You last visited xxx
Post time (shown on new posts & replies)

The forum time shown at the bottom are correct (in my case All times are GMT +1. The time now is xxx).

Checked server time

Quote:
date
Sat Mar 10 07:54:42 CST 2012
That's correct.

Check MySQL time

Quote:
mysql> select now();
+---------------------+
| now() |
+---------------------+
| 2012-03-10 07:55:31 |
+---------------------+
1 row in set (0.00 sec)
Both Apache & php.ini are set to the correct time zone

php.ini

Quote:
date.timezone = 'America/Chicago'
httpd.conf
Quote:
SetEnv TZ US/Central
What am I missing? I've been running my forum for about 2 weeks on this new server (and years on the old one). I had been tweaking MySQL for the last while and restarted previously, no problems until this morning...
Reply With Quote
  #2  
Old 03-10-2012, 03:50 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you check your own timezone setting in your profile?
Reply With Quote
  #3  
Old 03-10-2012, 04:03 PM
Arie Arie is offline
 
Join Date: Dec 2001
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea, sorry, forgot to say, all users are seeing the same. I'm thinking it is a cookie problem, but no idea where that came from...
Reply With Quote
  #4  
Old 03-10-2012, 04:05 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The default time setting.
Reply With Quote
  #5  
Old 03-10-2012, 04:22 PM
Arie Arie is offline
 
Join Date: Dec 2001
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Max Taxable View Post
The default time setting.
?

You mean Default Time Zone Offset?

Has no influence. Like I said, the time shown at the bottom of the forum is correct.

--------------- Added [DATE]1331409770[/DATE] at [TIME]1331409770[/TIME] ---------------

OK... I disabled all plugins on my test forum (by un-commenting define('DISABLE_HOOKS', true); ) that solved the problem.

Which still begs the question where the problem lies and what made it surface, so now I'll have to start checking the individual plugins.

Only thing I did in the last few days was adding plugin code to allow for 'local' invocation of my ad server, so I'll check if that's somehow messing with the cookie...

--------------- Added [DATE]1331413208[/DATE] at [TIME]1331413208[/TIME] ---------------

OK, it is the local invocation code that's messing up things... now I got to find out how to get it fixed, preferably without returning to the Javascript tags...

--------------- Added [DATE]1331430340[/DATE] at [TIME]1331430340[/TIME] ---------------

I wish there was a better option for ad serving then OpenX. What a bunch of incompetent XXXXX Seems I run into a bug that's been reported to them way back in 2009 & never fixed. Found my solution here: http://forum.openx.org/index.php?sho...ndpost&p=71370

Thanks OpenX, for wasting a day of my time!
Reply With Quote
Благодарность от:
Max Taxable
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:58 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05302 seconds
  • Memory Usage 2,200KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (1)post_thanks_box_bit
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete