Welcome Guest, Not a member yet? Register   Sign In
PROBLEM Scaffolding and Oracle XE
#1

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

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

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

What do I have to do?

Thanks buddy




Theme © iAndrew 2016 - Forum software by © MyBB