I´m using Silverstripe 4 and created a page with a form. Something gets wrong and I only get a blank page with:
"There seems to have been a technical problem. Please click the back button, refresh your browser, and try again."
- In .htaccess I set php_flag display_errors on
- In the _config.php I set error_reporting(E_ALL);
- And in the mysite/_config/app.yml I set this:
Only: environment: 'dev'
SilverStripe\Security\BasicAuth: entire_site_protected: true
Now all I wanna do is to let Silverstripe show me the errors. In Silverstripe 3 the only thing to do was: Director::set_environment_type("live");
What must I do to show the errors?
php_flagand will throw a server error if these configurations exist in your.htaccess. - Brett Tasker