Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] Scaffolding problem
#1

[eluser]zovar[/eluser]
Hi there, these are my first days coding with CI and I have a quick question.

When trying scaffolding I can only access the default page, but when I click on Add or View - I get a 404 error.

I have tried to search this forum for similar topics - i found loads of them. So i checked my config files, my controller file etc.

file: application/config/config.php
Code:
$config['base_url']    = "http://webz/";

file: application/config/routes.php
Code:
$route['default_controller'] = "notes";
$route['scaffolding_trigger'] = "scaff";

file: application/controllers/notes.php
Code:
function __construct()
    {
        parent::Controller();
        
        $this->load->scaffolding('notes');
    }

the address that i use to load scaffolding is http://webz/notes/scaff

Can you help me? Must be something simple, but I spend couple of hours already trying to figure it out...


Messages In This Thread
[SOLVED] Scaffolding problem - by El Forum - 01-09-2009, 07:38 AM
[SOLVED] Scaffolding problem - by El Forum - 01-10-2009, 12:13 PM
[SOLVED] Scaffolding problem - by El Forum - 01-12-2009, 07:47 AM
[SOLVED] Scaffolding problem - by El Forum - 01-12-2009, 10:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB