smachi When trying to access the admin panel when logged in with a non-admin account I get a "500 Internal Server Error", is this right? If yes, Might this be setup to redirect the non-admin users to forum homepage instead?
smachi If I set the debug to true I get a "PermissionDeniedException" but if I set it to false (what I want to do in my live version) I get the "500 internal server error". Looking at what this forum does and going to https://discuss.flarum.org/admin, I can see an unstyled page with a login form. That would be enough for me. How to replicate that?
luceos smachi If I set the debug to true I get a "PermissionDeniedException" but if I set it to false (what I want to do in my live version) I get the "500 internal server error". The 500 internal server error is caused by the Exception you mention. Internal server errors are not an error, they simply indicate something happened that breaks the forum. The PermissionDeniedException has been talked of more in the forums. Did you check the permissions of your files in relation to the webserver/website user? smachi I can see an unstyled page with a login form. That would be enough for me. How to replicate that? Wait for beta 5.
smachi luceos All the permissions are right and the forum is working perfectly in all aspects, I'm only receiving this exception trying to access the admin area with a non-admin user, but if I access with an admin user all goes right.
jordanjay29 smachi It's basically working as designed. There's an issue currently to improve error pages, I'd suggest you comment with this specific scenario to ensure it gets addressed in the issue.