CI 17.3 -> 2.0 |
[eluser]Evollution[/eluser]
i upgraded my ci to 2.0 but know i cannot acces my blog page : code : Code: <?php i get a 404 error
[eluser]bl00dshooter[/eluser]
First, you should extend CI_Controller, instead of Controller. Second, you'd better use PHP5 constructors, like this: Code: <?php Third of all, Scaffolding has been deprecated since CI 1.6, and removed as CI 2.0. You can't use it anymore.
[eluser]Evollution[/eluser]
ok i changed code to Code: <?php http://www.fifago.com/demo2/index.php/blog
[eluser]Evollution[/eluser]
so anyone ?! i realy dont understand what is the problem here
[eluser]mdvaldosta[/eluser]
Looks like you've got it working to me? I don't see anything wrong with your latest controller code. The most important thing with CI 2.0 is extending CI_Controller and CI_Model and not using the plugins or scaffolding anymore. There are some other small things, taking a look over here is the most comprehensive look at the changes that I know of.
[eluser]techgnome[/eluser]
I don't get a 404... I get "My Real Heading" in really large letters... so it seems OK to me. -tg
|
Welcome Guest, Not a member yet? Register Sign In |