Mod note: three posts combined into one.
in modx frontend dont show errors in the page, is a new freature? how to disable?
hi
--
hi for me is very important disable this new freature, how to do please
thanks
--
please anybody can help me?
i dont know if is a server issue but i couldent find errors in my pages when updated to 9.5 final
and is very dificult to me find errors, some times give me a blank page (in others versions of modx too but if refresh and reload show the error mensage,) and in others redirect to error page whithout showing errors.
thanks in advance.
Right. PHP error messages aren’t shown in 0.9.5, but you’d like to be able to see them while you’re debugging things. Good question, I’d also like to know the answer to that.
thanks for the quik reply, im going crazy and thinking is a problem whith my server now i know is a modx thing, if anybody know how to shout up for debug please post here and if not
Could i downgrade a instalation of modx to a lower version? im developing a very big snippet and now i realy need for debug.
thanks and hi.
-
☆ A M B ☆
- 24,524 Posts
I believe that the errors are displayed to logged-in manager users.
-
MODX Staff
- 10,725 Posts
You can set error_reporting(E_ALL & ~E_NOTICE), or just E_ALL, in two places to debug the site, but yes, you still need to be logged in as manager to do so. Also, what Susan says is true, but only if you modify the error_reporting calls in the index.php and manager/includes/config.inc.php file from error_reporting(0).
I know, it’s a mess, but this will all be solved in the next minor release, so you can easily switch in and out of debug mode by changing simple configuration settings, log errors to standard php error logs or custom log files, and much more...
i dont understand where to put
error_reporting(E_ALL & ~E_NOTICE);
it is in index php and in config.ink.php
what i need to do for show errors i could be logged in manager.
thanks very much.
i see the system events in the manager but if a white page shows the manager dont take error, in later version when refresh the site in the manager it show the error but now nothing show and in the manager system events nothing appers.
thanks for the help.