Fatal exception in loading ini file

牧云@^-^@ 提交于 2019-12-06 09:33:24

You're getting this error because /demo/application/configs/application.ini is not the correct path. Looking at your errors, the full absolute path is /var/www/demo/application/configs/application.ini but you probably want to use APPLICATION_PATH.'/configs/application.ini' which is a more convenient shortcut.

  • Some time this error occurs due to auto created file

    application.ini~ in hidden mode on same path

    /demo/application/configs/ So please check hidden file on same path

    like /demo/application/configs/application.ini~ if found then remove it.

I solved it by changing the config file param to APPLICATION_PATH.''/configs/application.ini

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!