My site is on live online server, after installing few modules (user definded forms) via SSH and Composer i get 500 internal server error. I try to run /dev/build/?flush but nothing is happening. Again the some error!
I check in chrome to inspect in network tab and there is also 500. So dev env in not enabled.
I try to enable it:
_config.php
Config::inst()->update("Director", "environment_type", "dev");
config/config.yml :
Director:
environment_type: 'dev'
And nothing is happening. It wont to change on dev env to allowe me to run dev/build?flush. I realy dont know what i do wrong.
I also try this way inside _config.php
ini_set('display_errors', 1);
error_reporting(E_ALL);
Director::set_environment_type('dev');
SS_Log::add_writer(new SS_LogFileWriter('./logs/'), SS_Log::WARN, '<=');
And nothing again.
How can i slove this problem and back my site to work again?