how show php error on byethost

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

2 replies · 2,108 views · started 14 years ago · 1 min read

3 participants
jaidon20k Developer · 64 posts #1

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.

error_reporting ( E_ALL );
ini_set ( 'display_errors' , 'On' );

pls help me out!!!!!

something else Fellow · 2,296 posts #2

try using it on a separate page and then using an include like this:

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

metulj Super moderator Principal · 1,726 posts #3

simple create file .htaccess and put this inside

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ノ刀ノイリ!

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