Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Route passing $1 into the controller function instead of the value
Post: RE: Route passing $1 into the controller function ...

Routes are most flexible thing i have ever used PHP 8.3 CI 4.6.0 PHP Code: -- $routes->get('{locale}/LoadEvents/(:any)', [FrontendController::class, 'LoadEvents/$1']); $routes->get('{locale}/...
2,058 Views
5 Replies
05-22-2025, 11:32 PM
davis.lasis
    Thread: Is it possible to have a Pager config file in a module's config directory?
Post: RE: Is it possible to have a Pager config file in ...

Well... $aliases list is config classes which are autoloaded PHP Code: -- public $aliases = [         'events',         'filters',         'registrars',         'routes',         'services', ...
3,939 Views
7 Replies
01-20-2025, 02:48 PM
davis.lasis
    Thread: Is it possible to have a Pager config file in a module's config directory?
Post: RE: Is it possible to have a Pager config file in ...

https://github.com/codeigniter4/CodeIgniter4/blob/d9686083cd6906e28086ed2dff986a733d963e2c/app/Config/Modules.php#L67 PHP Code: --     /**     * ------------------------------------------------...
3,939 Views
7 Replies
01-20-2025, 01:51 PM
davis.lasis
    Thread: Casting in Entity Classes
Post: RE: Casting in Entity Classes

If you use JSON column in database, you must use JSON cast in entity. If you use TEXT (VARCHAR) column in database, you can use ARRAY cast in entity. You do not need to unserialize object from datab...
1,437 Views
2 Replies
12-14-2024, 11:31 AM
davis.lasis
    Thread: Can php spark db:seed work for updating data or is it limited to insert?
Post: RE: Can php spark db:seed work for updating data o...

CI 4.5.5 PHP 8.3 Ignore my AlertLibrary, you can handle alert notifications as you fancy and/or need Usage PHP Code: -- service('GoogleTranslateLibrary')->translate('en', 'fr', 'Hello world!');...
4,616 Views
9 Replies
11-27-2024, 03:43 PM
davis.lasis
    Thread: PHP + Codeigniter + Perfex CRM
Post: RE: PHP + Codeigniter + Perfex CRM

No, not that i know from top of my head I build whole company internal systems. Basically working only with CodeIgniter 4, php 8.3 etc etc etc I have my own built "core" system. Default CI4 with n...
8,629 Views
8 Replies
10-25-2024, 01:02 AM
davis.lasis
    Thread: PHP + Codeigniter + Perfex CRM
Post: RE: PHP + Codeigniter + Perfex CRM

I have worked with Perfex CRM almost 2 years. It is old, terribly maintained system. Nightmare for devs to work with. Full of bugs and backdoor issues. Multiple DB query replications, security issues...
8,629 Views
8 Replies
10-24-2024, 10:54 AM
davis.lasis
    Thread: PHP Benchmarks (Codeigniter)
Post: RE: PHP Benchmarks (Codeigniter)

awesome sauce
1,959 Views
3 Replies
10-11-2024, 02:52 AM
davis.lasis
    Thread: Docker for local web development
Post: RE: Docker for local web development

I use laragon as well for local dev. Easy fast install bundle, all you need for dev
3,384 Views
5 Replies
08-26-2024, 10:58 AM
davis.lasis
    Thread: DataException: There is no data to update after using save()
Post: RE: DataException: There is no data to update afte...

Hi, @"kenjis" WOW! That's what you (well... `me`) get on friday evening when head is already boiling up! ha ha ha I did not catch-up so simple reverse logic. How shame on me, but, I guess, we all...
9,606 Views
13 Replies
06-17-2024, 01:05 AM
davis.lasis
    Thread: DataException: There is no data to update after using save()
Post: RE: DataException: There is no data to update afte...

Hi guys, This feature still does not work as smooth as we would like. Problem - `updated_at` is not actually updated to NOW() datetime. New model trigger $updateOnlyChanged does great magic, but no...
9,606 Views
13 Replies
06-14-2024, 08:39 AM
davis.lasis
    Thread: Making 'DirectoryHasher' more re-usable
Post: RE: Making 'DirectoryHasher' more re-usable

YES The same here. I use css/js PHP minifier with CLI spark command. Custom built. Your mentioned feature would be very handy. YES
1,674 Views
3 Replies
06-01-2024, 10:24 PM
davis.lasis
    Thread: ANDROMEDE CMS powered by Codeigniter 4.4
Post: RE: ANDROMEDE CMS powered by Codeigniter 4.4

Hi, i fully understand you. But still, was worth of a shot!  I am developing my own system as well. Since CodeIgniter 2, almost 10 years. Fully modular, separate backend and frontend auth, roles, pe...
83,711 Views
19 Replies
05-27-2024, 10:25 AM
davis.lasis
    Thread: ANDROMEDE CMS powered by Codeigniter 4.4
Post: RE: ANDROMEDE CMS powered by Codeigniter 4.4

Hi, Looks intereseting, but those are only images in general. You should share GitHub or any other repository where we could see the code and figure out if it's something brilliant or just smashed c...
83,711 Views
19 Replies
05-26-2024, 03:14 AM
davis.lasis
    Thread: As experienced web developer what is the cause of this issue?
Post: RE: As experienced web developer what is the cause...

Hi, i have never had a space like that. Using CI since v2 I am using newest CI 4.5.1 Maybe check PHP file endings? CRLF or LF? BOM lines?
9,172 Views
12 Replies
04-29-2024, 10:04 AM
davis.lasis
    Thread: SQL server connection not working
Post: RE: SQL server connection not working

port by default should be INTEGER not STRING
18,225 Views
15 Replies
04-26-2024, 07:11 AM
davis.lasis
    Thread: Working with Configuration Files
Post: RE: Working with Configuration Files

That's why you push env file to repo as placeholder, without real secret info filled in, just for main reference and use .env in local through .gitignore, with all info filled in. I can't understa...
10,660 Views
9 Replies
03-07-2024, 11:09 AM
davis.lasis
    Thread: Codeigniter 4 - How to connect to two or multiple databases
Post: RE: Codeigniter 4 - How to connect to two or multi...

https://codeigniter.com/user_guide/database/configuration.html (https://codeigniter.com/user_guide/database/configuration.html) 1. make new DB config in App/Config/Database.php PHP Code: --
6,573 Views
3 Replies
01-28-2024, 07:37 AM
davis.lasis
    Thread: Migration Foreign key problem
Post: RE: Migration Foreign key problem

GruppoDpiTable id_gruppo and id_dpi must have 'unsigned' => true, PHP Code: -- class GruppoDpiTable extends Migration {     public function up()     {         $this->forge->addField([    ...
1,740 Views
1 Replies
01-17-2024, 11:53 AM
davis.lasis
    Thread: Error view exception is not showing the source code in PHP8.3 - Codeigniter v4.4.4
Post: RE: Error view exception is not showing the source...

Same here. CodeIgniter 4.4.4 PHP 8.3.1 ErrorException has empty Although i have no issues with dev or prod mode. https://ibb.co/fnPD6Kp Not sure whats about attaching images, bet there ...
3,257 Views
6 Replies
01-05-2024, 01:42 AM
davis.lasis

Theme © iAndrew 2016 - Forum software by © MyBB