Hi Gabor,
The code you have shown appears to be correct. The only thing I
thought might cause a problem is that there is no event being returned
from your query, therefore you are getting this exception. That was
the reason why I suggested to remove the setFutureEvents(true).
Because I thought perhaps your query does not result in any events.
Check to make sure that your calendar has events in the future or
remove setFutureEvents(true).
Hope it helps,
Austin
On Nov 6, 12:49 am, gkovacsp <[EMAIL PROTECTED]> wrote:
> My problem was, that I couldn't delete the event.
>
> The response is always:
>
> <b>Fatal error</b>: Uncaught exception 'Zend_Gdata_App_HttpException'
> with message 'Expected response code 200, got 500' in /home/gkovacsp/
> scripts/Zend/Gdata/App.php:581
> Stack trace:
> #0 /home/gkovacsp/scripts/Zend/Gdata/App/Entry.php(191):
> Zend_Gdata_App->delete(Object(Zend_Gdata_Calendar_EventEntry))
> #1 /home/gkovacsp/misc/epguides/test.php(189): Zend_Gdata_App_Entry-
> >delete()
> #2 {main}
> thrown in <b>/home/gkovacsp/scripts/Zend/Gdata/App.php</b> on line
> <b>581</b><br />
>
> Can you help me with this?
> Thanks in advance.
>
> Gabor
>
> On Nov 5, 8:02 pm, "Austin (Google)" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > Try to remove "setFutureEvents(true)" from your code. setFutureEvents
> > automatically override the "start-min" and "start-max" parameter in
> > your query to only include those events that are in the future.
>
> > Hope that helps,
> > Austin- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---