繁体   English   中英

使用Zend Google日历Api时出现HTTP错误500(内部服务器错误)

[英]HTTP Error 500 (Internal Server Error) while using Zend google calendar Api

当我使用Zend Google Calendar API时 ,我想将我的应用程序与Google Calendar同步,当我给定Gmail用户名和密码时,API提供令牌并使用URL刷新页面:

http://dev.example.com/prac/googlecalendar?token=1%2FLH52gw1KqpZKBXDdTqTIJMTIBO_DIhfMH3_VKhPMfKY

当给定令牌后,它又回到我的功能。

$client = getAuthSubHttpClient();

永远不会带着$client对象回来,并遇到此错误:

网站遇到错误,可能由于维护原因而关闭或配置不正确。

最好您检查PHP代码中的致命错误:

在代码上方放置以下行,检查其是否显示任何致命错误

ini_set('error_reporting', E_ALL);
ini_set('display_errors', 1);

希望这个帮助

〜K

我认为您可能没有包括所有的Needet脚本或类。

请确保所有内容均已包括在内,并且PHP-Host上已安装了所有需要的扩展。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM