Community Forums Today's Posts     Member List     Archive    
Page 7 of 24 FirstFirst ... 5678917 ... LastLast
Results 91 to 105 of 360
  1. #91
    Join Date
    Feb 2010
    Location
    England
    Posts
    11

    Question 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
    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
    This is what was written to the log '/var/log/ts3phpbot/ts3phpbot_9987.log'
    Code:
    [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
    I already have php-pear + php-cli installed on ubuntu 9.04 vps

  2. #92
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    227
    Quote Originally Posted by MattG View Post
    scandir(): (errno 13): Permission denied
    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

  3. #93
    Join Date
    Feb 2010
    Location
    England
    Posts
    11

    Smile

    **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,

    -MattG
    Last edited by florian_fr40; 29-03-2012 at 08:48.

  4. #94
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    227
    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.

  5. #95
    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

  6. #96
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    227
    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.

  7. #97
    Join Date
    Mar 2009
    Location
    French
    Posts
    42
    error :
    ./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
    that just make the error murmur? I only get it by running your script

  8. #98
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    227
    Quote Originally Posted by ALpha__ View Post
    PHP Warning: PHP Startup: skipping dictionary ::Murmur::UserInfoMap - unsupported key type in Unknown on line 0
    This seems to be an error in your php.ini

    Quote Originally Posted by ALpha__ View Post
    Fatal error: Call to undefined function LogicException() in /home/serveur/teamspeak3/ts3phpbot/class/TS3Bot.php on line 561
    please download the beta7 hotfix and replace the original TS3PHPBot.php with the one in the hotfix.

  9. #99
    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.

  10. #100
    Join Date
    Jan 2010
    Location
    Leipzig
    Posts
    2
    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

  11. #101
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    227
    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.

  12. #102
    Join Date
    Jan 2010
    Location
    Leipzig
    Posts
    2
    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.

  13. #103
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    227
    see config parameter hostIP in the section CONNECTION at file config/9987.ini
    Last edited by florian_fr40; 29-03-2012 at 08:48.

  14. #104
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    2
    Hi,

    when i try to start, i got this message:

    Code:
    emerg: PEAR is not available in this PHP installation
    Pear is installed, PHP Version 5.2.12

    Anyone an idea?

    Thx.

  15. #105
    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

  1. Replies: 17
    Last Post: 27-10-2010, 15:32

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •