【发布时间】:2014-03-31 06:18:06
【问题描述】:
我正在使用推送器为我的网站开发实时评论系统。我为我的网站设置了以下推送器设置。
$pusher = new Pusher(
'**************', //APP KEY
'*************', //APP SECRET
'*****' //APP ID
);
它运行良好,但出现以下错误。
严重性:警告消息:缺少参数 1 Pusher::__construct(),在 /var/www/system/core/Loader.php 上调用 第 1099 行并定义文件名:libraries/Pusher.php 行号:72
可能是什么错误。任何帮助都会很棒。
【问题讨论】:
-
什么是行号:72,请显示
-
公共函数__construct($auth_key, $secret, $app_id, $debug = false, $host = 'api.pusherapp.com', $port = '80', $timeout = 30)
-
我已经从上面发送了authkey、secret和app_id..
-
根据错误,您缺少提供一些参数。
-
第 1099 行的 /var/www/system/core/Loader.php 是什么