문제

I was working on the realtime comment system for my website using pusher.I have set the following setting of the pusher for my website.

$pusher = new Pusher(
 '**************', //APP KEY
 '*************', //APP SECRET
 '*****' //APP ID
);

It is working prefectly but I am getting following errors.

Severity: Warning Message: Missing argument 1 for Pusher::__construct(), called in /var/www/system/core/Loader.php on line 1099 and defined Filename: libraries/Pusher.php Line Number: 72

What can be the error. Any help will be great.

도움이 되었습니까?

해결책

Using codeigniter, Need to load the library pusher in the constructor of the controller.

I have done it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top