@Nguyen Huy,
do you autoload the database in your config, manually in your controller, or do you have Datamapper handle it?
Which version of CI are you using? I’ll see if I can find the time to reproduce it.
Hi,
I’m using DataMapper 1.8.2 and CI 2.1.0.
My config in autoload.php file is $autoload[‘libraries’] = array(‘database’, ‘datamapper’);
My bug occurs when i try to load a function that does not exist in the file controllers/manage.php.
localhost/mysite.com/manage/function_no_exist for example.
But if i only load a function that does not exist in the file controllers/home.php, this bug does not occur. localhost/mysite.com/home/function_no_exist for example. The progress will bring me to localhost/mysite.com/home/index page.
Config in route.php file is $route[‘404_override’] = ‘home’;
Please help me :((((