OpenJS-Grid
OpenJS-Grid copied to clipboard
grid.php for CodeIgniter issue
I really appreciate you and m3qx's work in getting a class set up for codeigniter users. I've been struggling to get this to work for a few hours now and can't seem to get past the error listed below. I'm not sure if the property "base" (found on line 450ish, "$rows = $this->CI->base->_queryMulti($sql);) is something you've set up in another file that I'm missing in my version of Codeigniter or if maybe this is symptomatic of some other sort of problem you might be able to help me identify.
Anyway, thanks for your help in advance. Let me know if you need any more code. "Fegsys" is my controller. -Nate
A PHP Error was encountered Severity: Notice Message: Undefined property: Fegsys::$base Filename: libraries/grid.php Line Number: 453
Fatal error: Call to a member function _queryMulti() on a non-object in C:\xampp\htdocs\ci\application\libraries\grid.php on line 453
I'm not sure how they have CI setup exactly but in my original grid.php file, i have that function defined. My guess is that they either a) moved it to their base class that they inherit from or c) use their own database method to do the same thing as what mine was doing.