Open jinbatsu opened 1 year ago
having the exact same issue
Looks like the current workaround until a fix is released is to add an app/Modules
directory. It can be empty.
@jinbatsu @projectwehelp I believe the issue should be fixed now. Can you give it another try and let me know for sure?
confirmed , it's working perfectly now ! Thank you
@lonnieezell , looks like I did not add the proper checks for directory to exist when adding app modules namespaces autodiscovery. Sorry, have to be more careful.
@dgvirtual no worries. The real issue seemed to be using log_message at that point. I didn't trace it all the back but it seems that was being called before ENVIRONMENT constant had been defined and log_message was checking that.
@lonnieezell, OK it works but with error Shield required csrfProtection using session not cookie, so after I change and set like this:
security.csrfProtection = 'session'
security.tokenRandomize = false
security.tokenName = 'csrf_token_xxx'
security.headerName = 'X-CSRF-TOKEN'
security.cookieName = 'csrf_cookie_xxx'
security.expires = 7200
security.regenerate = true
security.redirect = false
security.samesite = 'Lax'
It works.. Thank you!
I have try with fresh install from installation guide which I did: Info: I'm using MAMP in Mac.
I check the web (from browser) is working as default CI 4 welcome page. and the Environment is production.
Next step:
Then:
Next step:
It break the
php spark
command. And accesing from browser is not working, it is blank white page. Thephp spark
from CI4 works normally before including bonfire. Additional info: Using PHP 8.2 andintl
is loaded.What is the cause of this?