⚠ 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. ⚠

Image CRUD only rendering on example controller

image crud image crud controller null empty render

  • Please log in to reply
1 reply to this topic

#1 devrique



  • Members
  • Pip
  • 1 posts

Posted 02 December 2015 - 01:01 PM

Hello everyone!


In advance, thanks to the developers that are maintaining this projects! :)


I'm running into an issue. I'm trying to generate an image gallery in Codeigniter. I tried to run the example controller and it goes fine, but when I try to run the same code on a custom controller, the render() function doesn't return anything. I tried to debug the code, and it seems that $state_info variable is empty too, so it doesn't enter to the switch, and so it doesn't return anything.


I've seen too that getState() function isn't entering in any of the conditions. I was using Codeigniter remap on the custom controller. I'm using remap with custom routes in another controller (that doesn't uses Image CRUD) and it's working well, so I think it's not Codeigniter's problem. Furthermore, I tried to just copy the example controller and change only it's name, but it isn't rendering anything neither! :mellow:


I'm running Codeigniter 3.0.3. I don't have any default controller, so the URL that I'm writing is basically the same when I call the example controller and the custom controller. The copied controller points also to the example databases, and it isn't working anyway. :(


If you need any part of my code to see it, I can attach it without any problems. Right now, I just don't know what part to attach, so I'll wait for your response.

#2 Martin Lobato

Martin Lobato


  • Members
  • PipPip
  • 14 posts

Posted 23 December 2016 - 05:57 PM

I run into same problem !

Also tagged with one or more of these keywords: image, crud, image crud, controller, null, empty, render

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users