Zend framework2 本地和远程zend服务器

Zend framework2 本地和远程zend服务器,zend-framework2,zend-server,Zend Framework2,Zend Server,我正在学习Zend framework 2,因此我下载了Zend服务器附带的zendstudio IDE。我制作了我的小应用程序,它在我本地的zend服务器上运行得非常好。我也想尝试zend PHP cloud,所以我用zend studio在那里部署了我的应用程序。这个应用程序在那里不能很好地工作。部分内容正在运行,其他部分根本没有加载,只有白色屏幕。我检查了服务器日志,发现以下内容: 函数名Zend\Loader\StandardAutoloader::loadClass 我认为上传文件时可

我正在学习Zend framework 2,因此我下载了Zend服务器附带的zendstudio IDE。我制作了我的小应用程序,它在我本地的zend服务器上运行得非常好。我也想尝试zend PHP cloud,所以我用zend studio在那里部署了我的应用程序。这个应用程序在那里不能很好地工作。部分内容正在运行,其他部分根本没有加载,只有白色屏幕。我检查了服务器日志,发现以下内容:

函数名Zend\Loader\StandardAutoloader::loadClass

我认为上传文件时可能会出错,所以我通过ftp客户端重新上传了文件,问题仍然存在


非常感谢您的帮助

经过几个小时的代码跟踪,我找到了解决方案:

if($this->request->isPost()){
  if(!empty($this->getRequest()->getPost('sg')) <--- this is the line where it dies
if($this->request->isPost()){
如果(!empty($this->getRequest()->getPost('sg'))
if($this->request->isPost()){
  if(!empty($this->getRequest()->getPost('sg')) <--- this is the line where it dies