CodeIgniter Forums

Full Version: Fatal error: Call to undefined method CI_Loader::scaffodling()
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]rajendiran[/eluser]
Friends,

I am getting this error when i am trying use scaffolding in a test controller.
this is part of my source code,

function __construct()
{
parent::__construct();
$this->load->scaffodling('entries');
}

the scaffolding code in routes.php file is as follows

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

when i am running the URL http://localhost/ci/index.php/test

i am getting the following error.

Fatal error: Call to undefined method CI_Loader:Confusedcaffodling() in D:\xampp\htdocs\ci\application\controllers\test.php on line 7


Thank you
Rajendiran A

El Forum

[eluser]osci[/eluser]
Are you using a lib for scaffolding, because there isn't one in ci2 code.

El Forum

[eluser]rajendiran[/eluser]
Osci,

I am not sure how to use lib for scaffolding, please tell me how to correct the issue

Thank you
Rajendiran A

El Forum

[eluser]osci[/eluser]
User Guide - Changelog

Quote:<h2>Version 2.0.0</h2>
Release Date: January 28, 2011
Hg Tag: v2.0.0

General changes
.......
Scaffolding, having been deprecated for a number of versions, has been removed.
.......

El Forum

[eluser]rajendiran[/eluser]
Osci,

i am using the version 2.0.2, do i need to use any library for scaffolding, and what lib i have to use.

Thank you
Rajendiran A

El Forum

[eluser]osci[/eluser]
Did you read comment? Scaffolding is removed as of v2.0.
Search wiki for scaffolding, I'm not using any such lib.

El Forum

[eluser]Unknown[/eluser]
[quote author="rajendiran" date="1309259334"]Friends,

I am getting this error when i am trying use scaffolding in a test controller.
this is part of my source code,

function __construct()
{
parent::__construct();
$this->load->scaffodling('entries');
}

the scaffolding code in routes.php file is as follows

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

when i am running the URL http://localhost/ci/index.php/test

i am getting the following error.

Fatal error: Call to undefined method CI_Loader:Confusedcaffodling() in D:\xampp\htdocs\ci\application\controllers\test.php on line 7


i have the same this error but now, i using v 2.02, it work for me.

El Forum

[eluser]InsiteFX[/eluser]
Did you read osci comment above?

There is no more scaffodling! Unless you can find a library to do it.

InsiteFX

El Forum

[eluser]Unknown[/eluser]
It no surpise people are getting confused. The main tutorial is immaculately presented with deprecated code that don't work.