WARNING: There may be other issues in running the current version of UBB.Threads on an outdated version of PHP

If you just wanted to get around the error and get your site back up & running right now:

in libs/ubbthreads.php
FIND
Code
date_default_timezone_set(@date_default_timezone_get());

REPLACE WITH:
Code
date_default_timezone_set("UTC");


If you know what state your server is located in, and you wanted to manually set it as such, you could replace UTC with that server timezone code. The common USA time zone codes are:
PST - Pacific Standard Time
MST - Mountain Standard Time
CST - Central Standard Time
EST - Eastern Standard Time

https://simple.wikipedia.org/wiki/List_of_U.S._states_by_time_zone


Lol, Ignore all that. UBB.Threads 7.5.8+ still needs the bare minimum of PHP 5.1 with the recommendation being at least PHP 5.3+

Last edited by id242; 02/22/2016 12:32 AM.

Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com