Move the doSecurityChecks a bit further in the page creation (just before the template rendering)

Signed-off-by: emanuele <emanuele45@gmail.com>
Add a new error code to mysql layer: it allows to have a "read-only" forum in case for example...you forget to renew the payment for the db or you go outof space. With a big red warning for admins (if they are already logged in)

Signed-off-by: emanuele <emanuele45@gmail.com>
And make the error "guests friendly"

Signed-off-by: emanuele <emanuele45@gmail.com>
Dunno, the list of errors seems a list to me

Signed-off-by: emanuele <emanuele45@gmail.com>
Tweaked the error message

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #881 from emanuele45/command_denied

Opinions please!