speedphp 使用人人网接口 出现下面错误

#1 温作权

代码:require_once('renren/requires.php');
$oauth = new RenRenOauth();
本例中是生成超链接,实际应用中您可以使用header("Location: $url");方式跳转
$url = $oauth->getAuthorizeUrl();
$this->jump($url);





运行报错:Fatal error: Uncaught exception 'Exception' with message 'Invalid AUTHORIZEURL or ACCESSTOKENURL or SESSIONKEYURL or CALLBACK, please check config.inc.php' in F:\USBWebserver_8.0\root\speedphp-3.1.66\include\renren\RenRenOauth.class.php:24 Stack trace: 0 F:\USBWebserver_8.0\root\speedphp-3.1.66\include\weiboclass.php(174): RenRenOauth->__construct() 1 F:\USBWebserver_8.0\root\speedphp-3.1.66\controller\weibo.php(101): weiboclass->renren_login() 2 F:\USBWebserver_8.0\root\speedphp-3.1.66\SpeedPHP\spFunctions.php(21): weibo->renren_login() 3 F:\USBWebserver_8.0\root\speedphp-3.1.66\index.php(38): spRun() 4 {main} thrown in F:\USBWebserver_8.0\root\speedphp-3.1.66\include\renren\RenRenOauth.class.php on line 24




这是什么错误呢?

该贴已经同步到 温作权的微博

2011-12-20 10:47:35

#2 温作权

问题解决了。。

2011-12-20 11:50:11

#3 jake

没有设置人人接口的 config.inc.php 引起的抛出错误

2011-12-20 11:52:15