Previous Thread
Next Thread
Print Thread
Hop To
#256003 10/30/2014 4:19 AM
Joined: Jun 2006
Posts: 693
Addict
Addict
Joined: Jun 2006
Posts: 693
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 - 58,000 members / 850,000 posts
BellaOnline #256004 10/30/2014 4:49 AM
Joined: Jun 2006
Posts: 693
Addict
Addict
Joined: Jun 2006
Posts: 693
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 - 58,000 members / 850,000 posts
BellaOnline #256007 10/30/2014 1:12 PM
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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!
BellaOnline #256041 11/06/2014 3:22 AM
Joined: Jun 2006
Posts: 693
Addict
Addict
Joined: Jun 2006
Posts: 693
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 - 58,000 members / 850,000 posts
BellaOnline #256202 12/16/2014 3:28 PM
Joined: Sep 2006
Posts: 35
Newbie
Newbie
Joined: Sep 2006
Posts: 35
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
BellaOnline #256203 12/16/2014 3:44 PM
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
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
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
0 members (), 396 guests, and 110 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)