Bonfire 2 Shield Config Files are incorrect |
To test Bonfire 2 which has installation guide here: https://lonnieezell.github.io/Bonfire2/i...tallation/
I followed every step proposed by the document. First I created a CI4 AppStarter project. Then configured the .json file. Finally installed bonfire with composer. However I realized that bonfire installation modifies the Shield configuration files in Config wrongly. Therefore "php spark bf:install --continue" gives below error: Code: CodeIgniter v4.6.0 Command Line Tool - Server Time: 2025-02-25 08:32:54 UTC+00:00 Finally I realized this issue: Auth, AuthGroups and AuthToken Config classes are defined this way: PHP Code: use CodeIgniter\Shield\Config\AuthGroups as ShieldAuthGroups; Those classes must extend "Shield" I guess. Because there is no BonfireAuth related class. I dont know why I face this issue. Maybe it is because of first initialization of bonfire with " Code: php spark bf:install". Any help will be appreciated. Thanks.
Bonfire2 has an active maintainer. You can bring this up in the discussion or bug report section.
You are right, @positron They updated recently but unfortunatelly messed on that area If your familiar with bonfire, you can personally correct there and waiting until they update to next version where they will detect it or create an issue in bonfire github repo
Codeigniter First, Codeigniter Then You!!
yekrinaDigitals
Hello -
I am currently trying to grasp Bonfire2 and I am having an awful time understanding what the /themes folder actually does? I mean, Bonfire is all about modules, and so part of that installation is to add a directory, that doesn't sit in any module, for what? Is there a working example that has this in place? Please don't send me a link to the Pages module, or the Bonfire2 page - I've looked those over ad nauseum and I just keep rereading the part about where Bonfire is all in the vendor folder so it keeps your App folder clean, but then says to copy Config files over (kinda)..... (03-25-2025, 02:01 AM)bwo82 Wrote: Hello - Typically, the theme folder helps you organize and take control of your app front-end development. In the theme folder, once you have successfully installed it, the Bonfire 2 theme folder will be copied from the Bonfire module to the app's main root, letting you start developing your app. so the theme folder stands for front-end development and includes React, Vue, Svelte, HTMX, alpine Tailwind, and son and donot forget that you will have privilege of using component in your dev Codeigniter First, Codeigniter Then You!!
yekrinaDigitals
|
Welcome Guest, Not a member yet? Register Sign In |