vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Time off by 6 hours changing GMT setting doesnt do anything.. (https://vborg.vbsupport.ru/showthread.php?t=276922)

Scottr126 01-14-2012 01:37 AM

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?

LifesGreatestGift 01-14-2012 02:44 AM

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

Scottr126 01-14-2012 04:42 PM

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

LifesGreatestGift 01-14-2012 04:49 PM

1 Attachment(s)
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.

Scottr126 01-14-2012 04:55 PM

I know how to upload files and such but which file do I need to upload?

LifesGreatestGift 01-14-2012 04:58 PM

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.

Scottr126 01-14-2012 05:03 PM

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

https://vborg.vbsupport.ru/external/2012/01/54.png

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

My server time is an hour before my local time.

LifesGreatestGift 01-14-2012 05:07 PM

Quote:

Originally Posted by LifesGreatestGift (Post 2287748)
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.

Scottr126 01-14-2012 05:09 PM

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!


All times are GMT. The time now is 02:52 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.01082 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete