Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jul 2006
Posts: 3
stranger
stranger
Joined: Jul 2006
Posts: 3
Hello. I'm still running version 6 of UBB.threads and it seems to malfunction since our server updated PHP to one of the latest versions of the PHP5 series. I've tried a few things, like reuploading the installer, but strange PHP errors just go on. I've also checked the file permissions and stuff but they should be alright. Can someone tell me how to get UBB.threads 6 working on PHP5? Here are the error messages the files give me:

Warning: include() [function.include]: open_basedir restriction in effect. File(/ubbt.inc.php) is not within the allowed path(s): (/home/mydomain.com:/tmp) in /home/mydomain.com/www/forums/main.inc.php on line 13

Warning: include(/ubbt.inc.php) [function.include]: failed to open stream: Operation not permitted in /home/mydomain.com/www/forums/main.inc.php on line 13

Warning: include() [function.include]: Failed opening '/ubbt.inc.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/mydomain.com/www/forums/main.inc.php on line 13

Fatal error: Call to undefined function getmicrotime() in /home/mydomain.com/www/forums/main.inc.php on line 16

Thanks in advance!

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
I know that UBB.Threads6 cannot run on MySQL5, but I was thinking that it would be fine on PHP5...

Your errors however sound like an issue with open_basedir vs the ubb.


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!
Joined: Jul 2006
Posts: 3
stranger
stranger
Joined: Jul 2006
Posts: 3
Can you or somebody else please give me some info about the thing you call open_basedir? I'm sorry but I'm not an advanced webmaster, I know PHP/mySQL scripting a little though, but I have never heard of anything like this. Do I need to contact my server admin about it?

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
There is a set of "approved" directories for scripts to run in, this is defined by open_basedir (which is a part of the safe mode module); only your webserver owner can add directories to it, as it requires an update to the configuration files.

More information on safemode can be found in the php manual


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!
Joined: Jul 2006
Posts: 3
stranger
stranger
Joined: Jul 2006
Posts: 3
Okay, thanks. I've notified my server admin about this! :-)

Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
UBB.threads runs fine on php5. Open_basedir is a restoriction that existed in php4, as well.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
As I'm running it on PHP5 I figured that already wink


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!

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
1 members (Ruben), 476 guests, and 111 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)