Most of the time when i try to post to a non-default calendar in PHP
it gives me this error:

Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with
message 'Unable to read response, or response is empty' in /home/
vividpro/public_html/library/Zend/Gdata/App.php:445 Stack trace: #0 /
home/vividpro/public_html/library/Zend/Gdata/App.php(459):
Zend_Gdata_App->post(Object(Zend_Gdata_Calendar_EventEntry), 'http://
www.goog...', 4, 'application/ato...', Array) #1 /home/vividpro/
public_html/library/Zend/Gdata/App.php(663): Zend_Gdata_App-
>post(Object(Zend_Gdata_Calendar_EventEntry), 'http://www.goog...')
#2 /home/vividpro/public_html/library/Zend/Gdata/Calendar.php(156):
Zend_Gdata_App->insertEntry(Object(Zend_Gdata_Calendar_EventEntry),
'http://www.goog...', 'Zend_Gdata_Cale...') #3 /home/vividpro/
public_html/admin/includes/classes/gcalendar.php(74):
Zend_Gdata_Calendar-
>insertEvent(Object(Zend_Gdata_Calendar_EventEntry), 'http://
www.goog...') #4 /home/vividpro/public_html/admin/edit_orders.php(93):
gcalendar->create('Order Managemen...', 'Dispatch Date', '2008-08-29
10:0...', '2008-08-29 10:3...', 'Order ID: in /home/vividpro/
public_html/library/Zend/Gdata/App.php on line 445

If i edit the GData/App.php file (line 445) to output the response
directly, instead of throwing an error,  it's showing a temporarily
moved page pointing to:

http://www.google.com/calendar/feeds/[EMAIL 
PROTECTED]/private/full?gsessionid=KVcxzDvAnhUOnptylOYW0A

(Seems to be adding a session id on the end, and the system seems to
be crapping out because of this redirect)

Any ideas?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to