CodeIgniter Forums
PROBLEM Scaffolding and Oracle XE - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: PROBLEM Scaffolding and Oracle XE (/showthread.php?tid=26772)



PROBLEM Scaffolding and Oracle XE - El Forum - 01-22-2010

[eluser]alejandronanez[/eluser]
Hey everybody, when I try to use SCAFFOLDING I got one error:

Code:
Fatal error: Cannot access empty property in C:\xampp\htdocs\tesis\system\scaffolding\views\view.php on line 14

Here's my config file for scaffolding:

Code:
$route['scaffolding_trigger'] = "secretword";

Here's my controller.

Code:
class Ar_en_nom extends Controller
{
    
    function __construct(){
        parent::Controller();
        $this->load->model('ar_en_nom_model');
        $this->load->scaffolding('AREA_ENSENANZA_NOMBRADO');
    }

        //More Code down here

And I put this on my URL

Code:
http://localhost/tesis/ar_en_nom/secretword/view

That's it, I have to say that I create C.R.U.D. functions and they worked OK, so I think that my database.php must be ok,

Thanks for helping me.

Bye!


PROBLEM Scaffolding and Oracle XE - El Forum - 01-22-2010

[eluser]danmontgomery[/eluser]
The empty property it's trying to access is the primary key... Do you have one set?


PROBLEM Scaffolding and Oracle XE - El Forum - 01-22-2010

[eluser]alejandronanez[/eluser]
Yes, off course, the table has data on it.

What do I have to do?

Thanks buddy