Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Config\Paths different on appStarter
Post: RE: Config\Paths different on appStarter

Thanks for confirming. I do the merge taking note of what's in the upgrade guide. In this case, I saw the system directory has changed, but thought nothing of it, assuming it was some cleanup. ...
176 Views
6 Replies
08-07-2022, 08:42 PM
jetspeed
    Thread: Config\Paths different on appStarter
Post: RE: Config\Paths different on appStarter

kenjis Wrote: (08-06-2022, 05:55 AM) -- This might be tricky, but codeigniter4/framework/app/* is not the same as appstarter/app/*. -- I'd like to know how to handle the upgrade of the config files...
176 Views
6 Replies
08-06-2022, 10:50 PM
jetspeed
    Thread: Config\Paths different on appStarter
Post: Config\Paths different on appStarter

Hi guys, Whilst going through the upgrade from 4.2.1 to 4.2.2, I noted that the upgrade guide mentioned app/Config/Paths.php was changed. Without much thought I copied that file over from vendor...
176 Views
6 Replies
08-06-2022, 02:51 AM
jetspeed
    Thread: Url functions includes index.php in CI 4.2.1
Post: RE: Url functions includes index.php in CI 4.2.1

MGatner Wrote: (08-04-2022, 03:18 AM) -- The URL functions that deal with project URLs (I.e. URLs to your own routes) use your app.baseURL and app.indexPage settings. Check Config\App to make sure yo...
120 Views
2 Replies
08-04-2022, 10:38 PM
jetspeed
    Thread: Url functions includes index.php in CI 4.2.1
Post: Url functions includes index.php in CI 4.2.1

Hi guys, I noticed another thing with the update from CI 4.1.9 to 4.2.1. Functions which return a URL (e.g. anchor(), current_url()) will result in the url being appended with index.php. For ...
120 Views
2 Replies
08-03-2022, 11:23 PM
jetspeed
    Thread: Database model insert always returns 0
Post: RE: Database model insert always returns 0

Thanks guys for your comments. It lead me to recheck the CI Model/BaseModel code and realised it will only return the insert ID for auto-incrementing primary keys. In my case, uid was not auto-i...
904 Views
5 Replies
02-23-2022, 11:15 PM
jetspeed
    Thread: Database model insert always returns 0
Post: Database model insert always returns 0

Hi guys, My model always seems to return 0 after doing an insert, despite the insert succeeding. Looking at the CI code, I would have thought it returns the insert id. What am I doing wrong? PH...
904 Views
5 Replies
02-23-2022, 02:14 AM
jetspeed
    Thread: Exclude uri in controller filters
Post: RE: Exclude uri in controller filters

Many thanks, exactly what I wanted!
660 Views
2 Replies
02-19-2022, 01:45 AM
jetspeed
    Thread: Exclude uri in controller filters
Post: Exclude uri in controller filters

Hi guys, I have a filter forĀ 'account/*', but it is too general and will also match 'api/account'. I wish to exclude any uri with api from matching. I tried to do the following code in Confi...
660 Views
2 Replies
02-17-2022, 01:20 AM
jetspeed

Theme © iAndrew 2016 - Forum software by © MyBB