Welcome Guest, Not a member yet? Register   Sign In
Welcome message out of the box regardless
#3

(This post was last modified: 03-25-2020, 01:36 AM by John_Betong.)

includebeer
Quote:Displaying an error 500 in an alert window with javascript is not a good idea 
When CodeIgniter detects that the writable folder is not writable (0777) a http_request () result of 200 is displayed and not a 500. 


Quote:and displaying information about your file system is a security risk.
There are currently about six error messages which can be displayed and easily changed because the error messages will not suit everybody.


Quote:This message is displayed in production only.
Agreed and it is nor informative to new users who have just downloaded and tried to run the application for the very first time. 


Quote:In development you should see a lot more information, but in production you don’t want to display too much information when there’s an error. 
There is a lot of documentation to and I believe it is not easy to change the default from "production". Displaying a suitable JavaScript messages could make it easier for new users to search for the relevant documentation. 


Quote:The error details should be written to the log file.
If the writable folder is not writable then no error details can be written to the log file.


I have set the online directory permissions to be read only and the results can be found here:

https://ci4-strict.tk
Reply


Messages In This Thread
RE: Welcome message out of the box regardless - by John_Betong - 03-25-2020, 01:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB