nahid / talk

Talk is a real-time users messaging and chatting system for Laravel.
MIT License
1.61k stars 327 forks source link

http://localhost/nihad/public/ajax/message/send 500 (Internal Server Error) #94

Open samirqh opened 6 years ago

samirqh commented 6 years ago

Hi Sir,

thanks for the great code, I already install the example one and its working fine. when I came to integrated with my project, I followed your steps, Usage. then I start to use the controller and views folder in the example project.

and I have error when try to send message, the message not send, and error shows in console http://localhost/nihad/public/ajax/message/send 500 (Internal Server Error)

I am not sure where is the problem, please can you help me ?

Best Regards, Samir

syntaxlexx commented 6 years ago

nahid

Also getting this error and this shows up in the console tools.

syntaxlexx commented 6 years ago

@samirqh Try checking your env file for the QUEUE_DRIVER option. If it is set to redis, try changing to QUEUE_DRIVER=sync (or optionally install a redis server in your workstation). You can go ahead and use other queue drivers as outlined in the Laravel Queue docs. Then serve your app again.