Open GoogleCodeExporter opened 8 years ago
This might sound dumb, But I had success loading the php file from the httpd.
Eg c:\web\ is http://website.com/
Navigate to http://website.com/chat.php
I know it may not be a good permanint fix - But give it a try
Original comment by Gothi...@gmail.com
on 14 Aug 2007 at 3:30
I am unable to get this to work in windows either. I currently get:
[ERROR] C:\path\to\webchat\libs\socketServer.php:5 Use of undefined constant
AF_INET
- assumed 'AF_INET' [ERROR] C:\path\to\webchat\libs\socketServer.php:5 Use of
undefined constant SOCK_STREAM - assumed 'SOCK_STREAM'
Original comment by Mikeal.C...@gmail.com
on 20 Aug 2007 at 6:08
Actually that could be fixed by defining them manually, try doing a define
(‘SOCK_STREAM’, 1); and likewise for AF_INET, 2 … should atleast fix
those 2 errors
Original comment by chabotc
on 20 Aug 2007 at 7:55
I did that, and now I have a blank page with no errors.
Original comment by Mikeal.C...@gmail.com
on 20 Aug 2007 at 9:39
I had that problem too, but I replaced those 2 constants -just- in the
socketServer.php file for the constructer, and now it runs fine.
Although, to make things a little smoother for the exec:
> set PATH=%PATH%;C:\php\
And I soon realised it was designed as a CGI app, so:
*\webchat2-1.0\> php-cgi.exe -Cq chat.php
And it runs fine on Win.
Original comment by sithella...@gmail.com
on 16 Sep 2007 at 1:18
Just remove comments in front of
> extension=php_sockets.dll
in your php.ini.
Original comment by slo...@gmail.com
on 3 Oct 2007 at 12:26
compile php using ./configure --enable-sockets
Original comment by jason.wi...@gmail.com
on 1 Nov 2008 at 12:08
Comment 6 fixes it. Unfortunatly, once I have it running, I connect to it's
server
on port 81 where I set it, and the whole thing looks like it's all greyed out,
and i
can't click on anything. In any browser. I do see "Notice from irc server .."
and
such, though.
Original comment by blade.e...@gmail.com
on 4 Nov 2009 at 9:06
Original issue reported on code.google.com by
oas...@gmail.com
on 13 Aug 2007 at 4:09