MyBB Community Forums

Full Version: CSS not loading.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey.
When I go to my domain via http://www.metalgearforums.com is loads everything but the style sheet but when I go to the directory itself it works okay: http://www.metalgearforums.com/bb/
css.php is in the root directory but no luck, it just doesn't load.

Can anybody help me with my problem? Many Thanks. Smile
What are you trying to load in css.php?

Quote:Warning: main(./inc/init.php): failed to open stream: No such file or directory in /home/mgboss/public_html/css.php on line 15

Warning: main(./inc/init.php): failed to open stream: No such file or directory in /home/mgboss/public_html/css.php on line 15

Warning: main(./inc/init.php): failed to open stream: No such file or directory in /home/mgboss/public_html/css.php on line 15

Fatal error: main(): Failed opening required './inc/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mgboss/public_html/css.php on line 15
I am not too sure what you mean. Just css.php?theme=4
Well on line 15, css.php is trying to load a file it can't find. This is probably why you have no CSS. Whats the contents of css.php?
Code Removed.


-------------------------------------------

It's unmodified by the way.
This proabably wont work but try changing:
require "./inc/init.php";
to
require "./bb/inc/init.php";
Nope, didn't work. Sad
BIG_BOSS,

You are not allowed to put up whole files from MyBB.

Sorry.
Ryan Ashbrook Wrote:BIG_BOSS,

You are not allowed to put up whole files from MyBB.

Sorry.


Oh, I'm sorry I wasn't aware. Smile
What are you trying to do?

It looks like your using portal.php and your main websites index page