Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Aug 2004
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Errors with main site // forum // useronline -- Help :(

    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 Code:

                        <?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.
    Last edited by joshb; 11-17-2006 at 04:14 PM.

  • #2
    New Coder
    Join Date
    Aug 2004
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    See above.
    Last edited by joshb; 11-17-2006 at 04:13 PM.

  • #3
    New Coder
    Join Date
    Aug 2004
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Just re-posting cause I updated this thread.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •