Welcome Guest, Not a member yet? Register   Sign In
Server Error 500 when moving from local to server
#1

[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?
#2

[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.




Theme © iAndrew 2016 - Forum software by © MyBB