我想要將我的應用程序與Google日曆同步,而我使用的是Zend Google Calendar API,當我給出Gmail用戶名和密碼時,API給出與URL的令牌,並刷新頁面:使用Zend谷歌日曆時的HTTP錯誤500(內部服務器錯誤)Api
http://dev.example.com/prac/googlecalendar?token=1%2FLH52gw1KqpZKBXDdTqTIJMTIBO_DIhfMH3_VKhPMfKY
,當它回到我的功能再次獲得後token..so它來到這個功能:
$client = getAuthSubHttpClient();
,永不回來與$client
Ø如果出現任何致命錯誤
ini_set('error_reporting', E_ALL);
ini_set('display_errors', 1);
把下面的代碼的頂線,檢查:bject和遇到這個錯誤:
The website encountered an error and It may be down for maintenance or configured incorrectly.
你是否在關注這個例子?如果是這樣,請確保函數已定義:http://framework.zend.com/manual/en/zend.gdata.calendar.html#zend.gdata.calendar.connecting.service – Ashley 2012-04-27 09:46:38