Previous Thread
Next Thread
Print Thread
Hop To
UBBT 7.6 Install
#259446 02/25/2017 11:56 PM
Joined: May 2004
Posts: 11
stranger
OP Offline
stranger
Joined: May 2004
Posts: 11
I am receiving the following error when I try ubbt 7.6....

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/ubbt/libs/mysql.inc.php:21 Stack trace: #0 /var/www/ubbt/libs/ubbthreads.inc.php(92): sql->connect() #1 /var/www/ubbt/ubbthreads.php(53): require_once('/var/www/ubbt/l...') #2 /var/www/ubbt/index.php(19): include('/var/www/ubbt/u...') #3 {main} thrown in /var/www/ubbt/libs/mysql.inc.php on line 21

Fedora 25 x64, UBBT 7.6.0, and PHP 7.0.16, Zend Engine v3.0.0.

I think mysql_connect() was depreciated in 5.6 and removed in 7.0.....

Re: UBBT 7.6 Install
jbergmann #259447 02/25/2017 11:58 PM
Joined: Jun 2006
Posts: 15,956
Likes: 31
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,956
Likes: 31
UBB.threads does not support PHP7.

If you'd have used the search you'd find this topic talked to death.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: UBBT 7.6 Install
Gizmo #259448 02/26/2017 12:09 AM
Joined: May 2004
Posts: 11
stranger
OP Offline
stranger
Joined: May 2004
Posts: 11
Darn frown I have an old Fedora machine that has php 5.2.9 so v7.6 will not upgrade....then I have a newer machine that has php 7.0.16 that is too new...

Thanks for the quick response.

Re: UBBT 7.6 Install
jbergmann #259449 02/26/2017 12:10 AM
Joined: Jun 2006
Posts: 15,956
Likes: 31
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,956
Likes: 31
If you're installing from a repo, or using a WAMP install, there should be a copy of PHP5.6 available; but UBB.threads v7.6.0 requires PHP 5.3-5.6.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: UBBT 7.6 Install
jbergmann #259450 02/26/2017 12:13 AM
Joined: Apr 2004
Posts: 1,719
Likes: 64
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,719
Likes: 64
Upgrade that php 5.2 to at least php 5.3. Go to php 5.6 if you can -- at the very least, do it for the sake of security.

PHP5.2 was released November, 2006
It was only supported until January 2011

https://en.wikipedia.org/wiki/PHP#Release_history


Current developer of UBB.threads PHP Forum Software // 7.7.4 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Re: UBBT 7.6 Install
Gizmo #259451 02/26/2017 12:22 AM
Joined: May 2004
Posts: 11
stranger
OP Offline
stranger
Joined: May 2004
Posts: 11
Thanks Gizmo.... I will keep looking but it appears that Fedora 25 came with php v7.0.12-2. It also appears that downgrading could be problematic and running two different versions on the same server is not advised either.


Link Copied to Clipboard
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Disaster!!! Files became empty.. Please advise.
by Morgan - 07/27/2020 2:38 PM
Unable to Update Censor List
by BOTCuser - 07/22/2020 9:15 AM
7.7.4 error on rebuilders
by Ruben - 07/21/2020 3:06 PM
[STOCK] UBB.threads Group Image Pack
by isaac - 07/19/2020 9:03 PM
Who's Online Now
3 members (Ruben, Gizmo, 1 invisible), 73 guests, and 54 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 7.7.5
(Snapshot build 20200807)