You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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);
The text was updated successfully, but these errors were encountered: