Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: The 'matches' validation rule fails even though I'm sure its correct
Post: RE: The 'matches' validation rule fails even thoug...

The issue here is that you have setPassword() which sets password_hash and then your rule in model is trying to match $attributes['password'] with $attributes['password-confirm'] the issue is that you...
708 Views
6 Replies
06-16-2021, 04:13 PM
najdanovicivan
    Thread: Weird issue after cloning my project. It is always slower than the original
Post: RE: Weird issue after cloning my project. It is al...

I've added Kint to render the data in the Debug bar. If you are passing huge variables eg arrays with entities to the view it may lead to slow load times as king will go deep inside the nodes to log t...
479 Views
2 Replies
06-16-2021, 03:58 PM
najdanovicivan
    Thread: Making data available in ALL views
Post: RE: Making data available in ALL views

You can create class for such use can also be and Entity and then add a service which will return it as singleton. Much better solution that having it as helper method as the loading of data will happ...
1,192 Views
16 Replies
06-16-2021, 03:52 PM
najdanovicivan
    Thread: How often do you use the backup() method of the database drivers?
Post: RE: How often do you use the backup() method of th...

Backup from CodeIgnter can create issues when you have virtual columns as those will get exported as data. One you try importing such backup the import will fail. I'd suppose adding an export/import f...
31,235 Views
38 Replies
06-16-2021, 03:40 PM
najdanovicivan
    Thread: The future of Codeigniter
Post: RE: The future of Codeigniter

Quote: -- 1.  Do you think it's acceptable to take five years to rewrite a framework? -- Yes Quote: -- 2.  Do you think the insertion of thousands of lines of copyright notices on CI3 repre...
16,057 Views
50 Replies
06-16-2021, 03:31 PM
najdanovicivan
    Thread: Bug with Kint-library
Post: RE: Bug with Kint-library

Hi. There's some issue with framework package on the Packagist not having the correct dependencies. This should be fixed very soon but at the moment you can try to bypass the issue with these commands...
6,079 Views
15 Replies
02-24-2020, 03:49 AM
najdanovicivan

Theme © iAndrew 2016 - Forum software by © MyBB