JosephLenton / PHP-Error

Better error reporting for PHP, and prettier too!
1.35k stars 151 forks source link

added a custom 500 error page #99

Closed ibnsultan closed 1 month ago

ibnsultan commented 2 years ago

modifying the file shoulbe disabled by default debug option true | false ln 113 if debug is true ? dump off the error log : show a normal html 500 error page

Lokaci commented 1 year ago

Not working I downloaded the files but can't get it to work Not recognizing '\' error for \php_error\reportErrors(); Any suggestions

ibnsultan commented 1 year ago

did u get the path correctly

Lokaci commented 1 year ago

Yes On Fri, 10 Mar 2023, 09:28 Abdulbasit Rubeiyya, @.***> wrote:

did u get the path correctly

— Reply to this email directly, view it on GitHub https://github.com/JosephLenton/PHP-Error/pull/99#issuecomment-1463446464, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALBK7JLNGIBED64SINYBXN3W3LQ3DANCNFSM5GDHO6QQ . You are receiving this because you commented.Message ID: @.***>

ibnsultan commented 1 year ago

does the error handler work when you use the original rep, if it does just the original one, just include the 500 error page and the paste the code to identify whether debug is enabled or not

Lokaci commented 1 year ago

No it didn't work at all and that's what am confused 😕

On Tue, 14 Mar 2023, 13:19 Abdulbasit Rubeiyya, @.***> wrote:

does the error handler work when you use the original rep, if it does just the original one, just include the 500 error page and the paste the code to identify whether debug is enabled or not

— Reply to this email directly, view it on GitHub https://github.com/JosephLenton/PHP-Error/pull/99#issuecomment-1468004407, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALBK7JNZ4X52VDXPFOFJVRLW4BO6XANCNFSM5GDHO6QQ . You are receiving this because you commented.Message ID: @.***>

ibnsultan commented 1 year ago

there could be a conflict with some of your codes or PHP version, try to use whoops, if you're looking for a more collective tool I would suggest you take a look at dyf

Lokaci commented 1 year ago

Will do Insha Allah. Thank you so much 🙏

On Sat, 18 Mar 2023, 18:38 Abdulbasit Rubeiyya, @.***> wrote:

there could be a conflict with some of your codes or PHP version, try to use whoops https://github.com/filp/whoops, if you're looking for a more collective tool I would suggest you take a look at dyf https://github.com/ibnsultan/dyf

— Reply to this email directly, view it on GitHub https://github.com/JosephLenton/PHP-Error/pull/99#issuecomment-1474925807, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALBK7JJE7OJOCMZLKRUTJSLW4XXK3ANCNFSM5GDHO6QQ . You are receiving this because you commented.Message ID: @.***>