问题
whatever error occurs in Codeigniter 4 Its always showing default message
How to get exact error message in Codeigniter 4
回答1:
Rename the env
file as .env
, then removed # from CI_ENVIRONMENT and modified
CI_ENVIRONMENT = production
into
CI_ENVIRONMENT = development
回答2:
go to .env file in base file uncomment #CI_ENVIRONMENT = development to CI_ENVIRONMENT = development
来源:https://stackoverflow.com/questions/60501607/how-to-debug-codeigniter-4