Welcome Guest, Not a member yet? Register   Sign In
Search Results
    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...
11,468 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...
11,468 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?
933 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
604 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...
6,588 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: --
1,351 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([    ...
415 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 ...
763 Views
6 Replies
01-05-2024, 01:42 AM
davis.lasis
  Smile Thread: SMTP EMail sending issue
Post: RE: SMTP EMail sending issue

cycyx Wrote: (12-08-2023, 08:52 AM) -- ffs, haha. In CI3 the smtp host was ssl://mail.domain.com, but in CI4 it needs to be mail.domain.com That was an embarrassingly easy fix...   Thanks for savin...
703 Views
4 Replies
12-08-2023, 12:12 PM
davis.lasis
    Thread: How to link to Ci modules
Post: RE: How to link to Ci modules

1. Modules folder is `modules` or `Modules`? 2. Modules folder is located next to `app` folder or inside `app` folder? app/Config/Autoload.php if next lowercase: PHP Code: -- 'Modules\Core' => ROOTP...
738 Views
5 Replies
10-16-2023, 07:13 AM
davis.lasis
    Thread: CI 4.4.0 modules shared services not working
Post: RE: CI 4.4.0 modules shared services not working

Issue solved! As i told previously Registrar failed to laod model which is located in module which is not loaded at that time. Services does work fine. I had to remove module autoloading modificati...
1,172 Views
8 Replies
08-31-2023, 06:48 AM
davis.lasis
    Thread: CI 4.4.0 modules shared services not working
Post: RE: CI 4.4.0 modules shared services not working

kenjis Wrote: (08-31-2023, 12:36 AM) -- I assumed your modules are like these: Code: -- Modules/Foo/ ... Module Foo Modules/Bar/ ... Module Bar -- But if you also use `Modules/` as one modul...
1,172 Views
8 Replies
08-31-2023, 04:06 AM
davis.lasis
    Thread: CI 4.4.0 modules shared services not working
Post: RE: CI 4.4.0 modules shared services not working

kenjis Wrote: (08-30-2023, 02:26 PM) -- You customized the autoloading, so it seems there is something wrong. and the line "'Modules'    => ROOTPATH . 'Modules', // my custom modules" in $psr4 shoul...
1,172 Views
8 Replies
08-30-2023, 10:45 PM
davis.lasis
    Thread: CI 4.4.0 modules shared services not working
Post: RE: CI 4.4.0 modules shared services not working

ozornick Wrote: (08-30-2023, 04:27 AM) -- In Services: ... return static::getSharedInstance('Alert'); ... Remove ?? new Alert() service('Alert') to lowercase service('alert') -- Did you repl...
1,172 Views
8 Replies
08-30-2023, 04:41 AM
davis.lasis
    Thread: CI 4.4.0 modules shared services not working
Post: CI 4.4.0 modules shared services not working

Hi guys, Long story short: I have multiple modules. Base module has Alert class which collects all system messages while loading through Controller, Models, logic etc. That is why i need shared ins...
1,172 Views
8 Replies
08-30-2023, 02:39 AM
davis.lasis
    Thread: optional parameters in route definition
Post: RE: optional parameters in route definition

I would manage like this routes.php PHP Code: -- $routes->get('docs/(:any)/(:any)', 'DocsController::show/$1/$2'); -- Controller method PHP Code: -- public function show(string $version, stri...
928 Views
3 Replies
08-29-2023, 10:27 AM
davis.lasis
    Thread: DataException: There is no data to update after using save()
Post: RE: DataException: There is no data to update afte...

I hate this exception. In most of cases i just want to grab data, fill entity and update the DB row. From UX point of view - really often users just click around form fields, actually changes noth...
3,169 Views
10 Replies
06-01-2023, 01:10 PM
davis.lasis
    Thread: The Inequitable Reality of Being a Programmer: Exploring the Unfair Advantage It isn’
Post: RE: The Inequitable Reality of Being a Programmer:...

I read it. I liked it. Thanks
940 Views
2 Replies
03-22-2023, 01:40 PM
davis.lasis
    Thread: Very slow if $data is big
Post: RE: Very slow if $data is big

Huge bottle neck is DateTime class auto convertion - If you are using models with timestamps (updated_at and created_at) PHP Code: -- protected $useTimestamps = true; -- - if you are pulli...
6,124 Views
15 Replies
01-20-2023, 02:46 AM
davis.lasis
    Thread: Where place render page code?
Post: RE: Where place render page code?

First of all, you should read CI manual / documentation and from that understand what you can do / make hand-in-hand with what you need to achieve. This forum is not meant for teaching you understand...
658 Views
4 Replies
11-17-2022, 05:18 AM
davis.lasis

Theme © iAndrew 2016 - Forum software by © MyBB