ZEND Gdata Uncaught Exception

时间:2012-11-10 00:04:13

标签: php google-docs-api zend-framework2 google-spreadsheet-api

最近重建了Apache,之后G Data API停止了工作,这是我得到的错误:

  

致命错误:未捕获的异常'Zend_Gdata_App_Exception',消息'DOMDocument无法解析XML:'在/home/location/ZendGdata-1.7.1/library/Zend/Gdata/App.php:720堆栈跟踪:#0 / home /location/ZendGdata-1.7.1/library/Zend/Gdata/App.php(688):Zend_Gdata_App :: importString('importUrl('http:// spreadsh ...','Zend_Gdata_Spre ...')#2 /home/location/ZendGdata-1.7.1/library/Zend/Gdata.php(149):Zend_Gdata_App-&gt; getFeed('http:// spreadsh ...','Zend_Gdata_Spre ...')#3 / home /location/ZendGdata-1.7.1/library/Zend/Gdata/Spreadsheets.php(141):Zend_Gdata-&gt; getFeed('http:// spreadsh ...','Zend_Gdata_Spre ...')#4 / home /location/auto-post2gdoc.php(41):Zend_Gdata_Spreadsheets-&gt; getSpreadsheetFeed()#5 {main}在第720行的/home/location/ZendGdata-1.7.1/library/Zend/Gdata/App.php中抛出< / p>

新版本的dom配置如下:

dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version  2.7.8
HTML Support    enabled
XPath Support   enabled
XPointer Support    enabled
Schema Support  enabled
RelaxNG Support enabled

2 个答案:

答案 0 :(得分:0)

下载Zend_Gdata的最新版本 - 1.12.0 我在分析API方面遇到了一些问题,原因是Google关闭了较旧的API版本。

答案 1 :(得分:0)

原来魔术是罪魁祸首!