Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel code issue in talk example #12

Open
CoderRathore opened this issue Jun 20, 2017 · 11 comments
Open

Laravel code issue in talk example #12

CoderRathore opened this issue Jun 20, 2017 · 11 comments

Comments

@CoderRathore
Copy link

Dear sir,

I download the code for the github and also run the composer command .but In my localhost not working
there coming an error.The error is this "Fatal error: Class 'Illuminate\Foundation\Application' not found in C:\xampp2\htdocs\talk\bootstrap\app.php on line 14". so please help me for the solve this problem .

So i can run the code in local and see talk example how it is work..

@nahid
Copy link
Owner

nahid commented Jun 20, 2017

do you follow all instructions from Readme doc?

@CoderRathore
Copy link
Author

CoderRathore commented Jun 22, 2017 via email

@CoderRathore
Copy link
Author

CoderRathore commented Jun 30, 2017 via email

@nahid
Copy link
Owner

nahid commented Jul 3, 2017

Please update Talk with latest version and follow the Talk configuration process

@CoderRathore
Copy link
Author

I download the from that link https://github.com/nahid/talk/.And implement into the our project. But all the functionality working properly but when i send message to another user than message will not show but when we reload the page the message will show correct. so i want to slove this problem pls help me.

Sir i have download the latest version Talk.

@nahid
Copy link
Owner

nahid commented Jul 4, 2017

which version of talk are you using? Update Talk with v2.2.1. To update talk run this command form your project.

composer update

then replace this code in app/talk.php

return [
    'user' => [
        'model' => 'App\User'
    ],
    'broadcast' => [
        'enable' => false,
        'app_name' => 'your-app-name',
        'pusher' => [
            'app_id'        => '',
            'app_key'       => '',
            'app_secret'    => '',
            'options' => [
                 'cluster' => 'ap1',
                 'encrypted' => true
            ]
        ]
    ]
];

and set your pusher credentials

thank you

@CoderRathore
Copy link
Author

CoderRathore commented Jul 4, 2017 via email

@nahid
Copy link
Owner

nahid commented Jul 4, 2017

please share you code

@UOCecalero
Copy link

Hi,

What do you mean when you say 'pusher' credentials?
You mean an app f.e. like firebase?

Thanks for sharing!

@nahid
Copy link
Owner

nahid commented Aug 7, 2017

@UOCecalero Yeh, Pusher a SaaS service like firebase. I use pusher for realtime messaging. You may visit this site https://pusher.com

@UOCecalero
Copy link

Ok. I'll check it! Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants