Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] - CI4 show errors not clearly
#9

(This post was last modified: 09-28-2020, 02:44 AM by nc03061981.)

(09-28-2020, 02:19 AM)paulbalandan Wrote: You should not change the Config\Boot\production file. From your use case it seems you are running in production environment but wants to run in development mode in order to see the errors in full detail.

Here are the steps to change the environment.
1. Copy the `env` file to `.env`. (Take note of the leading dot)
2. In the `.env` file, change the line of `CI_ENVIRONMENT = production` to `CI_ENVIRONMENT = development`. Also make sure to remove the beginning #.

Changes made to the Config\Boot\production will just be overridden in the next version update.

Correct
Thanks for help

Thank you everyone for helping me fix the error.
Because I haven't copied the evn file and changed it to .evn, the change doesn't work.

Thank you once again for helping me gradually understand the problem.

Learning CI4 from my works, from errors and how to fix bugs in the community

Love CI & Thanks CI Teams

Reply


Messages In This Thread
RE: CI4 show errors not clearly - by nc03061981 - 09-27-2020, 05:19 AM
RE: CI4 show errors not clearly - by paulbalandan - 09-27-2020, 10:27 AM
RE: CI4 show errors not clearly - by demyr - 09-27-2020, 01:15 PM
RE: CI4 show errors not clearly - by nc03061981 - 09-27-2020, 04:17 PM
RE: CI4 show errors not clearly - by nc03061981 - 09-27-2020, 05:31 PM
RE: CI4 show errors not clearly - by demyr - 09-28-2020, 03:10 AM
RE: CI4 show errors not clearly - by paulbalandan - 09-28-2020, 02:19 AM
RE: CI4 show errors not clearly - by nc03061981 - 09-28-2020, 02:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB