Hi all - thanks in advance for your help with this!

Building a site using the Google communitymap tutorial here:
http://code.google.com/apis/maps/articles/communitymap.html

I've done a lot of searching and cannot find anyone else with this
issue...

Before a user can add a location to the map, the script checks to see
if they are logged in by reading the "session" column in the "user"
worksheet...

The code is this:
$gdClient = setupClient();
$listFeed = getWkshtListFeed($gdClient, SPREADSHEET_KEY,
USER_WORKSHEET_ID, ('session='.$session));

Testing with manually input session variable (copied directly from the
"user" sheet), eg:

$listFeed = getWkshtListFeed($gdClient, SPREADSHEET_KEY,
USER_WORKSHEET_ID, ('session=812e8442aa402c151050f4ffe7604fe5'));

Fails to find the user and returns this error:

PHP Fatal error:  Uncaught exception 'Zend_Gdata_App_HttpException'
with message 'Expected response code 200, got 400
Parse error: null' in /var/www/html/library/Zend/Gdata/App.php:700

HOWEVER, testing with a different variable (again, copied directly
from the  "user" sheet):

$listFeed = getWkshtListFeed($gdClient, SPREADSHEET_KEY,
USER_WORKSHEET_ID, ('user=Rod'));

Works perfectly.

And so - I'm guessing that for some reason the getWkshtListFeed
function is failing to find the column "session" ... I've checked,
it's there. I've even retyped it and changed the coumn name etc. No
joy.

Can anyone please give me any further ideas of what to check /
change / test / or what the problem may be?

Thanks again for your hep!
--~--~---------~--~----~------------~-------~--~----~
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 Google-Docs-Data-APIs@googlegroups.com
To unsubscribe from this group, send email to 
google-docs-data-apis+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to