Using a small htaccess line and the use of some clever core php functions you can prettify your PHP errors and finally get rid of that damn white screen with black text.

Using error_get_last() and register_shutdown_function() the world of ugly errors is a thing of the past

Nguồn:https://madisonrep.org/

6 Comments

CAN Pro

February 29, 2020

Fatal error: Call to undefined method LOAD::body() in /home/content/63/9509263/html/index.php on line 24

Reply

ERAN OR

February 29, 2020

for anybody who use cgi/fcgi – you can't use the method php_value
as alternative create a file like – .user.ini – in this file write line like –
auto_prepend_file = shutdown.php

Reply

optikalefx

February 29, 2020

@ajlloyd0000 Coda

Reply

James Stine

February 29, 2020

Great video, I didn't know about this what so ever.
I always enjoy watching your videos as I tend to say, you keep it informative and entertaining.

Reply

optikalefx

February 29, 2020

@jfuruskog ive been super busy – what part were you waiting for? I know you had wanted a few features but i cant remember which ones exactly.

Either way, development for 1.8 should be starting in a few weeks again.

Reply

Timzy921

February 29, 2020

Cool video I never knew this could be done.

Reply

Leave a Reply