Flex4 + ZendFrameWork 程序部署到外网问题
时间:2011-06-07
来源:互联网
Flex4通过ZendFrameWork访问PHP文件(PHP类)操作数据库。 本机开发调试完全正常。但是当我把程序部署到外部服务器上(Godaddy服务器)就出现php文件找不到的问题。报错如下:
Class "employeeservice" does not exist: Plugin by name 'Employeeservice' was not found in the registry; used paths:
: /home/content/67/7848667/html/mobilsoft/
#0
/home/content/67/7848667/html/ZendFramework/library/Zend/Amf/Server.php(550):
Zend_Amf_Server->_dispatch('getItemByID', Array, 'employeeservice')
#1 /home/content/67/7848667/html/ZendFramework/library/Zend/Amf/Server.php(626): Zend_Amf_Server->_handle(Object(Zend_Amf_Request_Http))
#2 /home/content/67/7848667/html/mobil/gateway.php(69): Zend_Amf_Server->handle()
#3 {main}
上述大概意思也就是,按照红色部分查找php类文件,找不到该文件,但是我的文件是存在的。我想可能是我zendframwork配置问题。大家能给点意见吗?
Class "employeeservice" does not exist: Plugin by name 'Employeeservice' was not found in the registry; used paths:
: /home/content/67/7848667/html/mobilsoft/
#0
/home/content/67/7848667/html/ZendFramework/library/Zend/Amf/Server.php(550):
Zend_Amf_Server->_dispatch('getItemByID', Array, 'employeeservice')
#1 /home/content/67/7848667/html/ZendFramework/library/Zend/Amf/Server.php(626): Zend_Amf_Server->_handle(Object(Zend_Amf_Request_Http))
#2 /home/content/67/7848667/html/mobil/gateway.php(69): Zend_Amf_Server->handle()
#3 {main}
上述大概意思也就是,按照红色部分查找php类文件,找不到该文件,但是我的文件是存在的。我想可能是我zendframwork配置问题。大家能给点意见吗?
作者: qinpanke 发布时间: 2011-06-07
自己顶一个吧。这个问题折磨我好长时间了。
作者: qinpanke 发布时间: 2011-06-08
给出你本地的目录结构,怀疑你的路径有问题
作者: xuzuning 发布时间: 2011-06-08
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28