Skip to profile content
Actually, using the debugger, it seems like the controller is called three or more times. Once when the previous form is submitted, a second time after the headers and footers load on the resulting page but before the data grid window is created, and a third time after the data grid window is creat…
Ah! I definitely did not add routes for the crud operations - I thought the autorouter would take care of that. So coming from GC 2 Free, I am used to the controller being called once - the prior form would call the method on the controller, which would call GC to generate the data grid and insert…
That fixed the issue, but revealed another one. I’m not sure whether this is a GC problem or a CI problem (as I mentioned, I’m just learning CI4, all my prior use had been CI2 and 3): The above error has gone away, but now I get this: [image] This message isn’t being shown in the main page, but…
That did the trick, thanks! I misunderstood the Apr 2023 comment above, I thought that line was only for GC 2. All good now, at least for the moment :slight_smile:
I seem to be having the exact same issue. CodeIgniter 4.7.4. Installing without composer. GC 3.2.11 Enterprise. Not using composer, followed the wizard to the best of my ability. Copied all the files into an existing (if barebones) CI project. Copied the code from the example file into my cont…