Welcome Guest, Not a member yet? Register   Sign In
Fatal error: Call to undefined method CI_Loader::scaffodling()
#1

[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
#2

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

[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
#4

[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.
.......
#5

[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
#6

[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.
#7

[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.
#8

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

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

InsiteFX
#9

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




Theme © iAndrew 2016 - Forum software by © MyBB