Previous Thread
Next Thread
Print Thread
Hop To
PHP 5.6.2 #256003 10/30/2014 4:19 AM
Joined: Jun 2006
Posts: 673
BellaOnline Offline OP
old hand
OP Offline
old hand
Joined: Jun 2006
Posts: 673
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
Express Hosting
Re: PHP 5.6.2 [Re: BellaOnline] #256004 10/30/2014 4:49 AM
Joined: Jun 2006
Posts: 673
BellaOnline Offline OP
old hand
OP Offline
old hand
Joined: Jun 2006
Posts: 673
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 [Re: BellaOnline] #256007 10/30/2014 1:12 PM
Joined: Jun 2006
Posts: 15,848
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,848
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.
Need to Upgrade?
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 [Re: BellaOnline] #256041 11/06/2014 3:22 AM
Joined: Jun 2006
Posts: 673
BellaOnline Offline OP
old hand
OP Offline
old hand
Joined: Jun 2006
Posts: 673
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 [Re: BellaOnline] #256202 12/16/2014 3:28 PM
Joined: Sep 2006
Posts: 27
PrplPplEater Offline
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 [Re: BellaOnline] #256203 12/16/2014 3:44 PM
Joined: Dec 2003
Posts: 5,940
Ruben Offline
Offline
Joined: Dec 2003
Posts: 5,940
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

Additional Resources
UBB Developers
UBB Wiki
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Strange Merge Issue
by Baldeagle - 08/16/2019 3:37 PM
Formatting Links
by Ty Griffin - 08/13/2019 4:39 PM
Changing from iso-8859-1 to UTF-8?
by Daryl Fawcett - 08/13/2019 9:58 AM
Threaded Mode
by ToddUGA - 08/10/2019 9:18 PM
Who's Online Now
0 registered members (), 46 guests, and 209 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
M4TT
M4TT
Canada, SK
Posts: 87
Joined: March 2015
Show All Member Profiles 
Forum Statistics
Forums34
Topics35,320
Posts192,715
Members11,865
Most Online2,569
Jul 27th, 2019
Random Gallery Image
Latest Photos
The Sky
Land Rocks
Cozy Places
Trees
Powered by UBB.threads™ PHP Forum Software 7.7.3