Hi all!
I installed GC on codeigniter 3.0.6. The URL of the app is like www.domain.com/appname. I removed index.php and set up base_url to '/appname/'.
I create a controller, let's call it "debug", in this controller i create a function "table" just to show a table form DB. The controller shows up correctly with the crud, reading valued from a db table.
Problems come up when I try to insert new data with the crud. I get a pop-up showing "An error has occurred on insert".
So I checked with firebug what happens after I click "Save" and I discover this:
- POST insert_validation calls http://www.domain.com/appname/debug/table/insert_validation
- POST insert calls http://www.domain.com/appname/appname/debug/table/insert
So since the URL contains twice "appname", an 404 is generated and I think that this is responsible of the pop-up error
Can anyone help to discover what makes this wrong URL on POST insert?
The problem is the same with update action
thanks in advance