Welcome Guest, Not a member yet? Register   Sign In
v4.3.4 released

Thank you ! it works .

@zannhe Good. If you don't know namespaces in PHP, I recommend you learn it.
It is a basic feature in the modern PHP.

In documentation , in the chapter " CodeIgniter4 Overview " ,I don't understand at all about these three part : “Autoloading Files 、Services、Factories” 。 and I find that I won't use this knowledge in the future , so if i can ignore these three part 。

@zannhe one of the best approach to learn at earlier in advance and become a conqueror in CI4+ are autoload, (help you make you modules ),service help you quickly create,share an instance of class or enen dependency injection at any where , and final factory
Codeigniter First, Codeigniter Then You!!


(This post was last modified: 05-15-2023, 06:12 AM by zannhe.)

why I cannot send email through ci ?
I am practicing shield , enable Email2FA, when I login , I cannot receive the confirm email .

shield → documentation → Default User Group → public $defaultGroup = 'users';
but In the actual directory → AuthGroups.php → public string $defaultGroup = 'user';
In database : user

documentation maybe wrong ?

Yes. I sent a PR to fix: https://github.com/codeigniter4/shield/pull/743

@zannhe If you need support for Shield, ask at https://github.com/codeigniter4/shield/d...gories/q-a or https://forum.codeigniter.com/forumdisplay.php?fid=30

@kenjis thank you very much ! I find the answer of the email problem . it is : public string $protocol = 'mail'; mail should be changed to smtp . it's so easy .

Thanks to everyone involved

Appreciate the ongoing updates! While I find pleasure in Symfony, CI4 remains my top choice for the majority of projects. Thank you for your dedicated work!

Theme © iAndrew 2016 - Forum software by © MyBB