As a user I want to get instructions how to fix file permissions on the first run
When Phoenix is downloaded / cloned from git and run without running the setfilepermissions command, the first hit will fail in most cases because the Data/* directory and others can't be created. Instead of displaying a hint on how to proceed, the raw PHP error messages slips through (see screenshot).
- catch error messages resulting from insufficient file permissions on first run
- display message which gives instructions on how to run the setfilepermissions command
Even better (if possible):
- redirect to setup tool
- provide instructions for setting file permissions
- check (through AJAX) if that worked out and proceed automatically if file permissions are fine