This is my steps:
- extract a fresh CI 1.7.2 to local server and change the base url to respect my installation dir
- hit a base url:
http://localhost/ci_test/
- extract a fresh (Modular Separation 17) and put MY_Loader.php and MY_Router.php in application/libraries
-create a modules folder
-create a “mymodule” folder into modules.
....
application
—->modules
——>mymodule
—->controllers
—->welcome.php
class Welcome extends Controller
{
function __construct() { parent::Controller; }
function index(){ echo 'testing'; }
}
i put the following url
http://localhost/ci_test/index.php/mymodule/welcome
and…
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 0
Filename: libraries/MY_Router.php
Line Number: 61
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 0
Filename: libraries/MY_Router.php
Line Number: 66
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 0
Filename: libraries/Router.php
Line Number: 201
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 0
Filename: libraries/Router.php
Line Number: 207
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 0
Filename: libraries/Router.php
Line Number: 210
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\mod\system\libraries\Exceptions.php:166)
Filename: codeigniter/Common.php
Line Number: 360
404 Page Not Found
The page you requested was not found.
whats wrong. /???x!?