Blank Page Error...

Started on the old forum in October 2015 · view the original in the archive · old links redirect here

#lavalair

2 replies · 96 views · started 11 years ago · 1 min read

2 participants
sky2kv Junior · 30 posts #1

Hi There Friends,when i add a link to this code im getting a blank page,can anybody help me...thanks...

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&rid=$rid&sid=$sid">$tname</a><br/></center></div>";
  echo "<div class="list11" align="center">";

   echo "<a href="index.php?action=main&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>";
}
something else Fellow · 2,296 posts #2

Upload this to server: error.php

<?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)

sky2kv Junior · 30 posts #3

something else wrote: Upload this to server: error.php

<?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)

Thanks,will try this out...

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close