最近重建了 Apache,之后 G Data API 停止工作,这是我得到的错误:
致命错误:在 /home/location/ZendGdata-1.7.1/library/Zend/Gdata/App.php:720 中包含消息“DOMDocument 无法解析 XML:”的未捕获异常“Zend_Gdata_App_Exception” 堆栈跟踪:#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->getFeed('http://spreadsh...', 'Zend_Gdata_Spre...') #3 /home/location/ZendGdata -1.7.1/library/Zend/Gdata/Spreadsheets.php(141): Zend_Gdata->getFeed('http://spreadsh...', 'Zend_Gdata_Spre...') #4 /home/location/auto- post2gdoc.php(41): Zend_Gdata_Spreadsheets->getSpreadsheetFeed() #5 {main} 在第 720 行的 /home/location/ZendGdata-1.7.1/library/Zend/Gdata/App.php 中抛出
新版本具有以下 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