Welcome Guest, Not a member yet? Register   Sign In
Class 'Controller' not found
#11

[eluser]agy[/eluser]
The application that I am using is on localhost, when I tried the url
Code:
http://localhost:8080/myapp/welcome
showed me an error.

However modifying the url to
Code:
http://localhost:8080/myapp/index.php/welcome
solved the problem.
#12

[eluser]CodeIgniteMe[/eluser]
[quote author="agy" date="1313399331"]The application that I am using is on localhost, when I tried the url
Code:
http://localhost:8080/myapp/welcome
showed me an error.

However modifying the url to
Code:
http://localhost:8080/myapp/index.php/welcome
solved the problem.[/quote]

1. Check if the server has mod_rewrite module loaded. To do that, create a simple php file named phpinfo.php with the contents as:
Code:
<?php
phpinfo();
?>
then upload to the server and execute. Search for the word "rewrite" under the apache loaded modules.

2. Must create your .htaccess file with the rewrite directive.

This problem is also link to my answer on a different thread.
htaccess and tank auth




Theme © iAndrew 2016 - Forum software by © MyBB