views:

43

answers:

2

After I was upggrading the CI 1.7 with Codeigniter 2 returns an Error and it shows as a routing error, its because of CodeIgniter 2 Routing library has little optimized. how to resolve this problem?

alt text

+2  A: 

The scaffolding functionality of Codigniter has been depreciated since 1.6.

You need to go into application/config/routes.php and comment out:

//$route['scaffolding_trigger'] = "";

Also it looks as though you need to also set your default controller:

$route['default_controller'] = "yourcontroller";
DRL
Now it seems does not working
eyoosuf
$route['default_controller'] = "yourcontroller"; in this line 'yourcontroller' needs to be a controller class that you have made, otherwise put it back to the welcome controller
DRL
A: 

ultimately I figureout the way of making work for modules, an online jurnal was posted by phil sturgeon. and to enable it, he has written a class whitch is hosted at GitHub

eyoosuf
And not to mention, this is for the DEV build - NOT the LIVE codebase... so of COURSE its not going to work 100% perfectly, its still in bug squashing phase!
eddt
agree with you :)
eyoosuf