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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-14-2012, 01:37 AM
Scottr126 Scottr126 is offline
 
Join Date: Jan 2012
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Time off by 6 hours changing GMT setting doesnt do anything..

I have 4.1.9 and my time is off by about 6 hours. I live in Chicago, Illinois and even though its 8:30 here it says 2:30 on my site. I tried changing the time settings to offset 0 but it didn't do anything? Is there something else I need to get it to show my and users local time?
Reply With Quote
  #2  
Old 01-14-2012, 02:44 AM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What time zone is your server in? do you have root access?

to show your server time make a file time.php with the following
PHP Code:
<html>
<head></head>
<body>
Server Time is <?=date("h:i:s F d Y T")?>.

</body>
</html>
then go to it on your site and see what time it says.

TIME DATE TIMEZONE

For example, my server is located in USA, TX but the time is showing
Server Time is 06:46:15 January 14 2012 MSK
Moscow Standard Time lol


if you live in chicago your offset should be -6

http://www.timeanddate.com/worldclock/difference.html
Reply With Quote
  #3  
Old 01-14-2012, 04:42 PM
Scottr126 Scottr126 is offline
 
Join Date: Jan 2012
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a hosting account with godaddy. I am not sure where that would place my server..

Can you dumb that down a little bit? I am somewhat new to all of this although I am doing it all myself..lol
Reply With Quote
  #4  
Old 01-14-2012, 04:49 PM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upload this file to your website via FTP or how ever you upload files, then go to it on your site

mysite.com/time.php (just curious what time your server is set for)

and paste back what it says.

mysite.com/forums/profile.php?do=editoptions
Also on the main forum site click the Settings link then go to General Settings then scroll down to Date and Time options
and change your time zone to the same as above.
hit save and see if the time on your site is correct.
Attached Images
File Type: png Untitled.png (15.7 KB, 0 views)
Attached Files
File Type: zip time.zip (194 Bytes, 7 views)
Reply With Quote
  #5  
Old 01-14-2012, 04:55 PM
Scottr126 Scottr126 is offline
 
Join Date: Jan 2012
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know how to upload files and such but which file do I need to upload?
Reply With Quote
  #6  
Old 01-14-2012, 04:58 PM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry forgot to attach it, its in my previous post but setting your profile general settings time correctly should resolve your issue. By default vB is set to GMT unless changed at registration or in your account settings.
Reply With Quote
  #7  
Old 01-14-2012, 05:03 PM
Scottr126 Scottr126 is offline
 
Join Date: Jan 2012
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Below is a shot of my settings, however all of the times on my forum are 6 hours off from my local time.



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

My server time is an hour before my local time.
Reply With Quote
  #8  
Old 01-14-2012, 05:07 PM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LifesGreatestGift View Post
Upload this file to your website via FTP or how ever you upload files, then go to it on your site

mysite.com/time.php (just curious what time your server is set for)

and paste back what it says.

mysite.com/forums/profile.php?do=editoptions
Also on the main forum site click the Settings link then go to General Settings then scroll down to Date and Time options
and change your time zone to the same as above.

hit save and see if the time on your site is correct.
No real need to change the admin settings. Its the profile settings that really need to be changed.
Reply With Quote
  #9  
Old 01-14-2012, 05:09 PM
Scottr126 Scottr126 is offline
 
Join Date: Jan 2012
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh wow...lol I feel dumb. That was it. It was my profile settings.

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

Thank you for your help!
Reply With Quote
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 05:42 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04201 seconds
  • Memory Usage 2,261KB
  • Queries Executed 12 (?)
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
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete