Hi!
I am having problems with the Google Spreadsheet API.
I am using the Zend Gdata component to do the connection.
I get an 404-error while getting the spreadsheet feed.
I have tried to connect to three different account with different
documents. This script has been working for almost one year, and now
it suddenly stopped working.
Here is the error with a var_dump of the http response.
object(Zend_Http_Response)#7 (5) {
["version:protected"]=>
string(3) "1.1"
["code:protected"]=>
int(404)
["message:protected"]=>
string(9) "Not Found"
["headers:protected"]=>
array(8) {
["Cache-control"]=>
string(46) "no-cache, no-store, max-age=0, must-revalidate"
["Pragma"]=>
string(8) "no-cache"
["Expires"]=>
string(29) "Fri, 01 Jan 1990 00:00:00 GMT"
["Content-type"]=>
string(24) "text/html; charset=UTF-8"
["Date"]=>
string(29) "Fri, 10 Oct 2008 07:09:41 GMT"
["Transfer-encoding"]=>
string(7) "chunked"
["Server"]=>
string(7) "GFE/1.3"
["Connection"]=>
string(5) "Close"
}
["body:protected"]=>
string(152) "8d
Not Found
Error 404
0
"
}
Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with
message 'Expected response code 200, got 404' in /home/sites/
kampanjemodul/generering/zend/library/Zend/Gdata/App.php:286
Stack trace:
#0 /home/sites/kampanjemodul/generering/zend/library/Zend/Gdata/
App.php(126): Zend_Gdata_App::import('http://spreadsh...',
Object(Zend_Http_Client), 'Zend_Gdata_Spre...')
#1 /home/sites/kampanjemodul/generering/zend/library/Zend/
Gdata.php(109): Zend_Gdata_App->getFeed('http://spreadsh...',
'Zend_Gdata_Spre...')
#2 /home/sites/kampanjemodul/generering/zend/library/Zend/Gdata/
Spreadsheets.php(137): Zend_Gdata->getFeed('http://spreadsh...',
'Zend_Gdata_Spre...')
#3 /home/sites/kampanjemodul/generering/googledocs.php(44):
Zend_Gdata_Spreadsheets->getSpreadsheetFeed()
#4 /home/sites/kampanjemodul/generering/googledocs.php(273):
SimpleCRUD->selectSpreadsheet()
#5 /home/sites/kampanjemodul/generering/googledocs.php(430):
SimpleCRUD->run()
#6 {main}
thrown in /home/sites/kampanjemodul/generering/zend/library/Zend/
Gdata/App.php on line 286
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Docs Data APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---