>>
Site Map
>>
Forums
>>
General 7x
Forum module - topics in forum:
General 7x - Discussions reagarding any other PHP-Nuke Problems. 7x
Configuring PHP to show parsing errors
Hi,
I am not sure if this is off-topic, but I have tried getting help from through some of the official PHP IRC chat rooms (which appear to be inactive), I have read the online manual and also looked on the read only forums, and haven't found what I am looking for.
I am trying to get my local website to report ALL errors (specifically parsing errors), but even though I have changed error_reporting in the php.ini to E_ALL, but it's not showing the parsing errors. On the previous install of XAMPP, it did show errors, which I thought was by default, but clearly, it's not.
Any input would be appreciated.
Best wishes, and thanks in advance.
Re: Configuring PHP to show parsing errors
| TheFuzzy0ne Wrote: : |
I am trying to get my local website to report ALL errors (specifically parsing errors), but even though I have changed error_reporting in the php.ini to E_ALL, but it's not showing the parsing errors. On the previous install of XAMPP, it did show errors, which I thought was by default, but clearly, it's not.
|
You did restart you PHP engine?
What version of PHP-Nuke are you using?
If you're using a patched version there is an option in your config.php:
$display_errors.
Change that value to TRUE.
Also, you can force to show error by using .htaccess.
BL
Thanks for replying to my query BlueLion.
I am using XAMPP by Apache Friends, so I can switch between PHP versions 4 and 5. I am using PHP-Nuke version 7.6 (sorry for not mentioning before). I think I should apply the patch I have been meaning to apply for a while now, but I wanted to get the original version running properly first. I didn't stop to think that the patched version would help with displaying errors. I will report back with my findings.
I wasn't aware that PHP needed restarting, as I was under the impression that it was called upon each time you parsed your PHP code, and that it would refresh with the new settings automatically. However, I did reboot just incase, and I have rebooted several times since then.
Thanks again 