Welcome Guest, Not a member yet? Register   Sign In
I unzipped CodeIgniter files and i try to open in localhost but i am restricted.
#1

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?
Reply
#2

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! ***/
Reply
#3

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.
Reply
#4

Yep, it’s already in the list Wink
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! ***/
Reply




Theme © iAndrew 2016 - Forum software by © MyBB