![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 23 Pomógł: 1 Dołączył: 22.10.2016 Ostrzeżenie: (0%) ![]() ![]() |
Pobrałem sobie frameworka : https://docs.planetteamspeak.com/ts3/php/framework/.
Podpiąłem serwer TS. I po uruchomieniu serwera wszystko działa jak należy. Jednak po kilkukrotnym odświeżenie strony wywala błędy: Fatal error: Uncaught exception 'TeamSpeak3_Adapter_Exception' with message 'invalid reply from the server' in /var/www/SUBDOMAINS/str/libraries/TeamSpeak3/Adapter/ServerQuery.php:78 Stack trace: #0 /var/www/SUBDOMAINS/str/libraries/TeamSpeak3/Adapter/Abstract.php(60): TeamSpeak3_Adapter_ServerQuery->syn() #1 /var/www/SUBDOMAINS/str/libraries/TeamSpeak3/TeamSpeak3.php(322): TeamSpeak3_Adapter_Abstract->__construct(Array) #2 /var/www/SUBDOMAINS/str/index.php(10): TeamSpeak3::factory('serverquery://s...') #3 {main} thrown in /var/www/SUBDOMAINS/str/libraries/TeamSpeak3/Adapter/ServerQuery.php on line 78 KODY: ServerQuery.php:78 if(!$this->getTransport()->readLine()->startsWith(TeamSpeak3::READY)) { throw new TeamSpeak3_Adapter_Exception("invalid reply from the server"); //to jest 78 linia } Abstract.php:60 public function __construct(array $options) { $this->options = $options; if($this->transport === null) { $this->syn(); //to jest 60 linia } } eamSpeak3.php:322 $object = new $adapter($options); Jak to ogarnąć ? Problem rozwiązany ![]() Ten post edytował revi 20.11.2016, 22:09:36 |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 22.06.2025 - 14:49 |