oligalma
(Marc Oliveras)
December 26, 2015, 5:33pm
1
I’m developing a module and I always get this message when there is an error:
[b]An internal server error occurred.
The above error occurred while the Web server was processing your request.
Please contact us if you think this is a server error. Thank you. [/b]
Is there any way that the system explains the error more exactly?? I find it really difficult to solve errors with this imprecise message.
Bizley
(Bizley)
December 26, 2015, 5:56pm
2
Have you got your app set in developer mode (not in a production one)? In dev mode full error stack is displayed on screen. And there are still error logs.
oligalma
(Marc Oliveras)
December 26, 2015, 6:54pm
3
Brilliant, that was the solution!
I changed this:
defined('YII_DEBUG') or define('YII_DEBUG', false);
to
defined('YII_DEBUG') or define('YII_DEBUG', true);
and it worked