-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New install not work (it break php spark and default welcome CI page) #342
Comments
having the exact same issue |
Looks like the current workaround until a fix is released is to add an |
@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.
which php # rerturned /Applications/MAMP/bin/php/php8.2.0/bin//php
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.The
php spark
from CI4 works normally before including bonfire.Additional info: Using PHP 8.2 and
intl
is loaded.What is the cause of this?
The text was updated successfully, but these errors were encountered: