|
Internal server error messages
The first thing to check in this situation is that you have correctly set the permissions on the CGI scripts (irc.cgi, nph-irc.cgi and client-perl.cgi). They should be -rwxr-xr-x (755 in octal).
The default path to perl in the scripts is /usr/bin/perl, this is the correct path on almost all systems, however sometimes other paths are used, /usr/local/bin/perl being one of the most common, check with your hosting provider for details (or try running the command which perl from a shell). If you do need a different path you must edit it in all the CGI scripts.
If you downloaded the files to a windows machine (or used the .zip) ensure that the files are in UNIX line ending format, if you uploaded via FTP make sure you upload the .cgi files as ASCII. If you have shell access running the following command in the directory where the cgi-bin files are will make them the correct format:
perl -pi -e's/\cM//' *.cgi
If it still does not work check the web server's error log file (often /var/log/apache/error_log or similar). It should provide more information. If you see errors from perl then you most likely are missing some modules, the error should give you more information.
For further help setting up CGI scripts under Apache see the ¤Apache docs.
An error window pops up
This normally happens when there is a problem with client-perl.cgi (or client.cgi if you are using it). If it's an internal server error see the question above, but the problem is probably only with client- perl.cgi.
A 404 error pops up
Workaround. In fwindowlist, javascript function "xmlhttp_send". Try changing the client-perl.cgi (or client.cgi) in xmlhttp.open from a relative to a fixed location. Example: From "$config->{script_form}" to "/cgi-bin/cgiirc/$config->{script_form}" or "¤http://yourserver-url.com/cgi-bin/cgiirc/$config- >{script_form}". Editors note: Since I am a regular CGI:IRC user I have no clue why it pops up, maybe dg knows? /Niklas Bivald, "The_deViL".
You could just change script_form to that rather than editing the code - I've not seen it happen but it may depend on the browser..
Interface loads but is blank
This normally happens when streams are not working correctly. Firstly try visiting irc.cgi? interface=nonjs which may give some more information. If it is constantly loading try typing /quit - if all the text is displayed at this point you probably have a problem with streaming of content. See StreamProblems for more details.
Connection dies when chat is idle
This happenes a lot for many reasons, but you might want to check if your apache has mod_security which you should disable.