Date problem on board index

Help out with the site! Suggestions and ideas go here.
Post Reply
User avatar
DeadWolf
Spikey Tiger
Posts: 1456
Joined: Wed Jan 31, 2007 3:09 am
Location: Deceased

Date problem on board index

Post by DeadWolf »

Code: Select all

date_default_timezone_set('Europe/Dublin');
Paste that in a config file so I can stop seeing that error. -.-
User avatar
Deques
$("#Wai").stupidfy();
Posts: 1913
Joined: Thu May 18, 2006 5:39 pm
Location: Sweden
Contact:

Re: Date problem on board index

Post by Deques »

Still getting the problem :S
User avatar
DeadWolf
Spikey Tiger
Posts: 1456
Joined: Wed Jan 31, 2007 3:09 am
Location: Deceased

Re: Date problem on board index

Post 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.
User avatar
Dr. Sheexy
Site Admin
Posts: 3870
Joined: Sun May 21, 2006 9:49 pm
Location: Texas
Contact:

Re: Date problem on board index

Post 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
User avatar
Deques
$("#Wai").stupidfy();
Posts: 1913
Joined: Thu May 18, 2006 5:39 pm
Location: Sweden
Contact:

Re: Date problem on board index

Post 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
User avatar
Deques
$("#Wai").stupidfy();
Posts: 1913
Joined: Thu May 18, 2006 5:39 pm
Location: Sweden
Contact:

Re: Date problem on board index

Post by Deques »

Fixed. :D
Post Reply