CodeIgniter Forums
Server Error 500 when moving from local to server - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Server Error 500 when moving from local to server (/showthread.php?tid=58931)



Server Error 500 when moving from local to server - El Forum - 08-06-2013

[eluser]AlexandrosG[/eluser]
Hi!

I have uploaded yesterday my application from my laptop to a VPS (Ubuntu + Apache) and the application doesn't work. I get an "Internal Server Error 500" with Chrome (or a blank page with Firefox).

As far as i can see there is no routing problem. The values of variables $class and $method in CodeIgniter.php ust before the controller class instantiation are the right ones. I have noticed that the "echo" that i put inside the code after the instantiation (e.g the command "$CI = new $class();") does not execute.Any "echo" before the instantiation executes without a problem.

The application works like a charm on my laptop (Windows 7 + Apache).

Any idea?


Server Error 500 when moving from local to server - El Forum - 08-06-2013

[eluser]AlexandrosG[/eluser]
Ok, i solved it (partially)! It was a naming problem. The first letter of the controller's class file should be capital.