Welcome Guest, Not a member yet? Register   Sign In
scaffolding page not showing up

Hey Guy,
I'm having trouble getting scaffolding page to show up. when i put in my secret word, all i see is the blog index page, that i made in the first video tutorial. Also, I'm not getting any error, I just can't get the page to show up. Please let me know what I am doing wrong.

Here my code:

$route['scaffolding_trigger'] = 'scaffolding';

class Blog extends Controller {

    function Blog()

function index()
  $data['title'] = "My Blog Title";
  $data['heading'] = "My Blog Heading";
  $data['query'] = $this->db->get('entries');;
  $this->load->view('blog_view', $data);


This is sort of off-topic but I never really understood the benefit of using scaffolding. Aren't there much better and more powerful tools out there that you are probably already using to create your databases and tables that you could use to directly manage your table data while you build the app?

[eluser]Colin Williams[/eluser]
Hey guy, scaffolding has long been deprecated. What version of CI are you running?

[eluser]Marcelo Lipienski[/eluser]
You should use: BASE_URL/index.php/blog/scaffolding
even though you have setup your .htaccess to rewrite the url, using scaffolding requires that you put the index.php, although you don't need it to access the rest of your application, being able to use: BASE_URL/blog to access your main page.

Thanks guys

[eluser]Marcelo Lipienski[/eluser]
What solved your problem?

Theme © iAndrew 2016 - Forum software by © MyBB