Debugging PHP

Status
Not open for further replies.

paulczichos

New Member
Sep 21, 2020
28
2
3
26
I have a very wierd behavior. Then i try to delete a fax server i will just get an empty page. For me that feels like an error in the php. Anyone has any idea of how to debug this ?
 

paulczichos

New Member
Sep 21, 2020
28
2
3
26
the faxserver was not working because the auto_loader.php loaded the wrong (prob. old class). After i removed /var/www/fusionpbx/resources/classes/fax.php it worked fine.

If anyone else want to see the php errors from a single site you can insert the following lines in the php code:

PHP:
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

this thread can be closed
 
Status
Not open for further replies.