Dear Google Calendar Employee,
I do have the following problem with deleting an event from the Google Calendar DB... http://www.google.com/calendar/feeds/stephan.van.dongen%40gmail.com/private-d72b8b46be759208661985a40119e7a8/full/qctlmcsk0822uvmost8ak5s8msZend_Http_Response Object ( [version:protected] => 1.1 [code:protected] => 400 [message:protected] => Bad Request [headers:protected] => Array ( [Content-type] => text/plain; charset=UTF-8 [Transfer-encoding] => chunked [Cache-control] => private [Date] => Mon, 03 Dec 2007 12:52:08 GMT [Server] => GFE/1.3 [Connection] => Close ) [body:protected] => 14 Invalid request URI. 0 ) Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with message 'Expected response code 200, got 400' in D:\projecten\minerva \minerva\lib\ZendGdata-1.0.2\library\Zend\Gdata\App.php:583 Stack trace: #0 D:\projecten\minerva\minerva\services\googleAgenda.php(104): Zend_Gdata_App->delete('http://www.goog...') #1 D:\projecten\minerva \minerva\action\action.php(122): deleteEventById('0') #2 D:\projecten \minerva\minerva\action\action.php(15): deleteEvent() #3 D:\projecten \minerva\minerva\index.php(62): actionDispatcher('deleteEvent') #4 {main} thrown in D:\projecten\minerva\minerva\lib \ZendGdata-1.0.2\library\Zend\Gdata\App.php on line 583 this is my code in php function deleteEventById($id){ $client = getClient(); $gdataCal = new Zend_Gdata_Calendar($client); $events = $_SESSION['eventFeedArraySession']; for ($index = 0; $index < sizeof($events); $index++) { $thisEvent = $events[$index]; if ($index == $id){ // Retrieve the edit URL for an event. When using this method, this URL // should already be available somewhere locally, such as in a database. //echo 'href: '.$thisEvent; $eventEditUrl = $thisEvent; // Once the edit URL is available, it can be used to issue the delete request. // $gdataCal is an instance of Zend_Gdata_Calendar, which inherits from Zend_Gdata_App. $gdataCal->delete($eventEditUrl); break; } } } can you help me ? i tried almost everything i did find on the internet..!! with kind regards --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
