MyBB Community Forums

Full Version: Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I am receiving this error:

Quote:Fatal error: main(): Failed opening required './inc/init.php' (include_path='.:/usr/local/lib/php') in /home/www/twinkletowers.freehostia.com/forums/global.php on line 13


Anyone know what might be wrong?
You haven't seemed to upload all the files. Make sure inc/init.php exists.
Yes it exsists. Are there any other possibilities?
No it doesn't exist Toungue It's probably in the wrong directory.

I can promise you that inc/init.php isn't where its supposed to be or it doesn't exist.
Did you get this fixed? When I go to http://twinkletowers.freehostia.com/forums/ the page loads all right.
Where are you getting this error?
Another software installed on my site is trying to acsess the file and cant. According to my FTP program, init.php is located at:

http://twinkletowers.freehostia.com/forums/inc/init.php?
you need to define IN_MYBB like the following

define("IN_MYBB", 1);
Okay. After I did that, I still receive this error:

Fatal error: main(): Failed opening required './inc/init.php' (include_path='.:/usr/local/lib/php') in /home/www/twinkletowers.freehostia.com/forum/global.php on line 13
You need to correct the include path as it appears its not correct.


Also is this a code modification?
Is the script that's calling global.php in a different directory than the forum directory?
Pages: 1 2