hohvn

Results 11 comments of hohvn

Please help me. I use Ubuntu 14.04 When I start server: Log here: thaitv@thaitv-Lenovo-G470:~/jobs/php/workspaces/mn/protected$ php yiic node-socket start Compile server Compile client Starting server Server successfully started Update pid in...

My config/console.php return array( 'basePath'=>dirname(**FILE**).DIRECTORY_SEPARATOR.'..', ``` // application components 'components'=>array( 'nodeSocket' => array( 'class' => 'application.extensions.yii-node-socket.lib.php.NodeSocket', 'host' => 'localhost', // default is 127.0.0.1, can be ip or domain name, without...

I try $event = Yii::app()->nodeSocket->getFrameFactory()->createEventFrame(); still have error

And why i can see anything log,info... in terminal? My terminal is thaitv@thaitv-Lenovo-G470:~/jobs/php/workspaces/mn/protected$ php yiic node-socket stop Stopping socket server Server successfully stopped Update pid in file /home/thaitv/jobs/php/workspaces/mn/protected/runtime/socket-transport.pid thaitv@thaitv-Lenovo-G470:~/jobs/php/workspaces/mn/protected$

I call "index.php?r=nsEventExample/sendEvent" Yii 1.0 Nodejs version 0.10.30