...

View Full Version : Errors with main site // forum // useronline -- Help :(



joshb
11-16-2006, 10:37 PM
Hi,

I can't seem to get my pages to come up on my site. I originally had invisionboard running with a modification called gladnews, in which the news would be displayed on my main page from the forum. I ended up changing forums and am now doing the same thing, only my pages are not viewable. My site is http://www.twistedportal.com.

My code for the pages was:




<?php

$page = htmlspecialchars($_GET['page']);
if(empty($page))
{
include("news.php");
}
else
{
if(file_exists("$page.php"))
{
include("$page.php");
}
else{ include("news.php"); }
}

?>

I removed this whole piece because news.php had Gladnews code in it so I had no use for it. Only now on my site you can't view pages and I have a huge error, for some other odd reason. I know I have to use some part of that code but I'm not experienced enough in PHP to get it to know what it is. Any help would be appreciated.

joshb
11-16-2006, 10:38 PM
See above.

joshb
11-17-2006, 04:13 PM
Just re-posting cause I updated this thread.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum