<tfoot id='2gYKj'></tfoot>
  1. <i id='2gYKj'><tr id='2gYKj'><dt id='2gYKj'><q id='2gYKj'><span id='2gYKj'><b id='2gYKj'><form id='2gYKj'><ins id='2gYKj'></ins><ul id='2gYKj'></ul><sub id='2gYKj'></sub></form><legend id='2gYKj'></legend><bdo id='2gYKj'><pre id='2gYKj'><center id='2gYKj'></center></pre></bdo></b><th id='2gYKj'></th></span></q></dt></tr></i><div id='2gYKj'><tfoot id='2gYKj'></tfoot><dl id='2gYKj'><fieldset id='2gYKj'></fieldset></dl></div>
  2. <small id='2gYKj'></small><noframes id='2gYKj'>

        <bdo id='2gYKj'></bdo><ul id='2gYKj'></ul>
    1. <legend id='2gYKj'><style id='2gYKj'><dir id='2gYKj'><q id='2gYKj'></q></dir></style></legend>

    2. Zend 框架:找不到模型类

      时间:2023-10-02
      <legend id='vnbCy'><style id='vnbCy'><dir id='vnbCy'><q id='vnbCy'></q></dir></style></legend>
    3. <i id='vnbCy'><tr id='vnbCy'><dt id='vnbCy'><q id='vnbCy'><span id='vnbCy'><b id='vnbCy'><form id='vnbCy'><ins id='vnbCy'></ins><ul id='vnbCy'></ul><sub id='vnbCy'></sub></form><legend id='vnbCy'></legend><bdo id='vnbCy'><pre id='vnbCy'><center id='vnbCy'></center></pre></bdo></b><th id='vnbCy'></th></span></q></dt></tr></i><div id='vnbCy'><tfoot id='vnbCy'></tfoot><dl id='vnbCy'><fieldset id='vnbCy'></fieldset></dl></div>
          <bdo id='vnbCy'></bdo><ul id='vnbCy'></ul>

            <tbody id='vnbCy'></tbody>

            <small id='vnbCy'></small><noframes id='vnbCy'>

                <tfoot id='vnbCy'></tfoot>
                本文介绍了Zend 框架:找不到模型类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                在我的服务器上抛出以下异常:
                致命错误:在...中找不到My_Model_Bo_User_Agenda_Doctors"类
                尽管在 localhost 中一切正常.

                The following exception is thrown on my server:
                Fatal error: Class 'My_Model_Bo_User_Agenda_Doctors' not found in...
                Though in localhost everything is working fine.

                我检查了所有内容是否正确上传;所有文件都存在并且没有损坏.我也尝试上传几次.所以这似乎不是问题.

                I checked that everything was correctly uploaded; all the files are present and not corrupted. I also tried to upload several times. So this doesn't seem to be the problem.

                知道为什么在服务器上找不到类吗?

                Any idea why a class couldn't be found on the server ?

                推荐答案

                您在问题中没有这么说,但我怀疑您是在 Windows 上开发并在 Linux 上托管.

                You don't say so in your question, but I suspect that you are developing on windows and hosting on Linux.

                Windows 对路径名不区分大小写,但 Linux 是!检查:-

                Windows is not case sensitive to path names, but Linux is! Check that:-

                1. Doctors.php 不是doctors.php
                2. Agenda/是不是议程/.etc
                3. 最后检查类声明中的类名是否正确且大小写正确.
                1. Doctors.php is not doctors.php
                2. Agenda/ is not agenda/ .etc
                3. Lastly check the class name in the class declaration is correct and correctly cased.

                不要只是自己想,是的,我已经这样做了,请仔细检查它们.相信我,惨痛的经历告诉我,这个问题总是因为这样一个微不足道的疏忽造成的.

                Do not just think to yourself, yes I've done that, go and check them carefully. Believe me, bitter experience has taught me this problem is always due to a trivial oversight like this.

                这篇关于Zend 框架:找不到模型类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:Zend Framework 中的简单重写 下一篇:“返回 $this"是什么意思?意思是?

                相关文章

                最新文章

                <tfoot id='ULm9n'></tfoot>
                  <bdo id='ULm9n'></bdo><ul id='ULm9n'></ul>
                  1. <small id='ULm9n'></small><noframes id='ULm9n'>

                  2. <legend id='ULm9n'><style id='ULm9n'><dir id='ULm9n'><q id='ULm9n'></q></dir></style></legend>
                  3. <i id='ULm9n'><tr id='ULm9n'><dt id='ULm9n'><q id='ULm9n'><span id='ULm9n'><b id='ULm9n'><form id='ULm9n'><ins id='ULm9n'></ins><ul id='ULm9n'></ul><sub id='ULm9n'></sub></form><legend id='ULm9n'></legend><bdo id='ULm9n'><pre id='ULm9n'><center id='ULm9n'></center></pre></bdo></b><th id='ULm9n'></th></span></q></dt></tr></i><div id='ULm9n'><tfoot id='ULm9n'></tfoot><dl id='ULm9n'><fieldset id='ULm9n'></fieldset></dl></div>