talk-example icon indicating copy to clipboard operation
talk-example copied to clipboard

Laravel code issue in talk example

Open CoderRathore opened this issue 8 years ago • 11 comments

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..

CoderRathore avatar Jun 20 '17 13:06 CoderRathore

do you follow all instructions from Readme doc?

nahid avatar Jun 20 '17 16:06 nahid

Hi nahid ,

Thank you for give instruction to this project on local.all the functionality is working but when user one send the message user two send message will not receive. But when I reload the page message will show.but I want don't reload page how to slove this problem.pls help me to slove this problem.

On Jun 20, 2017 21:53, "Nahid Bin Azhar" [email protected] wrote:

do you follow all instructions from Readme doc?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nahid/talk-example/issues/12#issuecomment-309812480, or mute the thread https://github.com/notifications/unsubscribe-auth/AcFcqSC3Bg7C-NQs9gG2kySvDdnKIRoyks5sF_HpgaJpZM4N_kMe .

CoderRathore avatar Jun 22 '17 15:06 CoderRathore

Hi ,

Thank you for give instruction to this project on local.all the functionality is working but when user one send the message user two send message will not receive. But when I reload the page message will show.but I want don't reload page how to slove this problem.pls help me to slove this problem.

On Thu, Jun 22, 2017 at 8:41 PM, ravi rathour [email protected] wrote:

Hi ,

Thank you for give instruction to this project on local.all the functionality is working but when user one send the message user two send message will not receive. But when I reload the page message will show.but I want don't reload page how to slove this problem.pls help me to slove this problem.

On Jun 20, 2017 21:53, "Nahid Bin Azhar" [email protected] wrote:

do you follow all instructions from Readme doc?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nahid/talk-example/issues/12#issuecomment-309812480, or mute the thread https://github.com/notifications/unsubscribe-auth/AcFcqSC3Bg7C-NQs9gG2kySvDdnKIRoyks5sF_HpgaJpZM4N_kMe .

CoderRathore avatar Jun 30 '17 13:06 CoderRathore

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

nahid avatar Jul 03 '17 06:07 nahid

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.

CoderRathore avatar Jul 04 '17 06:07 CoderRathore

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

nahid avatar Jul 04 '17 09:07 nahid

Dear Sir,

I have update my composer and also set the pusher credentials. message is after the reload the page.

I explain in breif error:

you have two account first account is admin and second account is client. They want to chat each other. but when admin send message to client then message is not showing .whwn i reload the page the message will show. i want to slove this problem .so pleae help me.

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.

On Tue, Jul 4, 2017 at 3:12 PM, Nahid Bin Azhar [email protected] wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nahid/talk-example/issues/12#issuecomment-312833607, or mute the thread https://github.com/notifications/unsubscribe-auth/AcFcqbCnsmTINbVJDFS6klWpGqWp4wPjks5sKgjrgaJpZM4N_kMe .

CoderRathore avatar Jul 04 '17 09:07 CoderRathore

please share you code

nahid avatar Jul 04 '17 11:07 nahid

Hi,

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

Thanks for sharing!

UOCecalero avatar Aug 06 '17 14:08 UOCecalero

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

nahid avatar Aug 07 '17 05:08 nahid

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

UOCecalero avatar Aug 07 '17 06:08 UOCecalero