Guys help please, I have a small website written in codeigniter with a database. Transferred files from Denver to host, displays:
"Internal Server Error"
everything worked on the local server.
Guys help please, I have a small website written in codeigniter with a database. Transferred files from Denver to host, displays:
"Internal Server Error"
everything worked on the local server.
Why there is an error 500 (Internal Server Error)
The most common cause of error 500 (Internal Server Error ) is the incorrect .htaccess file syntax or the presence of unsupported directives. Most often, it is enough to comment out the Options directive (to do this, you need to put a # at the beginning of the line), and the problem will disappear.
Error 500 can also occur due to improper handling of CGI scripts:
CGI scripts must have UNIX string endings ( \n ), not Windows formats ( \r\n ). To do this, they must be uploaded to the server via FTP in ASCII mode.
CGI- scripts and folders in which they are located should be writable only by the owner, that is, they should have 0755 rights ( drwxr-xr-x ).
As a result of the CGI script, incorrect HTTP response headers are generated. In this case, to solve the problem, it is useful to refer to error_log (it can be found in the control panel in the section “Hosting / Statistics / Log Files / Errors”).
Source: https://ru.stackoverflow.com/questions/283024/
All Articles