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

Umm something not working in the socket.php #15

Closed
GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment
Closed

Umm something not working in the socket.php #15

GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. All I did was d/led it and added it to the webserver... and chmoded and
it dont work.... something not working with the socket.php File 


What is the expected output? What do you see instead?
#!/usr/bin/php -Cq [ERROR] /var/www/test/webchat2-1.0/libs/socket.php:38
socket_bind() [function.socket-bind]: unable to bind address [98]: Address
already in use [ERROR] /var/www/test/webchat2-1.0/libs/socket.php:39 Could
not bind socket to [0 - 2001]: Address already in use [ERROR]
/var/www/test/webchat2-1.0/chatLog.php:26 date() [function.date]: It is not
safe to rely on the system's timezone settings. Please use the
date.timezone setting, the TZ environment variable or the
date_default_timezone_set() function. In case you used any of those methods
and you are still getting this warning, you most likely misspelled the
timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST'
instead
Strict Standards: date() [function.date]: It is not safe to rely on the
system's timezone settings. Please use the date.timezone setting, the TZ
environment variable or the date_default_timezone_set() function. In case
you used any of those methods and you are still getting this warning, you
most likely misspelled the timezone identifier. We selected
'America/Los_Angeles' for 'PDT/-7.0/DST' instead in
/var/www/test/webchat2-1.0/chatLog.php on line 26
[ERROR] /var/www/test/webchat2-1.0/chatLog.php:28
fopen(/tmp/chat_/var/www/test/webchat2-1.0/libs/socket.php:39_04-08-2008_04:05:0
7.backtrace)
[function.fopen]: failed to open stream: No such file or directory

What version of the product are you using? On what operating system?
2.0

Please provide any additional information below.

 :/.... If anyone can help Email me @ [email protected]

Original issue reported on code.google.com by [email protected] on 8 Apr 2008 at 11:08

@GoogleCodeExporter
Copy link
Author

This bug reporting system isn't really meant for support questions to be 
honest, and this isn't a bug :)

First error you get is 'address is in use', which means something else is 
listening to the same port as you 
configured the chat server for.

Secondly judging from the file paths, it seems your trying to run the chat 
server inside of a webserver, which 
is not what it's made for ... its a stand alone program that you run from the 
command line, so something like:

# /usr/bin/php -Cq /path/to/chat.php

The last error your get is about your php.ini configuration, where you didn't 
configure the timezone setting 
correctly, so has nothing to do with this program at all :)

There's some basic information about how to setup an IRC server to use with 
webchat, and how to run the 
chat daemon on the website:
http://www.chabotc.com/webchat/

I'd suggest getting started by reading that first :)

Original comment by chabotc on 8 Apr 2008 at 11:36

  • Changed state: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant