⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Unable to load the requested class: Grocery_CRUD



rkrajnik

rkrajnik
  • profile picture
  • Member

Posted 14 January 2020 - 12:06 PM

Continuing to get the "Unable to load the requested class: Grocery_CRUD" from the CI3/GC Ent... func from my "controller" where the error persists:

 

 private function _getGroceryCrudEnterprise($bootstrap = true, $jquery = true) {
        $db = $this->_getDbData();
        $config = include(APPPATH . 'config\gcrud_enterprise.php');
        $groceryCrud = new grocery_CRUD($config$db);
        return $groceryCrud;

 

 

 I can't find any solid, reliable way to fix this, help?!!?


Soreno

Soreno
  • profile picture
  • Member

Posted 17 January 2020 - 19:04 PM

Hello, rkrajnik.
Try

$config = include(APPPATH . 'config/gcrud-enterprise.php');