I
I
Ivan Komarov2017-07-17 11:05:53
Yii
Ivan Komarov, 2017-07-17 11:05:53

Why is Yii2:simple chat not working?

I'm trying to install SimpleChat Extension.
Put everything, tables were created.
I added model and controller files, and when I try to go to the message page, I get a redirect to a 404 error.
Everything works without errors, as far as I can tell.
I have added in MessageController

public function actionIndex()
{
echo 1;
}

and expectedly got a white screen with a single instead of a 404 redirect.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Kozhin, 2017-07-17
@maximkozhin

If this extension is
https://github.com/bubasuma/yii2-simplechat
then use the route
https://github.com/bubasuma/yii2-simplechat/blob/m...
your.site/message S

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question