⚠ 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



userp

userp
  • profile picture
  • Member

Posted 18 March 2013 - 05:11 AM

Hi All,

 

I need advise on how to remove the error I'm getting : Unable to load the requested class: grocery_crud.

 

From my localhost, the GC is working fine, however, when I already tried to upload my project to web server, it got that error.

 

By the way, I'm using:

 

CI 2.1.3

Grocery Crud 1.3.3

Web Server OS - CentOS

 

Thanks in advance :)

 


davidoster

davidoster
  • profile picture
  • Member

Posted 19 March 2013 - 17:49 PM

I suspect some path problem which could be generated from a wrong .htaccess file.


meyercr

meyercr
  • profile picture
  • Member

Posted 21 March 2013 - 18:53 PM

I had this problem when running on Ubuntu linux, and I see that you are running CentOS.

 

Though my message was:  "Unable to load the requested class: Grocery_crud"

 

I added a soft link in the applications/libraries directory to correct what appeared to be a handling of capitalization?

 

 

ln -sf grocery_crud.php Grocery_crud.php