?
avatar Quadratica
Quadratica
13 Sep 2020

Joomla doesn't display any php errors/warnings, even though when i set "Error Reporting" option to "Development".
I have to develop some joomla extensions, then the first setting i set is this option above, because i absolutly need to be able to see PHP errors.

I found out that joomla fails to display errors because of this code line:
set_exception_handler(array('JErrorPage', render')); , this is on the file: "/libraries/cms.php" (at line number 71).

In my opinion when i select "Development", i would like this code line was skipped, what do you think about?

avatar Quadratica Quadratica - open - 13 Sep 2020
avatar joomla-cms-bot joomla-cms-bot - change - 13 Sep 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 13 Sep 2020
avatar ReLater
ReLater - comment - 14 Sep 2020

I can't reproduce this issue. I see PHP warnings, errors, notices in Joomla (every day).

Is display_errors deactivated on your server the hard way?

avatar Quadratica
Quadratica - comment - 14 Sep 2020

I tried to set server display_errors On, but i wasn't be able to see any error message.
Now display_errors is dectivated, "Error Reporting" option, i think above option should overwrite server settings.

is there anyone having the same problem of mine?

avatar ReLater
ReLater - comment - 14 Sep 2020

In the Joomla backend: Check System > System information > PHP information > display_errors. If error_reporting is activated in Joomla it tries to switch this setting to 1 (= on).

To be on the safe side: If you add code that should show a fatal error on your page, you see a blank, white page? Nothing else?

Did you test already with template Protostar to be sure that it's not a "stupid" template?

The same with setting "Maximum" instead of "Development"?

avatar Quadratica
Quadratica - comment - 15 Sep 2020

To be on the safe side: If you add code that should show a fatal error on your page, you see a blank, white page? Nothing else?

Only Blank Page

Did you test already with template Protostar to be sure that it's not a "stupid" template?

I'm using a third party template, yes, it could be a bad template.

The same with setting "Maximum" instead of "Development"?

Yes

avatar Quy Quy - change - 16 Sep 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-09-16 14:05:00
Closed_By Quy
avatar Quy Quy - close - 16 Sep 2020
avatar Quy
Quy - comment - 16 Sep 2020

Please ask help in Joomla Forum. https://forum.joomla.org/

Add a Comment

Login with GitHub to post a comment