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
[/PHP]
I’ve tried to edit part of the config file that reads;
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.
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?