Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Performance Lag in Codeigniter 4.4.5 Pagination
Post: Performance Lag in Codeigniter 4.4.5 Pagination

Hello This makes me crazy I'm facing a performance issue and would appreciate some insights.  I have a PHP application that I've implemented in vanilla PHP (using PDO and Zebra Paginati...
235 Views
2 Replies
02-18-2024, 09:51 AM
Corsari
    Thread: Codeigniter 4 - How to connect to two or multiple databases
Post: RE: Codeigniter 4 - How to connect to two or multi...

Thank you both for the guidelines and hints Hopefully this topic can be of support for others newbie too
782 Views
3 Replies
01-29-2024, 01:31 AM
Corsari
    Thread: Codeigniter 4 - How to connect to two or multiple databases
Post: Codeigniter 4 - How to connect to two or multiple ...

Hello searching on the forum I have found only two really old topics (2007 and 2008) about how to connect to two or more databases the manual is also a bit cryptic https://codeigniter.com/user_gui...
782 Views
3 Replies
01-28-2024, 03:13 AM
Corsari
    Thread: SHIELD: disable autonomous user registration
Post: RE: SHIELD: disable autonomous user registration

InsiteFX Wrote: (01-21-2024, 10:35 AM) -- This is what I use to create the SuperAdmin Account, it depends on what the default user group is set to in app/Config/AuthGroups.php PHP Code: -- /** ...
719 Views
2 Replies
01-23-2024, 02:46 PM
Corsari
  Information Thread: SHIELD: disable autonomous user registration
Post: SHIELD: disable autonomous user registration

Hello I'm experimenting with SHIELD because my need is to make a totally private app on a public hosting Because of that, I'd like to make the registration process fully private too, more precisel...
719 Views
2 Replies
01-20-2024, 03:48 AM
Corsari
    Thread: Basic usage how-to for Shield authentication
Post: RE: Basic usage how-to for Shield authentication

snelledre Wrote: (10-06-2023, 09:55 AM) -- Hi, Search also on Udemy for Dave Hollingworth with the course "CodeIgniter for Beginners: Build a Complete Web Application" and you have a perfect examp...
5,717 Views
9 Replies
01-06-2024, 01:21 AM
Corsari
    Thread: Codeigniter 4 w/ Tailwind CSS
Post: RE: Codeigniter 4 w/ Tailwind CSS

The suggestion here https://forum.codeigniter.com/showthread.php?tid=86279&pid=408565#pid408565 Is to write to this user: https://forum.codeigniter.com/member.php?action=profile&uid=90 Which i...
7,075 Views
7 Replies
06-29-2023, 02:48 AM
Corsari
    Thread: Generate migration file from existing database?
Post: RE: Generate migration file from existing database...

kenjis Wrote: (04-23-2022, 06:25 AM) -- See https://forum.codeigniter.com/thread-63410-post-324798.html#pid324798 You can write code to run the export file in a migration file. -- allow me to sa...
4,766 Views
8 Replies
06-19-2023, 11:21 PM
Corsari
    Thread: Roles and Permissions
Post: RE: Roles and Permissions

JustJohnQ Wrote: (06-11-2023, 11:51 AM) -- Is the original question a joke? -- I think it isn't I'm a newbie or at this point it is better to say that I'm by no means an expert on Codeigniter, for...
2,591 Views
7 Replies
06-12-2023, 04:08 AM
Corsari
    Thread: Roles and Permissions
Post: RE: Roles and Permissions

Sure the administrator must be one and only, then you will set an administrators group where eventually add those profiles which will have administrator's privileges Though I have kindly suggested...
2,591 Views
7 Replies
06-11-2023, 07:20 AM
Corsari
    Thread: CodeIgniter 4.3.3 model - JOIN with LIKE and LIKEOR
Post: RE: CodeIgniter 4.3.3 model - JOIN with LIKE and L...

michalsn Wrote: (06-04-2023, 11:13 PM) -- I would add dd((string)$this->getLastQuery()) to debug what query is actually produced. PHP Code: -- $result = $this->findAll(5); dd((string)$this->getL...
556 Views
2 Replies
06-05-2023, 02:54 PM
Corsari
    Thread: CodeIgniter 4.3.3 model - JOIN with LIKE and LIKEOR
Post: CodeIgniter 4.3.3 model - JOIN with LIKE and LIKEO...

Hello may I kindly ask a hint about why this works but if I do enable the JOIN it doesn't work anymore? (follows after the code) PHP Code: --     public function AjaxSearch($query)     {     ...
556 Views
2 Replies
06-04-2023, 02:42 AM
Corsari
    Thread: Inserting a Subquery in a Join using Query Builder
Post: RE: Inserting a Subquery in a Join using Query Bui...

I'm not a guru but recently I have faced a similar problem Are you using the development mode and checking the query that is is produced by your code? do you have errors? how did you instanti...
594 Views
2 Replies
06-04-2023, 01:53 AM
Corsari
    Thread: CodeIgniter 4.3.3 debug bar conflicts with HTMX
Post: RE: CodeIgniter 4.3.3 debug bar conflicts with HTM...

ozornick Wrote: (06-03-2023, 11:00 PM) -- Add "except" URL pattern with POST request in Config/Filters.php https://codeigniter.com/user_guide/incoming/filters.html#except-for-a-few-uris (https://c...
915 Views
3 Replies
06-04-2023, 12:00 AM
Corsari
    Thread: CodeIgniter 4.3.3 debug bar conflicts with HTMX
Post: CodeIgniter 4.3.3 debug bar conflicts with HTMX

This is my Firefox debug when the view is firstly loaded you see XHR of the Codeigniter debug bar, at this point yet no problems https://i.ibb.co/CwLsNSp/xtmx-ci4-01.png this is after mak...
915 Views
3 Replies
06-03-2023, 08:55 AM
Corsari
    Thread: When model returns an array of stdClass - how to iterate
Post: RE: When model returns an array of stdClass - how ...

And though , it works only disabling development environment Looks like that XTMX conflicts with the CodeIgniter debug bar I'll open a new thread about this
910 Views
4 Replies
06-03-2023, 07:08 AM
Corsari
    Thread: When model returns an array of stdClass - how to iterate
Post: RE: When model returns an array of stdClass - how ...

sheilaf Wrote: (06-02-2023, 11:24 AM) -- PHP Code: -- foreach ($data as $d) {     // $d is object of stdClass     // use arrow-notation to get to the stored values by their column names     /...
910 Views
4 Replies
06-03-2023, 01:16 AM
Corsari
    Thread: When model returns an array of stdClass - how to iterate
Post: When model returns an array of stdClass - how to i...

Hello one kind hint as you may know I'm not an experienced coder I have a method in my model that returns an array of stdClass https://i.ibb.co/Jzp9t46/array-of-class.jpg how s...
910 Views
4 Replies
06-02-2023, 09:07 AM
Corsari
    Thread: How to use Query Builder SubQuery in Model
Post: RE: How to use Query Builder SubQuery in Model

Hello Mohammed Thank you really much for your explanation and for the code This Is a great and much appreciated Surprise! Thank you
1,778 Views
8 Replies
05-29-2023, 05:10 AM
Corsari
    Thread: How to use Query Builder SubQuery in Model
Post: RE: How to use Query Builder SubQuery in Model

Ok I have written the working MySQL query PHP Code: -- SELECT   ticket.date,   ticket.subject,   ticket.id,   ticket.ticket_id,   ticket.dept_id,   ticket.name,   ticket.lastActi...
1,778 Views
8 Replies
05-28-2023, 06:47 AM
Corsari

Theme © iAndrew 2016 - Forum software by © MyBB