MyBB Community Forums

Full Version: My page doesn't understand the variables
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Yes, my index.php is the principal "landing page" which includes several other pages.

<?php
if($mybb->user["uid"]) {
include('membernav.html');
include('memberindex.php');
} else {
include('guestnav.html');

thats a snippit from the index.php page.
Ok, then delete the include("global.php"); thing Smile
Just tried that and it took me to the login page, tried to login and got a white page with an error. That was just after taking include (global.php) out from the index page.
(2011-10-19, 06:41 PM)Knerba Wrote: [ -> ]got a white page with an error.

Knowing the error message might help someone diagnose the problem.
Sorry got confused there, it wasn't really an error page. Well it was with no error message. It just stopped me from logging in. I think that's linked to the fact that the index.php (custom page) has a login form. It practically said "Logging in" then took me back to the login page.
Anybody?! :O
Pages: 1 2 3