I unzipped CodeIgniter files and i try to open in localhost but i am restricted. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: I unzipped CodeIgniter files and i try to open in localhost but i am restricted. (/showthread.php?tid=80083) |
I unzipped CodeIgniter files and i try to open in localhost but i am restricted. - arya108 - 09-11-2021 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? RE: I unzipped CodeIgniter files and i try to open in localhost but i am restricted. - includebeer - 09-12-2021 I compiled a list of things to check when something is not working (logs, permissions, configuration, etc): https://includebeer.com/en/blog/the-checklist-of-things-to-check-when-your-codeigniter-4-web-application-is-not-working RE: I unzipped CodeIgniter files and i try to open in localhost but i am restricted. - wdeda - 09-12-2021 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. RE: I unzipped CodeIgniter files and i try to open in localhost but i am restricted. - includebeer - 09-12-2021 Yep, it’s already in the list https://includebeer.com/en/blog/the-checklist-of-things-to-check-when-your-codeigniter-4-web-application-is-not-working#checklist-env-file |