Welcome Guest, Not a member yet? Register   Sign In
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): 
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com

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 Wink
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com

Theme © iAndrew 2016 - Forum software by © MyBB