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

Not Working #7

Open
azizgithub opened this issue Mar 11, 2014 · 9 comments
Open

Not Working #7

azizgithub opened this issue Mar 11, 2014 · 9 comments

Comments

@azizgithub
Copy link

I just donwload it and run composer then try to use., but it's not working..
I try to access it just a blank page.,
Can u help me ??

@nsalabay
Copy link

I have same problem. Not working socket connection

@assertchris
Copy link
Owner

Blank page does sound like a composer download problem. Do you have the code somewhere I can look at?

@blueskyneverend
Copy link

This is what i looking for,I just test your code but it seemed to have some issues,
'WebSocket is already in CLOSING or CLOSED state.', I didn't how to get it works.

@ghost
Copy link

ghost commented Apr 18, 2014

Apparently you need to create an artisan command and run it on the command line before you can connect via browser. But the author only hints at it and doesn't explain how to do it, sadly I can't help you either. Maybe he'll improve the tutorial with regards to that.

@vuongtrannguyenkhoi
Copy link

Thanks @Nietzsche-dev.

@felipedmz
Copy link

@vuongtrannguyenkhoi, u have to run 'php artisan chat:serve' at the command line before browser access.

That command is declared in '/workbench/formativ/chat/src/Formativ/Chat/Command/Serve.php'.

I've created a virtualhost and it works for me.

captura de tela de 2014-05-06 17 10 34

@susannemoog
Copy link

I had to add:

$emitter = new \Evenement\EventEmitter();
$chat = new \Sumo\Chat\Chat($emitter);
Artisan::add(new Sumo\Chat\Command\Serve($chat));

to app/start/artisan.php to get the command working...

@anthonycha
Copy link

tried both solutions in this thread but no luck yet... the error i get when i run the artisan command is [InvalidArgumentException]
There are no commands defined in the "chat" namespace.

I also tried the solutions in the closed issues with no luck
Any suggestions?

@assertchris
Copy link
Owner

You need to register the command (created here: https://medium.com/@assertchris/laravel-4-real-time-chat-eaa550829538#c61b) with Artisan.

Sorry for the delayed response.

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

8 participants