Blank Page Error...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    help Blank Page Error...

    Hi There Friends,when i add a link to this code im getting a blank page,can anybody help me...thanks...
    PHP Code:
    else if($action=="cinvite")
    {
        addonline(getuid_sid($sid),"Chatroom Invitation","");
        $rid=($_GET["rid"]);($rid);$tname=rname($rid);
    
        echo "<head>";
        echo "<title>$sitename</title>";
       if($theme){echo "<link rel="StyleSheet" type="text/css" href="style/$theme[0]" />";
    }
    else{echo "<link rel="StyleSheet" type="text/css" href="style/style.css" />";
    }
        echo "</head>";
        echo "<body>";
       echo "<div class="phdr"><center><b>Inviting Users To Chatroom</b></center></div><br/>";
      
      $shtm = time();
    
     $msg='Hello Friends, Join Me In This [b][chat='.$rid.']'.$tname.'[/chat][/b] So We Can Chat :)';
      mysql_query("INSERT INTO ibwf_shouts SET shout='".$msg."', shouter='".$uid."', shtime='".$shtm."'");
       
      
       echo "<div class="pras2"><p align="center">A <b>Shout</b> Has Been Added By Your ID containing Chatroom Link.</div></center>";
       
       echo "<br/>";
       echo "<div class="gmenuu"><center><a href="chat.php?action=chat&amp;rid=$rid&amp;sid=$sid">$tname</a><br/></center></div>";
      echo "<div class="list11" align="center">";
    
       echo "<a href="index.php?action=main&amp;sid=$sid"><img src="images/home.gif" alt="*"/>";
     echo "Home</a><br/>";
     echo "</div>";
       
       echo "<div class="phdra"><center><b>$copy</b></center></a></div>";
      echo "</body>";
    } 
    

    #2
    Upload this to server:
    error.php
    PHP Code:
    <?php
    error_reporting  (E_ALL);
    ini_set ('display_errors', true);
    include($_GET["page"]);
    ?>
    then goto error.php?page=chat.php in your web browser and it will display the error
    (Change chat.php to the correct page name)

    Comment


      #3
      Originally posted by something else View Post
      Upload this to server:
      error.php
      PHP Code:
      <?php
      error_reporting  (E_ALL);
      ini_set ('display_errors', true);
      include($_GET[&quot;page&quot;]);
      ?>
      then goto error.php?page=chat.php in your web browser and it will display the error
      (Change chat.php to the correct page name)
      Thanks,will try this out...

      Comment

      Working...
      X