Log in

View Full Version : Error after moving forum directory


BozzaJos
11-21-2007, 02:33 PM
Hey guys and gals!

A while back I moved my forum from the directory /fmf/ to my root directory. When I try to delete the file global.php in the /fmf/ directory I get the following error:

Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/fmform/domains/site/public_html/index.php on line 102
Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/fmform/domains/site/public_html/index.php on line 102

I've got a forum with a huge amount of hacks and tweaks installed. I've also got a custom style. Does anyone know how I can fix this problem?

If you need more information, please ask me.

Thanks in advance.

Best regards,

Jos (AKA Bozza)

punchbowl
11-21-2007, 02:38 PM
Have you set the paths correctly in cp

I went through similar
https://vborg.vbsupport.ru/showthread.php?t=158130

snakes1100
11-21-2007, 02:46 PM
I assume you get the error AFTER you delete the file from the old dir?

What exactly are you doing when you get the error in the forum?

It almost sounds like you have it symlinked to the old dir and there is no physical global.php file in public_html.

BozzaJos
11-24-2007, 04:10 PM
Thanks for the replies guys. I did have a look at the path in my cp but it was set correctly. I did find the problem though. The link to vBAdvanced was set wrong. I changed it from cmps_index.php to index.php but the code in the file was still set to /fmf/.

Everything is solved now.

Thanks for the replies guys! Appreciate it...