Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
etoiledemoon
Hangin' Around



Joined: Apr 29, 2010
Posts: 31

PostPosted: Wed Feb 01, 2012 1:32 am Reply with quote

Hi everyone and happy new year to all team

my website was working fine on previous server.
I move it to a new server and since the server time is not show properly
I explain

server time is : 8h30 Paris gmt+1 hour
website is : Server Date/Time
1 February 2012 02:30:23 EST (GMT -5)
and on forum it's : The time now is Wed Feb 01, 2012 9:31 am

Any idea how to solve this ?
Thanks in advance
 
View user's profile Send private message
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Wed Feb 01, 2012 7:33 am Reply with quote

Go to Forums ACP--> General Admin--> Configuration--> System Timezone and set it to reflect the time you want.

_________________
Tricked Out News 
View user's profile Send private message Send e-mail Visit poster's website
etoiledemoon







PostPosted: Wed Feb 01, 2012 7:41 am Reply with quote

that's what I have done : GMT +1 but this change nothing
still gmt -5 on website
 
kd8hho
Worker
Worker



Joined: Mar 30, 2009
Posts: 132

PostPosted: Wed Feb 01, 2012 8:03 am Reply with quote

what about the time setting in "your account"

I went though this few days ago. changed it in forum admin and my account. (I also had to change time zone in php.ini to take me from PST to EST)

_________________
Linux Register User #481509 | Ubuntu Register User #25492 
View user's profile Send private message Visit poster's website
etoiledemoon







PostPosted: Wed Feb 01, 2012 8:51 am Reply with quote

this change nothing ; server time stay like he is

Image

Forum config since on raven 2.4 php there is nowhere you can change the timezone on preferences

Image
 
kd8hho







PostPosted: Wed Feb 01, 2012 10:58 am Reply with quote

where is the server located?
 
etoiledemoon







PostPosted: Wed Feb 01, 2012 12:08 pm Reply with quote

server is in Switzerland
 
nuken







PostPosted: Wed Feb 01, 2012 3:26 pm Reply with quote

What timezone would you like for the server to show?
 
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Wed Feb 01, 2012 4:58 pm Reply with quote

If the server is in Switzerland it should change automatically to (GMT +1) I believe
My server for example is in Amsterdam.So i have:

1 February 2012 23:46:38 CET (GMT +1) within the block.

You can change it in the block directly but your news and feeds will also have a wrong time.
 
View user's profile Send private message
nuken







PostPosted: Wed Feb 01, 2012 5:03 pm Reply with quote

You can also change it in your root .htaccess by adding this to the top of it:

Code:


SetEnv TZ America/New_York


and that will set the server time to the selected timezone.
 
etoiledemoon







PostPosted: Thu Feb 02, 2012 8:15 am Reply with quote

did what you say and this didn't change the time on website
server time is gmt+1 paris but don't know website stay in
Server Date/Time
2 February 2012 09:14:47 EST (GMT -5)
 
dad7732
RavenNuke(tm) Development Team



Joined: Mar 18, 2007
Posts: 1242

PostPosted: Sat Mar 03, 2012 4:08 pm Reply with quote

What is the URL to the website, we'll have a look.
 
View user's profile Send private message
dad7732







PostPosted: Sat Mar 03, 2012 4:21 pm Reply with quote

Log in as admin, click on "Forums" in the admin panel. then click on "Configuration" on the left hand list. Scroll down to where you enter the time, zone, etc. and set it for your correct offset.
 
etoiledemoon







PostPosted: Sat Mar 03, 2012 4:25 pm Reply with quote

i've done it already :

Image

Forum config since on raven 2.4 php there is nowhere you can change the timezone on preferences

Image

http://www.t-moon.net
 
dad7732







PostPosted: Sat Mar 03, 2012 4:30 pm Reply with quote

If you have shell access on your server, login and at the prompt, type "date" no quotes, what is the result?

What I see:

Server Date/Time
3 March 2012 17:32:20 EST (GMT -5)

If you login to your server, is the time different?


Last edited by dad7732 on Sat Mar 03, 2012 4:33 pm; edited 1 time in total 
etoiledemoon







PostPosted: Sat Mar 03, 2012 4:33 pm Reply with quote

when I access server in shell , I've this : 03 Mar 12 23:32*
but on my website I've currently this :
Server Date/Time
3 March 2012 17:28:56 EST (GMT -5)

Url to website : [ Only registered users can see links on this board! Get registered or login! ]
 
dad7732







PostPosted: Sat Mar 03, 2012 4:36 pm Reply with quote

Is the server time actually correct? If so then there is a problem with your configuration on the web site. What is our OS, Windows, Linux or what?
 
etoiledemoon







PostPosted: Sat Mar 03, 2012 4:41 pm Reply with quote

the time on server is correct , it's a linux server CentOS release 6.2 (Final)
i've just move website from a server to another in the same datacenter

Funny is that forum is giving this :
The time now is Sun Mar 04, 2012 12:46 am
 
dad7732







PostPosted: Sat Mar 03, 2012 4:54 pm Reply with quote

When you set the time to GMT +1 and save it, when you return does it change back to GMT -5 on the configuration page ?
 
etoiledemoon







PostPosted: Sat Mar 03, 2012 4:56 pm Reply with quote

no it's stay in gmt +1 so forum time is ok but not on mainpage on phpnuke
that's really strange

mainpage currently this :
Server Date/Time
3 March 2012 17:56:36 EST (GMT -5)

forum :
The time now is Sun Mar 04, 2012 12:59 am

in ssh on server :
t-moon.net [~]# date
Sat Mar 3 23:58:34 CET 2012
 
dad7732







PostPosted: Sat Mar 03, 2012 5:00 pm Reply with quote

Does your database under bbconfig also show +1 for the board_timezone.
 
etoiledemoon







PostPosted: Sat Mar 03, 2012 5:07 pm Reply with quote

yes +1 no problem on bbconfig
 
dad7732







PostPosted: Sat Mar 03, 2012 5:22 pm Reply with quote

Hmmm, by chance are you NOT using the standard issue block "User Info", a mod maybe?
 
etoiledemoon







PostPosted: Sat Mar 03, 2012 5:27 pm Reply with quote

using the block-User_Info with raven v2.4 didn't do any change on it
 
dad7732







PostPosted: Sat Mar 03, 2012 5:33 pm Reply with quote

ssh into your server and at the prompt:

php -r "echo date('Y-m-d H:i:s');"

What do you get, is it the same if you type "date" ?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©