-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I am using Linux Mint, based on Ubuntu. It seems that these OS treat all the sites as Production mode, and thus they disable the error reporting by default.
We can of course set it on in the php.ini file but since awecms uses a single php file to handle all the request, I would recommend a small fix so that even if the settings are turned off, the cms itself overrides the thing.
I'm not sure whether it is a good way to do it, but still here it is.
It worked for me, kept the code in "index.php"
ini_set('display_errors', true); error_reporting(E_ALL ^ E_NOTICE);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels