Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Multi Database, based on user
Post: RE: Multi Database, based on user

I did find a workaround for this (I doubt its a bug, probably just something I don't understand). I was able to resolve it by extending the constructor into my model like so: Code: --
5,437 Views
5 Replies
09-04-2020, 05:59 AM
mongoose1130
    Thread: Multi Database, based on user
Post: RE: Multi Database, based on user

I am doing just as mentioned here and I am still not able to connect to another database. I'm using SQLite3 with CodeIgniter 4.0.4. My default connection is a different database file to validate login...
5,437 Views
5 Replies
09-03-2020, 10:26 AM
mongoose1130
    Thread: Error trying to use query builder (version 4.04)
Post: RE: Error trying to use query builder (version 4.0...

Thanks, but I tried that and am still getting the same error.  :huh: new code: $builder = $this->builder();        $builder->select('id, body, timestamp, user_id'); $builder->where('user_id',...
5,013 Views
5 Replies
07-24-2020, 05:49 AM
mongoose1130
    Thread: Error trying to use query builder (version 4.04)
Post: Error trying to use query builder (version 4.04)

I'm receiving this error: Argument 1 passed to App\Models\PostModel::App\Models\{closure}() must be an instance of App\Models\BaseBuilder When I try to use the "orWhereIn" method of the query b...
5,013 Views
5 Replies
07-23-2020, 12:44 PM
mongoose1130
    Thread: Session Library
Post: RE: Session Library

jreklund Wrote: (07-22-2020, 12:24 PM) -- Then you can just open up /app/Controllers/BaseController.php and uncomment: Code: -- // $this->session = \Config\Services::session(); -- And you can acc...
2,355 Views
4 Replies
07-22-2020, 12:25 PM
mongoose1130
    Thread: Session Library
Post: RE: Session Library

jreklund Wrote: (07-22-2020, 12:20 PM) -- CodeIgniter version? -- 4.0.4 (sorry)
2,355 Views
4 Replies
07-22-2020, 12:21 PM
mongoose1130
    Thread: Session Library
Post: Session Library

Codeigniter noob here: I'm trying to find how I can load the session library at app run since I plan on using several session variables throughout. I'm sure I am missing something. Can anyone point me...
2,355 Views
4 Replies
07-22-2020, 11:50 AM
mongoose1130

Theme © iAndrew 2016 - Forum software by © MyBB