CodeIgniter PHP Model Access “Unable to locate the model you have specified”

前端 未结 16 1268
耶瑟儿~
耶瑟儿~ 2020-11-30 02:10

I have been trying to load some models for this website I am building. However, for an unknown reason, it will bring the following error :

An Error Was Encou         


        
16条回答
  •  迷失自我
    2020-11-30 02:29

    Change your model file name, start with upper case letter like this: Logon_model.php

    This happens when we migrate our project from windows server to LINUX server because linux is case sensitive while windows is not.

    So, on windows even if don't write file name with upper case then also it will work fine but not on linux.

提交回复
热议问题