PDA

View Full Version : same problem with installing different mods


jules213
07-18-2005, 06:32 AM
Hi all,

i've managed to get the forum up fine, but i've tried to install two seperate mods and each time i go to the last steps of install_mod.php it comes up with this error (obviously slightly different but same concept for both)

Warning: main(./global.php): failed to open stream: No such file or directory in /hsphere/local/home/jules213/youth-tv.co.uk/forums/admincp/install_arcade.php on line 24

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /hsphere/local/home/jules213/youth-tv.co.uk/forums/admincp/install_arcade.php on line 24

I'm figuring i've done something wrong somewhere along the line, so was wondering if anyone may now what from looking at this error.

thanks in advance,

jules

amykhar
07-18-2005, 02:58 PM
The permissions on a directory that the script have not been properly changed. In the script, it asked you to chmod some directories or files so that the script could write to them.

When you install a mod, you need to do each step in the mod instructions. Otherwise, things don't work right.

jules213
07-18-2005, 03:46 PM
thanks, to be honest don't recall any chmod instructions but i will have another look.

i spoke to be server company and they were under the impression the global file needed to be in the admincp directory (which seems a bit odd, and it never said anything about that in the install instructions),

anyway, will have a look and return anon.

amykhar
07-18-2005, 04:18 PM
Ah, I just reread the error message. I need to stop staying up till 3 am coding :blush: Which arcade are you installing?

Marco van Herwaarden
07-18-2005, 04:25 PM
There are 2 global.php's. 1 in your forumhome and one in the admincp directory. They are not the same, and should never be mixed !!!!

Sounds to me more like you are using table prefixes and the hacks you are installing don't support that correctly.