Page 1 of 1
Date problem on board index
Posted: Wed Sep 08, 2010 11:03 pm
by DeadWolf
Code: Select all
date_default_timezone_set('Europe/Dublin');
Paste that in a config file so I can stop seeing that error.
Re: Date problem on board index
Posted: Thu Sep 09, 2010 12:58 pm
by Deques
Still getting the problem :S
Re: Date problem on board index
Posted: Thu Sep 09, 2010 4:39 pm
by DeadWolf
PHPbb wasn't written with PHP 5.1.0 in mind. (Sad that your server just now got update)
Since PHP 5.1.0 you are required to choose a timezone instead of relying on the server. You can either pop that function up there in a file that is included on every page like common.php (just a guess) or you can set the timezone in the php.ini with date.timezone. That should solve your problem.
Re: Date problem on board index
Posted: Fri Sep 10, 2010 4:43 am
by Dr. Sheexy
Yeah the update thing just randomly happened, was wondering why the site was down the other day.
I'm not gonna attempt to fix this cause I'll just kill the board I'm sure. XD
Re: Date problem on board index
Posted: Sat Sep 11, 2010 9:15 am
by Deques
Seeing why the problem still persist even though I have updated the config file. I cant upload anything to the ftp :(
Gotta ask Tomas
Re: Date problem on board index
Posted: Sat Sep 11, 2010 7:27 pm
by Deques
Fixed.