⚠ 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 forum is read-only and soon will be archived. ⚠

I'm desperate (error loading library image crud)


  • Please log in to reply
No replies to this topic

#1 Laurent Nunenthal

Laurent Nunenthal


  • Members
  • PipPip
  • 13 posts

Posted 05 April 2016 - 01:30 PM

I'm totally new in CI. I installed the library Image_CRUD as I do for GC, and I can load the grocery_CRUD Library, but if I uncomment $this->load->library('image_CRUD') I get this error : Unable to load the requested class: Image_CRUD

and an error 500 if I read the http error. I put all the image Crud files as I did for the GroceryCrud library with is ok.

Any idea ?


<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Main extends CI_Controller {
    function __construct()
        /* Standard Libraries of codeigniter are required */
        /* ------------------ */ 
    public function index()
        echo "<h1>Welcome to the world of Codeigniter</h1>";//Just an example to ensure that we get into the function
    public function carburant()
        $output = $this->grocery_crud->render();
    function _example_output($output = null)
    public function marque()
        $image_crud = new image_CRUD();
    //If your table have by default the "id" field name as a primary key this line is not required
    $output2 = $image_crud->render();
    function _example2_output($output = null)
/* End of file main.php */
/* Location: ./application/controllers/main.php */


Also tagged with one or more of these keywords: imagecrud

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users