Previous Thread
Next Thread
Print Thread
Hop To
PHP 5.6.2 #256003 10/30/2014 3: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
Re: PHP 5.6.2 [Re: BellaOnline] #256004 10/30/2014 3: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 12:12 PM
Joined: Jun 2006
Posts: 15,852
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,852
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 2: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 2: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 2:44 PM
Joined: Dec 2003
Posts: 5,998
Ruben Offline
Offline
Joined: Dec 2003
Posts: 5,998
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

Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Mobile app?
by Baldeagle - 12/06/2019 9:32 PM
How do you change Text Line spacing?
by jorb - 11/23/2019 12:14 AM
What happened to FAQ or Forum Help
by Ruben - 11/20/2019 11:58 AM
Search feature encountering an Error message
by jorb - 11/20/2019 12:06 AM
Followed List v7.7.2 Question
by Ruben - 11/12/2019 12:22 PM
Who's Online Now
1 registered members (isaac), 75 guests, and 387 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20191023)