저는 CakePHP에서 Zend GData API를 작동시키고 캘린더 목록을 설정하고 복원하도록했습니다.Zend Gdata 캘린더 불량 요청 오류
그 모두가 작동하지만 달력 이벤트를 검색하려고하면 잘못된 요청 오류가 발생하고 해결 방법을 모르겠습니다. 다음은 스크립트가 실행될 때 수신되는 오류 메시지 다음에 나오는 코드입니다.
* 참고 : 귀하의 시간과 도움을
Error: HTTP/1.1 400 Bad Request Content-type: text/html; charset=UTF-8 Date: Mon, 14 May 2012 04:04:41 GMT Expires: Mon, 14 May 2012 04:04:41 GMT Cache-control: private, max-age=0 X-content-type-options: nosniff X-frame-options: SAMEORIGIN X-xss-protection: 1; mode=block Server: GSE Connection: close Invalid request URI
감사 : 여기
//GET LIST OF EVENTS
$index = 0;
foreach($listFeed as $list) {
$query = $service->newEventQuery($list->link[0]->href);
// Set different query parameters
$query->setUser('default');
$query->setVisibility('private');
$query->setProjection('full');
$query->setOrderby('starttime');
// Get the event list
try {
$eventFeed[$index] = $service->getCalendarEventFeed($query);
} catch (Zend_Gdata_App_Exception $e) {
echo "Error: " . $e->getResponse() . "<br />";
}
$index++;
}
XAMPP를 사용하여 내 컴퓨터에서 본을 테스트입니다하면 오류 메시지입니다.