PHP Error Query

OJM

Perch
I'm trying to run a multi forum script I downloaded, but coming across the below error when running it;

PHP:
 Warning: main(../sources/host/functions/skin_functions.php): failed to open stream: No such file or directory in /hsphere/local/home/domain/domainurl.co.uk/index.php on line 61

Fatal error: main(): Failed opening required '../sources/host/functions/skin_functions.php' (include_path='.:/usr/local/lib/php') in /hsphere/local/home/domain/domainurl.co.uk/index.php on line 61

I've tried to edit part of the config file that reads;

PHP:
// Root path

if(isset($USER['name'])){
	define( 'ROOT_PATH', "../" );
}else{
	define( 'ROOT_PATH', "./" );
}

However, I've only managed to get it to load, but come back with a scripted message (ie, written into the code), saying the config files cannot be found.

I don't know PHP at all, so would someone be able to shed any light on this please? I think it may have to do with permissions, or the root directory I'm choosing is incorrect, but I don't know where to start.

The script is located at;

Welcome to GetInvisionFree.com (Free message board hosting)
 
I've tried this script on my PC at home, using XAMPP as PHP server, and it works fine.

I uploaded the files after I configured them on my PC, and still the same.

Any ideas?

I'm trying to run this on a Unix box, but received the same when trying on a Windows server too.
 
Any ideas when PHP5 will be installed?

There was a topic in 2004 asking about it, and Yash stated that they'd like to wait a couple of months;

http://support.jodohost.com/php-mysql/2397-php-5-a.html?highlight=php5

It's now been 3 years.

Any plans to install it anytime soon?



The script states;

Script tested in:
Windows, Apache, and PHP Version 5.2.0
Linux, Apache, and PHP Version 4.3.11
Linux, Apache, and PHP Version 4.4.4


And your Linux box is running 4.4.6. I'm checking with the creator, but I assume it should work.
 
The developer has tried a few things to get the script working, but can't figure it out.

They said it should work, as they've tested it on PHP4.

Jodo, any ideas what could be stopping it working? Does Jodo have any 'out of the ordinary' settings on the PHP installs?
 
I got it working on a Windows server, but then ran into another problem...

Once a forum had been created (ie, test), it created a file named after the forum. The user then accessed, for example, www.domainname/forums/test and it would open their forum.

However, the test folder isn't actually a folder, it's the file (with no extension), with code to pass a variable into another file, and load the correct config to show the user's forum. Installing this on my PC worked fine, but for some reason on the Windows server it doesn't recognise the file as a folder.

Does anyone know what could cause this, and if there's a way of getting the server to handle this file / folder correctly?
 
Back
Top