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,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
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,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
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
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Havenofsobriety), 522 guests, and 99 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)