Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: ResourceController and model->update, is this a bug
Post: ResourceController and model->update, is this a bu...

Hi, I'm getting errors when trying to do a database update in a ResourceController, some ways work and some ways throw errors. Is this a bug? Using CodeIgniter 4.1.4, here is a simplified example, I'...
240 Views
2 Replies
10-05-2021, 08:37 AM
rich8374
    Thread: Integration with mailchimp.
Post: RE: Integration with mailchimp.

Try putting MailChimp.php into app/ThirdParty, then in your controller: require APPPATH . 'ThirdParty/MailChimp.php';
2,173 Views
3 Replies
01-14-2020, 08:46 AM
rich8374
    Thread: Array in .env file
Post: RE: Array in .env file

thanks but actually I think my fault was using the getenv command. The following works: PHP Code: -- $database = config('Database'); var_dump($database); -- and shows that database.default i...
1,657 Views
2 Replies
01-03-2020, 10:11 AM
rich8374
    Thread: Array in .env file
Post: Array in .env file

I was hoping from the docs here: Treating Environment Variables as Arrays (https://codeigniter4.github.io/userguide/general/configuration.html#treating-environment-variables-as-arrays) that I could ac...
1,657 Views
2 Replies
01-03-2020, 04:18 AM
rich8374
    Thread: Validation with Arrays as Field Names
Post: Validation with Arrays as Field Names

I am trying to use Form Validation with an Array for field names. I was hoping that it was possible to validate each field individually, I've followed the documentation closely but I when I submit the...
1,263 Views
1 Replies
02-07-2019, 10:03 AM
rich8374
    Thread: Why can't database session driver use a persistent connection?
Post: RE: Why can't database session driver use a persis...

Got any sources for that MySQL recommendation? The PHP link has got comments dating back 15 years - and I'm trying to understand if this is a legacy problem that's now resolved. It seems that it's s...
3,209 Views
4 Replies
01-12-2018, 01:45 AM
rich8374
    Thread: Why can't database session driver use a persistent connection?
Post: Why can't database session driver use a persistent...

Hi, Does anyone know why the database session driver will not work if you are using a persistent database connection? I've looked in the code and this restriction was put in place back in May 2014...
3,209 Views
4 Replies
01-11-2018, 03:29 AM
rich8374

Theme © iAndrew 2016 - Forum software by © MyBB