Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Auto-Routing don't work with 4.4.0
Post: RE: Auto-Routing don't work with 4.4.0

Is there a planned release to include this fix anytime soon?
584 Views
5 Replies
09-01-2023, 12:30 AM
jetspeed
    Thread: Upgrade 4.3.0 to 4.3.1 documentation error?
Post: Upgrade 4.3.0 to 4.3.1 documentation error?

Hi guys, Went through upgrading my app from 4.2.11 to the latest 4.3.1. I note in the last upgrade notes, the content changes specify "app/Config/Encryption.php" in Config, but the wording is "S...
628 Views
1 Replies
02-16-2023, 01:22 AM
jetspeed
    Thread: Telling Intelephense to ignore undefined property
Post: Telling Intelephense to ignore undefined property

Hi guys, I just noticed in the recent Intelephense updates that CI3 models get flagged as potential problems. For example, the second line is flagged as "undefined property $this->messagesModel"...
8,232 Views
2 Replies
01-05-2023, 12:25 AM
jetspeed
    Thread: What is the best place to store app variables?
Post: RE: What is the best place to store app variables?

kenjis Wrote: (10-08-2022, 02:49 AM) -- You should set the secret keys in Environment Variables. If you set in app/Config/Constants.php or Controllers, all the people who can access the source cod...
2,625 Views
8 Replies
10-14-2022, 12:47 AM
jetspeed
    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. ...
1,912 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...
1,912 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...
1,912 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...
1,810 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 ...
1,810 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...
2,105 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...
2,105 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!
1,982 Views
3 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...
1,982 Views
3 Replies
02-17-2022, 01:20 AM
jetspeed

Theme © iAndrew 2016 - Forum software by © MyBB