Results 91 to 105 of 360
Thread: [NOW AVAILABLE] ts3phpbot
-
23-02-2010, 13:09 #91
-= TeamSpeak User =-
- Join Date
- Feb 2010
- Location
- England
- Posts
- 11
Fatal error: Class 'TeamSpeak3_Adapter_Exception'
I have taken the install as far as I can and it is failing at what seems to be the last hurdle. I am at a loss as to what to do.
root@localhost:/opt/ts3phpbot#Code:./ts3phpbot_startscript.sh start
This is what was written to the log '/var/log/ts3phpbot/ts3phpbot_9987.log'Code:WELCOME-MESSAGE: Feature enabled, using file: welcome_message.txt AUTO-AFK: Feature enabled, using channel: Idle BAD-CHANNELNAMES: Feature enabled, using file: bad_channelnames.txt BAD-NICKNAMES: Feature enabled, using file: bad_nicknames.txt, punishment set to kick ANTI-RECORDING: Feature enabled, using exception file: recording_exceptions.txt, punishment set to kick SERVERGROUP-PROTECTION: Feature enabled, using server groups: 1,2,9, punishment set to kick IDLE-PROTECTION: Feature enabled, punishment set to kick ADVERTISING-MESSAGE: Feature enabled STICKY-CHANNEL: Feature enabled, using channel: Open_Discussion IDENTITY-SECURITY-LEVEL: Feature enabled, min client identity security level set to: 25 [Feb 23 12:47:25] notice: starting ts3phpbot daemon, output in: /var/log/ts3phpbot/ts3phpbot_9987.log Fatal error: Class 'TeamSpeak3_Adapter_Exception' not found in /opt/ts3phpbot/class/TeamSpeak3/TeamSpeak3.php on line 328
I already have php-pear + php-cli installed on ubuntu 9.04 vpsCode:[Feb 23 13:08:01] notice: starting ts3phpbot daemon, output in: /var/log/ts3phpbot/ts3phpbot_9987.log [Feb 23 13:08:01] debug: forking ts3phpbot daemon [Feb 23 13:08:01] notice: TS3PHPBot 1.0.0-BETA7 [Feb 23 13:08:01] notice: Copyright 2010 Thomas Urbach [Feb 23 13:08:01] notice: License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> [Feb 23 13:08:01] notice: This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. [Feb 23 13:08:01] warning: [PHP Error] scandir(/opt/ts3phpbot/class/TeamSpeak3/Adapter/): failed to open dir: Permission denied [f:/opt/ts3phpbot/class/TeamSpeak3/TeamSpeak3.php] [l:316] [Feb 23 13:08:01] warning: [PHP Error] scandir(): (errno 13): Permission denied [f:/opt/ts3phpbot/class/TeamSpeak3/TeamSpeak3.php] [l:316] [Feb 23 13:08:01] warning: [PHP Error] Invalid argument supplied for foreach() [f:/opt/ts3phpbot/class/TeamSpeak3/TeamSpeak3.php] [l:318] [Feb 23 13:08:01] debug: ending ts3phpbot parent process
-
23-02-2010, 13:21 #92
You must set the right user / group permissions to all bot subdirectorys and files.
Example:
If you are running the bot as user daemon and group daemon you must change the directory and file permissions to daemon:daemon.
For the example above you must type:
Code:chown daemon:daemon /opt/ts3phpbot/* -R
-
23-02-2010, 13:23 #93
-= TeamSpeak User =-
- Join Date
- Feb 2010
- Location
- England
- Posts
- 11
**blushes**
Thanks, the bot is now working a charm.
It seems to kick me on first startup but I will work that out, prolly something to do with the flood limit!
Thanks for the reply and what a gr8 addon,
-MattGLast edited by florian_fr40; 29-03-2012 at 08:48.
-
23-02-2010, 13:29 #94
edit the ini file text/servergroup_clients.ini
and modify the first entry to match your unique client id
delete the secend one.
to prevend bot kick with message flood kick - add the bot ip to query_ip_whitelist.txt found in your TeamSpeak3 directory (if not found create it and see file CHANGELOG in your bot directory)
If you've future errors you are free to contact me.
ps. sorry for bad englich, if only grade 10 english (at german: "Hauptschul Abschluss") and 2 years of EDV englich
You are free to retranslate the INSTAL file.Last edited by florian_fr40; 29-03-2012 at 08:48.
-
24-02-2010, 12:59 #95
-= TeamSpeak User =-
- Join Date
- Feb 2010
- Location
- UK
- Posts
- 1
I am getting this error can anyone help.
Call to undefined function shm_attach() in <b>/opt/ts3phpbot/class/TS3Bot.php
-
24-02-2010, 15:05 #96
To enable the System V shared memory support compile PHP with the option --enable-sysvshm
Last edited by florian_fr40; 29-03-2012 at 08:48.
-
24-02-2010, 16:33 #97
-= TeamSpeak Lover =-
- Join Date
- Mar 2009
- Location
- French
- Posts
- 42
error :
that just make the error murmur? I only get it by running your script./ts3phpbot_startscript.sh start
PHP Warning: PHP Startup: skipping dictionary ::Murmur::UserInfoMap - unsupported key type in Unknown on line 0
ps aux | grep murmur
serveur 6922 0.0 0.0 3144 776 pts/0 S+ 17:30 0:00 grep murmur
Fatal error: Call to undefined function LogicException() in /home/serveur/teamspeak3/ts3phpbot/class/TS3Bot.php on line 561
-
24-02-2010, 18:28 #98
-
24-02-2010, 19:07 #99
-= TeamSpeak Lover =-
- Join Date
- Mar 2009
- Location
- French
- Posts
- 42
ok I fix it.
edit : solved (Troubleshooting Mumble)Last edited by ALpha__; 24-02-2010 at 19:31.
-
28-02-2010, 03:39 #100
Hi i have a litle Problem with the bot
When i will start the Bot with ./ts3phpbot_startscript.sh start
then come this error Message:
./ts3phpbot_startscript.sh start
WELCOME-MESSAGE: Feature enabled, using file: welcome_message.txt
AUTO-AFK: Feature enabled, using channel: Ruhe
BAD-CHANNELNAMES: Feature enabled, using file: bad_channelnames.txt
BAD-NICKNAMES: Feature enabled, using file: bad_nicknames.txt, punishment set to kick
ANTI-RECORDING: Feature disabled
SERVERGROUP-PROTECTION: Feature disabled
IDLE-PROTECTION: Feature enabled, punishment set to kick
ADVERTISING-MESSAGE: Feature enabled
STICKY-CHANNEL: Feature disabled
IDENTITY-SECURITY-LEVEL: Feature disabled
[Feb 28 04:26:51] notice: starting ts3phpbot daemon, output in: /var/log/ts3phpbot/ts3phpbot_9987.log
[Feb 28 04:26:51] emerg: Unhandled Exception: flood ban [f:/home/ts3/ts3phpbot/class/TS3Bot.php] [l:463]
This is in the phpbot log
[Feb 28 04:14:49] notice: starting ts3phpbot daemon, output in: /var/log/ts3phpbot/ts3phpbot_9987.log
[Feb 28 04:14:49] debug: forking ts3phpbot daemon
[Feb 28 04:14:49] debug: ending ts3phpbot parent process
[Feb 28 04:14:49] notice: TS3PHPBot 1.0.0-BETA7
[Feb 28 04:14:49] notice: Copyright 2010 Thomas Urbach
[Feb 28 04:14:49] notice: License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
[Feb 28 04:14:49] notice: This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
[Feb 28 04:14:49] emerg: Unhandled Exception: flood ban [f:/home/ts3/ts3phpbot/class/TS3Bot.php] [l:463]
[Feb 28 04:14:49] warning: [PHP Error] shm_remove(): failed for key 0x5a024055, id 32: Operation not permitted [f:/home/ts3/ts3phpbot/class/TS3Bot.php] [l:112]
What can i do??
Btw sry for the bad english
-
28-02-2010, 11:58 #101
add the bot ip to query_ip_whitelist.txt found in your TeamSpeak3 directory (if not found create it)
Last edited by florian_fr40; 29-03-2012 at 08:48.
-
28-02-2010, 15:13 #102
Maybe its a stupid question but who can i find the Bot IP. I look in the TS3 Logfiles but i cant find it.
Last edited by florian_fr40; 29-03-2012 at 08:49.
-
28-02-2010, 17:51 #103
see config parameter hostIP in the section CONNECTION at file config/9987.ini
Last edited by florian_fr40; 29-03-2012 at 08:48.
-
02-03-2010, 00:23 #104
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 2
Hi,
when i try to start, i got this message:
Pear is installed, PHP Version 5.2.12Code:emerg: PEAR is not available in this PHP installation
Anyone an idea?
Thx.
-
02-03-2010, 08:50 #105
-= TeamSpeak User =-
- Join Date
- Feb 2010
- Location
- bayern
- Posts
- 3
Read the First Post ..
--> You need at least PHP 5.2.4 to run the bot.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[NOW AVAILABLE] Wordpress TS3 Viewer Widget / Plugin
By MichaelP in forum ToolsReplies: 17Last Post: 27-10-2010, 15:32


Reply With Quote




