View unanswered posts | View active topics It is currently Tue Dec 18, 2018 10:16 pm



This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
 WebRequest Standard Troubleshooting 
Author Message
Site Admin
User avatar

Joined: Thu Oct 16, 2008 1:58 pm
Posts: 452
Medals: 19
Administrator (1) Plugin Developer (1)
RadioBot Owner (1) Helper (1)
Longevity (15)
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
 WebRequest Standard Troubleshooting
For anyone having trouble with WebRequest, I have put together a simple guide of common errors and troubleshooting. If your PHP is set up correctly for mail then the script should email you for most errors.

There is an overview of setup here: http://wiki.shoutirc.com/index.php/WebRequest_System

Troubleshooting Steps:

1. Make sure you are using the MySQL Queue plugin in AutoDJ, using the QueuePlugin line in AutoDJ/Options and the MySQL config as seen here: http://wiki.shoutirc.com/index.php/Configuration#AutoDJ.2FQueue_MySQL.
2. Make sure you are using the same MySQL information in your config.inc.php including table name.
3. Check that your ircbot host/port/user/pass is correct in your config.inc.php.
3a) Remember this is the IP the bot is running on and the port specified in the RemotePort option in the Base section of your config, not your IRC server or shoutcast IP/port.
3b) The username/password is one you created earlier with !adduser. You will usually want at least the flags +sarqnd
4. If you are running the bot behind a NAT/router and WebRequest is running on an outside network you will probably need to forward your remote port so WebRequest can connect (Only TCP is needed, not UDP).

Once the bot is using the MySQL Queue plugin and the script can communicate with the bot (and AutoDJ is playing) then it will show the AutoDJ playlist. (Also it only checks once a minute to save on bandwidth so wait a minute after the bot starts before checking.)

The script will also email you if there are any errors (if your PHP is set up correctly to send email).

_________________
You can also contact me via email or instant messenger, links are at the bottom of this post.


Sun Apr 24, 2011 11:24 am
Profile YIM WWW
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.