how show php error on byethost

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

    how show php error on byethost

    Pls am using byethost free hosting account
    my site was showing white pages and did not show me the the errors i made,
    so i put this below code above my script and still no change all still the same with white page.

    PHP Code:
    error_reporting E_ALL );
    ini_set 'display_errors' 'On' ); 
    pls help me out!!!!!

    #2
    try using it on a separate page and then using an include like this:
    PHP Code:
    <?php
    error_reporting  
    (E_ALL);
    ini_set ("display_errors"true);
    include(
    $_GET["page"]);
    ?>
    But make sure you remove it from the server when not in use to avoid include attacks

    Comment


      #3
      simple create file .htaccess
      and put this inside
      Code:
      php_flag display_errors on
      It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
      ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
      ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
      キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

      Comment

      Working...
      X