Hi!
I'm having problems using Grocery_CRUD. The table is displayed right, but i can't do anything actions. Add, edit, read, etc... shows the error "The page you requested was not found.".
In my controller:
public function __construct() { parent::__construct(); $this->load->helper('html'); $this->load->helper('download'); $this->load->helper('file'); $this->load->model('grocery_crud_model'); $this->load->library('Grocery_CRUD'); $this->load->model('Promociones_model'); public function login_admin(){ if ($this->input->post('pass')!='adios'){ $this->session->set_flashdata('denegado', 'Contraseña incorrecta, acceso denegado.'); redirect('promociones'); } else { redirect('promociones/crud_promociones'); } } public function crud_promociones(){ $crud = new Grocery_CRUD(); $crud->set_theme('flexigrid'); $crud->set_table('promociones'); $crud->set_subject('promoción')->set_language('spanish'); $crud->columns('nombre_promocion', 'imagen_promocion'); $crud->add_fields('nombre_promocion', 'imagen_promocion'); $crud->set_field_upload('imagen_promocion', 'assets/uploads/files'); $output = $crud->render(); $this->load->view('admin_crud', $output); }
I've been reading a lot of posts, but i haven't found anything that repairs the error. I hope someone can help me.
Sorry for my English. It isn't good enough.
Thanks a lot!!
Edit: The error is this:
[attachment=998:error_jquery.png]