v 1.3.3 grocery CRUD - an automatic Codeigniter CRUD |
[eluser]Unknown[/eluser]
[quote author="ilSignorCarlo" date="1316169573"]Hi, I'm having some problems using Grocery CRUD in my website. I've found out that the problem is actually the URI language identifier library (http://codeigniter.com/wiki/URI_Language_Identifier). Grocery crud is working, so if I load the examples in the library, at this address: http://localhost/website/examples/offices_management, I can see the table with all the rows, I can sort them and so on. The problem is when I try to add/edit. Indeed, the add button, for example, points here: http://localhost/website/offices_management/add. It gives me an error since the url is missing the "examples" part, that is the controller name. If I delete the URI language identifier controller it works, but I need it. The problem, I think, is that is doing stuff with the url. Does anyone know how to solve this?[/quote] In the library file 'grocery_crud.php' replace all '$ci->uri->segments' with '$ci->uri->rsegments'. |
Welcome Guest, Not a member yet? Register Sign In |