简体   繁体   中英

One Controller showing 500 Internal Server Error Codeigniter

I have completed a project in CodeIgniter. It was working perfectly with my localhost. When I uploaded it to my Web Server, one of the Controllers always show '500 Internal Server Error'.

I went through several questions in this website, everyone says about .htaccess files, but I have not added any .htaccess files.

Secondly, it was found that one of my libraries (extending Form_Validation) was also being not loaded in the webserver, despite working in the localhost.

Please help.

What are your local and server operating system?

Probably if you use Windows localy and you use linux on server you have difference in case sensitive in some file name.

Windows is not case sensitive.

Check if you have capital letter in your Controller names. For example you shouldn't use nameOfYourController.php but nameofyourController.php .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM