I am having a problem that when I add task it will not triggered the event. how to I solve this ? And besides how to I solve the websocket error? I am using Pusher in order to create a realtime event.. caption of the error message of the browser
相关问题
- How to execute MYSQL query in laravel?
- How can I add condition on mail notification larav
- How to use Markdown for textarea input field in La
- How do I pass a route parameter to Vue.js from Lar
- How to add number of days to a date?
相关文章
- Laravel 5 input old is empty
- Laravel dusk not working .env.dusk.local
- Read a .csv file into an array in Laravel
- Laravel Impossible to Create Root Directory
- Laravel 5 InvalidArgumentException in FileViewFind
- Composer error with GitHub OAuth token on fresh la
- Laravel ::pluck multiple columns
- How can I redirect with old input in Laravel?
The image shows you are using a Pusher Application Key with the value
YOUR_APP_KEY
. This needs to be changed to be the application key you get for your app when you sign in via https://dashboard.pusher.comIf you are using Event Broadcasting in Laravel the configuration for your server will be in
config/broadcasting.php
as per http://laravel.com/docs/5.1/events#broadcast-configurationIf you are using the Pusher Laravel Bridge then configuration will be in
config/pusher.php
.In both cases you will need to pass the Pusher Application Key configuration through to your blade in order to use the value. Or - for testing purposes - you could hard code the key.
If you get a 4005 error message from Pusher then your environment variable is not being passed properly as this means the application cannot be found. See https://stackoverflow.com/a/13802175/39904