I unzipped CodeIgniter files and i try to open in localhost but i am restricted. |
I open in localhost and I saw this message: Whoops! We seem to have hit a sang. Please try again later...
How to solve this?
I compiled a list of things to check when something is not working (logs, permissions, configuration, etc):
https://includebeer.com/en/blog/the-chec...ot-working
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Besides the @includebeer list the first thing I suggest doing is editing the "env" file that is in the path, usually right under the "writable" folder. Can be edited with any text editor, the option...
"# CI_ENVIRONMENT = production" should be enabled with the removal of "#" and production should be replaced by "development", thus: CI_ENVIRONMENT = development After saving, the file must be renamed to ".env", that's right, add a period before the name. Refresh the page and a message will be displayed with a detailed description of the error.
Yep, it’s already in the list
https://includebeer.com/en/blog/the-chec...t-env-file
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/ |
Welcome Guest, Not a member yet? Register Sign In |