Hello all,
I have an autoinstaller script that hosts free IPB's. Anyways, I was installing one at my site just to play around with and all, I don't really plan on hosting IPB forums, but I just wanted to play around.
I'm having problems though.
Go to:
http://computerhelpforum.org/boards/new_forum.php
If you install a new board, it screws up, and just doesn't create right. I think it's something I messed up in the index.php file.
I was hoping you guys could help me; I edited it and screwed it up somehow. I don't know what to fix it, but there are errors. I think if I fix that document, my problems will be corrected.
//--------------------------------
// Import $INFO, now!
//--------------------------------
if ($forum==true) {
setcookie ("ForumSetCookie", $forum, time()+31536000);
header("Location: $PHP_SELF");
exit;
}
if ($ForumSetCookie==true) {
if(is_file("conf_global/".$ForumSetCookie.".php")) {
require ROOT_PATH."conf_global/$ForumSetCookie.php";
}
else
{
include "conf_global/multiforums.config.inc.php";
setcookie ("ForumSetCookie");
header("Location: $exist_error_url");
exit;
}
include "conf_global/multiforums.config.inc.php";
header("Location: $noforum_error_url");
exit;
}
//--------------------------------
// The clocks a' tickin'
//--------------------------------
$Debug = new Debug;
$Debug->startTimer();
Please help me.
Thanks guys.