开发者

The requested URL /index.php/blog/scaffolding/add was not found on this server

I am new in Codeigniter i am seeing the Video blog tutorials from Codeigniter but when i am useing scaffolding and try to add something give me like this massage.

<?php
class Blog extends Controller {

   function Blog()
  {
    parent::Controller();

    $this->load->scaffolding('entries');
}

function index()
{
    $data['title'] = "This is my title of the page";
    $data['heading'] = "This is my hea开发者_运维技巧ding of page";
    $data['todo'] = array("First Name: waliullah", "Last Name: Masud", "Full Name: Waliullah Masud");

    $this->load->view('blog_view', $data);
}

}

?>


There is no good answer to this question. Scaffolding is old, crappy and deprecated and should not be used in an application. It just generally should not be used!

People coming from Rails often see Scaffolding and get a "nerd-on" over it, but to be honest it is just a temporary developer tool for those who do not have a MySQL client.

Scaffolding has been deprecated for a long time and as of CodeIgniter 2.0 it will not exist at all. Therefore even if you got it working, your application would be fundamentally doomed.

Best to try something else!

  • FormIgniter
  • CodeExtinguisher


Phil is right, and as I recall from the documentation, they even state that its a development tool only and is NOT meant for real-world implementation on your site. Its just a half-hearted attempt to stick data into your db while developing - you'd be better off spending time with the database class http://codeigniter.com/user_guide/database/index.html and learning how to do what you need!


the tool you are using is a development tool and it can't be used for real world implementation. because of this particular reason you are facing such type of errors.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜