Problem calling controller functions |
[eluser]Unknown[/eluser]
Hi I'm new to using CI but I'm loving it, however I have a small problem. I've developed a single page application locally using MAMP and I've just uploaded it for testing on a remote server. The remote server is using php 5.2.1 I've set the default controller in the routes config file & I've set the $config['base_url'] correctly. If I use http://my_domain.com/index.php or http://my_domain.com the page loads correctly, but if I try to call a function within the controller I am getting a 500 Internal Server Error. I've tried to create a simple controller just to test it and I'm getting the same problem. Here's what I've done to test. Changed the default controller to: testcontroller Created a controller called: testcontroller.php Code: <?php Now if I go to http://my_domain.com/index.php or http://my_domain.com I get a page that shows "Index Called". If I go to http://my_domain.com/index.php/testcontroller or http://my_domain.com/index.php/testcontr...tioncalled or http://my_domain.com/index.php/testcontr...ioncalled/ etc I'm getting the Internal Server Error. Am I overlooking something? Its been a long week ![]() Thanks Carl |
Messages In This Thread |
Problem calling controller functions - by El Forum - 09-29-2010, 05:13 AM
Problem calling controller functions - by El Forum - 09-29-2010, 05:27 AM
Problem calling controller functions - by El Forum - 09-29-2010, 06:22 AM
|