Home >Backend Development >PHP Tutorial >Record a CI error of 500, a 500-word essay on errors, a 500-word website error, and an error code of 50
As long as the Model is loaded in CI, an error 500 is reported
HTTP error 500 (Internal Server Error): The server encountered an unexpected situation when trying to execute the request.
Troubleshooted various errors, including Nginx configuration file, CI framework .htaccess file, and finally located the CI configuration file database.php file, which was modified by colleagues, causing file conflicts.
So when connecting to the database, an error occurred!
Resolved the problem after modification. . . . . Record this
The above introduces the recording of a CI error 500, including the 500 error. I hope it will be helpful to friends who are interested in PHP tutorials.