Previous Thread
Next Thread
Print Thread
Hop To
Joined: Aug 2007
Posts: 45
M
newbie
newbie
M Offline
Joined: Aug 2007
Posts: 45
After performing the steps to upgrade our message board from 7.5.7 to 7.5.8, when I run install/upgrade.php I get the following error

Fatal error: Call to undefined function: date_default_timezone_set() in /var/www/html/forum/libs/ubbthreads.inc.php on line 33

Any suggestions on how to proceed?

I used the latest version of ubb in the member area.

Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
What version of PHP do you have?
Most issues are due to a extremely old php version that does not support that function.
google:
Call to undefined function: date_default_timezone_set
One post to read.
http://board.phpbuilder.com/showthread.php?10365481-Call-to-undefined-function-date_default_timezone_set%28%29


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Aug 2007
Posts: 45
M
newbie
newbie
M Offline
Joined: Aug 2007
Posts: 45
4.4.6

I will try upgrading to 5.3.8

Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Note to Brooks!!!
Since v7.5.8 was released to support newer versions of PHP possibly the requirements page that states
Minimum version of php 4.3+ is not correct anymore?
https://www.ubbcentral.com/


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Aug 2007
Posts: 45
M
newbie
newbie
M Offline
Joined: Aug 2007
Posts: 45
I upgraded to PHP version 5.3.8 and the upgrade was successful. Thank you for the help.

Note that I would have missed the entire minimum php version required notice. I just assumed that the jump from .7 to .8 was minor and did not require an update of PHP on our server.

Maybe adding a check at the start of the unpdate script of the installed PHP version would help.

Thanks again,
Mike


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
2 members (Nightcrawler, Ruben), 694 guests, and 214 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)