nahid / talk-example

This project is demo for Laravel-Talk package and its also Docker ready
http://github.com/nahid/talk
131 stars 77 forks source link

Laravel code issue in talk example #12

Open CoderRathore opened 7 years ago

CoderRathore commented 7 years ago

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 commented 7 years ago

do you follow all instructions from Readme doc?

CoderRathore commented 7 years ago

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" notifications@github.com 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 commented 7 years ago

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 ravirathour2010@gmail.com 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" notifications@github.com 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 .

nahid commented 7 years ago

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

CoderRathore commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 notifications@github.com 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 .

nahid commented 7 years ago

please share you code

UOCecalero commented 7 years ago

Hi,

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

Thanks for sharing!

nahid commented 7 years ago

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

UOCecalero commented 7 years ago

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