munafio / chatify

Laravel's #1 one-to-one chatting system package, helps you add a complete real-time chatting system to your new/existing Laravel application with only one command.
https://chatify.munafio.com
MIT License
2.24k stars 479 forks source link

error app.js and pusher on new install #288

Closed nachete1987 closed 1 year ago

nachete1987 commented 1 year ago

Hello,

On new install I'm getting errors to load resource: the server responded with a status of 404 (Not Found) on app.js that is located on headlinks.blade.php and caught ReferenceError: pusher is not defined on code.js. in the line var channel = pusher.subscribe(${channelName}.${auth_id});

What could be happening? Thanks a lot

nachete1987 commented 1 year ago

I have resolve the error, It was a problem with N+1 spatie package but now I'm getting this error: "production.ERROR: Call to undefined method Chatify\ChatifyMessenger::fetchMessage()"

munafio commented 1 year ago

@nachete1987 you probably making changes to the controller namespace .. make sure all config are correct and follow the official docs.

nachete1987 commented 1 year ago

I think it's a problem with upgrade instructions from a previous version. Some classes are not overwritten and it causes the problem

El mar., 4 jul. 2023 15:24, Munaf A. Mahdi @.***> escribió:

Closed #288 https://github.com/munafio/chatify/issues/288 as completed.

— Reply to this email directly, view it on GitHub https://github.com/munafio/chatify/issues/288#event-9721909134, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMURMZ642T62WJQISOOHSTXOQKQNANCNFSM6AAAAAAZHDNTZA . You are receiving this because you were mentioned.Message ID: @.***>