Whoops! We seem to have hit a snag. Please try again later

前端 未结 11 3113
死守一世寂寞
死守一世寂寞 2021-02-20 06:50

Whoops! We seem to have hit a snag. Please try again later.

Codeigniter 4 shows an error when I run the CI4 application, Ho

11条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-20 07:30

    This work for me try it Go to app directory then to boot directory you will see production.php file.

    That is: app => Config => Boot => production.php

    Change the ini_set('display_errors', '0') to ini_set('display_errors', '1').

    Warning: When in production change back to initial ini_set('display_errors', '0')

    Or

    you can rename your file env in your project directory to .env after that open it and edit. Search for # CI_ENVIRONMENT = production remove # and change production to development

提交回复
热议问题