我有一个包含4个不同php服务调用的应用程序。它们在localhost和remotehost上工作正常。我试图在我的应用程序中添加第5个php服务调用(“myservice”)。当我这样做时,该应用程序在localhost上正常工作但我在我的remotehost上尝试应用程序时遇到以下错误消息:
code:
0
Message:
Class "myservice" does not exist: Plugin by name 'Myservice' was not found in the registry; used paths:
: /path/to/my/directory/
Detail:
#0 /path/to/my/directory/ZendFramework/library/Zend/Amf/Server.php(550): Zend_Amf_Server->_dispatch('getPaged', Array, 'myservice')
#1 /path/to/my/directory/ZendFramework/library/Zend/Amf/Server.php(626): Zend_Amf_Server->_handle(Object(Zend_Amf_Request_Http))
#2 /path/to/my/directory/bin-debug/gateway.php(69): Zend_Amf_Server->handle()
#3 {main}
我已经在localhost和remotehost上安装了zend但是无法弄清楚出了什么问题。有什么建议吗?
更新: ArneRie,你是对的。我搞定了。 THX!
答案 0 :(得分:1)
请检查服务器上文件和文件夹的正确命名。
/My/Model/Xyz.php != /my/model/xyz.php