• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • Be part of the TeaParty!
    Click here for more information

TeaSpeak Music bot WebPanel

ZeroCz

Well-known member
#4
Code:
Fatal error: Uncaught TeamSpeak3_Adapter_Exception: invalid reply from the server in /var/www/teaspeak/libraries/TeamSpeak3/Adapter/ServerQuery.php:78 Stack trace: #0 /var/www/teaspeak/libraries/TeamSpeak3/Adapter/Abstract.php(60): TeamSpeak3_Adapter_ServerQuery->syn() #1 /var/www/teaspeak/libraries/TeamSpeak3/TeamSpeak3.php(320): TeamSpeak3_Adapter_Abstract->__construct(Array) #2 /var/www/teaspeak/index.php(12): TeamSpeak3::factory(Object(TeamSpeak3_Helper_Uri)) #3 {main} thrown in /var/www/teaspeak/libraries/TeamSpeak3/Adapter/ServerQuery.php on line 78
 

Kevinos

TeaSpeak Team
Staff member
TeaTeam
#5
Code:
Fatal error: Uncaught TeamSpeak3_Adapter_Exception: invalid reply from the server in /var/www/teaspeak/libraries/TeamSpeak3/Adapter/ServerQuery.php:78 Stack trace: #0 /var/www/teaspeak/libraries/TeamSpeak3/Adapter/Abstract.php(60): TeamSpeak3_Adapter_ServerQuery->syn() #1 /var/www/teaspeak/libraries/TeamSpeak3/TeamSpeak3.php(320): TeamSpeak3_Adapter_Abstract->__construct(Array) #2 /var/www/teaspeak/index.php(12): TeamSpeak3::factory(Object(TeamSpeak3_Helper_Uri)) #3 {main} thrown in /var/www/teaspeak/libraries/TeamSpeak3/Adapter/ServerQuery.php on line 78
https://forum.teaspeak.de/index.php?threads/bug-teaspeak-server.1189/
 

WolverinDEV

TeaSpeak Team
Staff member
Administrator
#6
May fix the library for that script?
This script should work with the default TeaSpeak's server settings
 

ZeroCz

Well-known member
#8
Still not work
Code:
Fatal error: Uncaught Error: Undefined class constant 'READY' in /var/www/teaspeak/libraries/TeamSpeak3/Adapter/ServerQuery.php:76 Stack trace: #0 /var/www/teaspeak/libraries/TeamSpeak3/Adapter/Abstract.php(60): TeamSpeak3_Adapter_ServerQuery->syn() #1 /var/www/teaspeak/libraries/TeamSpeak3/TeamSpeak3.php(318): TeamSpeak3_Adapter_Abstract->__construct(Array) #2 /var/www/teaspeak/index.php(12): TeamSpeak3::factory(Object(TeamSpeak3_Helper_Uri)) #3 {main} thrown in /var/www/teaspeak/libraries/TeamSpeak3/Adapter/ServerQuery.php on line 76
 

GCA Ghostwriter

Well-known member
Premium User
#9
I found this on my apache log:
Code:
[Thu Nov 08 19:23:06.073068 2018] [:error] [pid 19769] [client nope:4939] PHP Fatal error:  Uncaught exception 'TeamSpeak3_Transport_Exception' with message 'php_network_getaddresses: getaddrinfo failed: Name or service not known' in /var/www/html/musikbot/libraries/TeamSpeak3/Transport/TCP.php:54\nStack trace:\n#0 /var/www/html/musikbot/libraries/TeamSpeak3/Transport/TCP.php(108): TeamSpeak3_Transport_TCP->connect()\n#1 /var/www/html/musikbot/libraries/TeamSpeak3/Adapter/ServerQuery.php(76): TeamSpeak3_Transport_TCP->readLine()\n#2 /var/www/html/musikbot/libraries/TeamSpeak3/Adapter/Abstract.php(60): TeamSpeak3_Adapter_ServerQuery->syn()\n#3 /var/www/html/musikbot/libraries/TeamSpeak3/TeamSpeak3.php(318): TeamSpeak3_Adapter_Abstract->__construct(Array)\n#4 /var/www/html/musikbot/index.php(8): TeamSpeak3::factory('serverquery://s...')\n#5 {main}\n  thrown in /var/www/html/musikbot/libraries/TeamSpeak3/Transport/TCP.php on line 54
When someone can help me, Im happy. :3
 

hamidkag

Active member
#15
send me the error log please
im sorry
error_log file is this:
Code:
[Fri Nov 09 04:01:22.474668 2018] [php7:error] [pid 30767] [client 79.127.2.231:53888] PHP Fatal error:  Uncaught Error: Undefined class constant 'READY' in /var/www/html/MusicBot/libraries/TeamSpeak3/Adapter/ServerQuery.php:76\nStack trace:\n#0 /var/www/html/MusicBot/libraries/TeamSpeak3/Adapter/Abstract.php(60): TeamSpeak3_Adapter_ServerQuery->syn()\n#1 /var/www/html/MusicBot/libraries/TeamSpeak3/TeamSpeak3.php(318): TeamSpeak3_Adapter_Abstract->__construct(Array)\n#2 /var/www/html/MusicBot/index.php(8): TeamSpeak3::factory(Object(TeamSpeak3_Helper_Uri))\n#3 {main}\n  thrown in /var/www/html/MusicBot/libraries/TeamSpeak3/Adapter/ServerQuery.php on line 76
[Fri Nov 09 04:37:35.332014 2018] [php7:error] [pid 30774] [client 79.127.2.231:32644] PHP Fatal error:  Cannot unset $this in /var/www/html/MusicBot/libraries/TeamSpeak3/Node/Server.php on line 2272
[Fri Nov 09 04:38:15.397867 2018] [php7:error] [pid 30775] [client 79.127.2.231:54913] PHP Fatal error:  Cannot unset $this in /var/www/html/MusicBot/libraries/TeamSpeak3/Node/Server.php on line 2272
 

Kevinos

TeaSpeak Team
Staff member
TeaTeam
#17
im sorry
error_log file is this:
Code:
[Fri Nov 09 04:01:22.474668 2018] [php7:error] [pid 30767] [client 79.127.2.231:53888] PHP Fatal error:  Uncaught Error: Undefined class constant 'READY' in /var/www/html/MusicBot/libraries/TeamSpeak3/Adapter/ServerQuery.php:76\nStack trace:\n#0 /var/www/html/MusicBot/libraries/TeamSpeak3/Adapter/Abstract.php(60): TeamSpeak3_Adapter_ServerQuery->syn()\n#1 /var/www/html/MusicBot/libraries/TeamSpeak3/TeamSpeak3.php(318): TeamSpeak3_Adapter_Abstract->__construct(Array)\n#2 /var/www/html/MusicBot/index.php(8): TeamSpeak3::factory(Object(TeamSpeak3_Helper_Uri))\n#3 {main}\n  thrown in /var/www/html/MusicBot/libraries/TeamSpeak3/Adapter/ServerQuery.php on line 76
[Fri Nov 09 04:37:35.332014 2018] [php7:error] [pid 30774] [client 79.127.2.231:32644] PHP Fatal error:  Cannot unset $this in /var/www/html/MusicBot/libraries/TeamSpeak3/Node/Server.php on line 2272
[Fri Nov 09 04:38:15.397867 2018] [php7:error] [pid 30775] [client 79.127.2.231:54913] PHP Fatal error:  Cannot unset $this in /var/www/html/MusicBot/libraries/TeamSpeak3/Node/Server.php on line 2272
Test this http://v2.ts3-free.com/TeaSpeakMusicPanel-php7.zip lib for php 7

Apparently my code does not work for php 7, I'll go back compatible tonight

Just tested on a vps for php 7.0 7.1 and 7.2 and a default config teaspeak and working now ;)
 
Last edited: