Previous Thread
Next Thread
Print Thread
Hop To
PHP 5.6.2
#256003 10/30/2014 4:19 AM
Joined: Jun 2006
Posts: 686
Addict
OP Offline
Addict
Joined: Jun 2006
Posts: 686
I have a brand new server I'm moving to that is running PHP 5.6.2 and I'm getting errors about

Fatal error: require_once(): Failed opening required '/romance/forum/libs/functions_forums.inc.php' (include_path='.;C:\php\pear') in C:\aWEB\romanceclass\forum\scripts\cfrm.inc.php on line 24

There is no pear directory in my c:\php directory. Is this not going to work with PHP 5.6.2 or is something else wrong? Do I need to install pear?

Lisa


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: PHP 5.6.2
BellaOnline #256004 10/30/2014 4:49 AM
Joined: Jun 2006
Posts: 686
Addict
OP Offline
Addict
Joined: Jun 2006
Posts: 686
OK that was far less painful than I had feared. I installed PEAR, made sure my various directory links were set up properly, and the forums are running. I'm able to read and add new posts.

So for anyone else contemplating using PHP 5.6.2 it seems to be OK.


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: PHP 5.6.2
BellaOnline #256007 10/30/2014 1:12 PM
Joined: Jun 2006
Posts: 15,956
Likes: 31
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,956
Likes: 31
I was going to say to check your paths; perl is just listed in the servers config path (since it's a pretty standard module, most webservers just add it to the include path) but it shouldn't be required by threads to be run.


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: PHP 5.6.2
BellaOnline #256041 11/06/2014 3:22 AM
Joined: Jun 2006
Posts: 686
Addict
OP Offline
Addict
Joined: Jun 2006
Posts: 686
Thanks, I now have my multiple UBB boards all up and fine in this new version of PHP so no problems with it.


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: PHP 5.6.2
BellaOnline #256202 12/16/2014 3:28 PM
Joined: Sep 2006
Posts: 27
newbie
Offline
newbie
Joined: Sep 2006
Posts: 27
Any ideas on how to handle mysql connections?

I attempted (briefly) to get UbbT 7.5.8 running under PHP 5.6.3 and it kept throwing errors over a missing mysql_pconnect(), which I assumed was because it has been deprecated and (I assume at this point) removed. Supposedly, we are supposed to use pdo_mysql_ or mysqli_ going forward

I briefly considered hacking the database/SQL class to switch over to using msqli_ methods, but I didn't have time to follow through it all.



Should I have ran into those issues, or is it more likely that I missed something (even though I *swear* I had php.ini setup correctly).


Jesus was an architect previous to his career as a prophet
All of a sudden, I found myself in love with the world
So there was only one thing that I could do
Was ding a ding dang my dang a long ling long
Re: PHP 5.6.2
BellaOnline #256203 12/16/2014 3:44 PM
Joined: Dec 2003
Posts: 6,183
Likes: 28
Online Yawn
Joined: Dec 2003
Posts: 6,183
Likes: 28
As I understand it "mysql_pconnect" is used for persistent connections only which I don't use.
In fact it has been suggested even though offered in UBB setup not to use it.

Control Panel » DB, Paths & URLs
Use Persistent Connections?

If that is enabled I would turn it off.

If you can't open the control panel, you could edit the includes/config.inc.php file.

To disable it, it would be like:
'PERSISTENT_DB_CONNECTION' => ' ',


Blue Man Group
There is no such thing as stupid questions. Just stupid answers

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
2 members (Ruben, JAISP), 86 guests, and 71 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)