Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 3 broken - only on linux works on windows
#1

Hi,
I've setup my Codeigniter Project on Linux, then set it up to run in localhost on Windows (XAMP). I changed some code (also tried reverting it) and did something I cant specify what.

Now my codeigniter project works on localhost but when I upload the exact same files to my Ubuntu-Server and call index.php it always shows the 404page. When I run die index.php from CLI it tells me

ERROR: Not Found The controller/method pair you requested was not found.

I don't know whats going on where. The apache error log doesn't say anything. I deleted the .htaccess files on the server. Still no result.

Any ideas?
Reply
#2

I found the solution: somehow my git/netbeans/sublimetext Windows/Linux mixed environment changed Controller-Filenames to lowercase. I just didn't see it! The topic can be closed - hopefully it helps somebody!
Reply
#3

Check case on controllers. Ucase first
linux is case senitive
Reply
#4

check controllers and make sure to go through the CI user guide.
Reply
#5

make sure the controllers are on proper case.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB