SilentKiller Opublikowano 23 Kwietnia 2014 Udostępnij Opublikowano 23 Kwietnia 2014 Witam Mam problem z hookami: Steam Profile v1.0.2 Xbox Live Profile v1.1.0 Jak jest włączony tylko steam profile to jest wszystko ok, ale jak włączę xbox profile w profilu użytkownika wysypują się błędy i zmienia się kodowanie ( brak polskich znaków). jeżeli wyłączę steam profile, a włączę xbox profile to wszystko jest w porządku. Sypie się tylko jak obie te aplikacje są włączone. Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 15: parser error : Opening and ending tag mismatch: br line 12 and div in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: </div> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 16: parser error : Opening and ending tag mismatch: br line 12 and body in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: </body> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 17: parser error : Opening and ending tag mismatch: br line 12 and html in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: </html> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 17: parser error : Premature end of data in tag br line 12 in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: </html> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 17: parser error : Premature end of data in tag br line 12 in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: </html> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 17: parser error : Premature end of data in tag br line 10 in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: </html> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 17: parser error : Premature end of data in tag img line 9 in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: </html> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 17: parser error : Premature end of data in tag div line 8 in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: </html> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 17: parser error : Premature end of data in tag body line 7 in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: </html> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 17: parser error : Premature end of data in tag html line 3 in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: </html> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 66 Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 15: parser error : Opening and ending tag mismatch: br line 12 and div in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: </div> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 16: parser error : Opening and ending tag mismatch: br line 12 and body in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: </body> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 17: parser error : Opening and ending tag mismatch: br line 12 and html in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: </html> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 17: parser error : Premature end of data in tag br line 12 in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: </html> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 17: parser error : Premature end of data in tag br line 12 in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: </html> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 17: parser error : Premature end of data in tag br line 10 in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: </html> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 17: parser error : Premature end of data in tag img line 9 in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: </html> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 17: parser error : Premature end of data in tag div line 8 in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: </html> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 17: parser error : Premature end of data in tag body line 7 in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: </html> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 17: parser error : Premature end of data in tag html line 3 in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: </html> in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php on line 71 Warning: Cannot modify header information - headers already sent by (output started at /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php:66) in /forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 114 Warning: Cannot modify header information - headers already sent by (output started at /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php:66) in /forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 127 Warning: Cannot modify header information - headers already sent by (output started at /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php:66) in /forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 136 Warning: Cannot modify header information - headers already sent by (output started at /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php:66) in /forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 137 Warning: Cannot modify header information - headers already sent by (output started at /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php:66) in /forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 141 Z góry dziękuję za pomoc. Pozdrawiam, SilentKiller Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Macsch15 Opublikowano 23 Kwietnia 2014 Udostępnij Opublikowano 23 Kwietnia 2014 Co masz w linii 66 pliku /forum/hooks/steamprofile_c409a7766e91d70af9e0e19bd282a3c9.php? Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
SilentKiller Opublikowano 26 Kwietnia 2014 Autor Udostępnij Opublikowano 26 Kwietnia 2014 (edytowane) Linie 65-69 $xml2 = $classFileManagement->getFileContents( $xml_url ); $feed2 = simplexml_load_string( $xml2 ); $steam_array = array(); $steam_array['ID64'] = $feed2->steamID64; Teraz wyskakuje inny błąd: Warning: Invalid argument supplied for foreach() in /forum/hooks/xboxprofile_fdfc4056f93c42bfa5025a8ad8a5ba8e.php on line 92 Warning: Cannot modify header information - headers already sent by (output started at /forum/hooks/xboxprofile_fdfc4056f93c42bfa5025a8ad8a5ba8e.php:92) in /forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 114 Warning: Cannot modify header information - headers already sent by (output started at /forum/hooks/xboxprofile_fdfc4056f93c42bfa5025a8ad8a5ba8e.php:92) in /forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 127 Warning: Cannot modify header information - headers already sent by (output started at /forum/hooks/xboxprofile_fdfc4056f93c42bfa5025a8ad8a5ba8e.php:92) in /forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 136 Warning: Cannot modify header information - headers already sent by (output started at /forum/hooks/xboxprofile_fdfc4056f93c42bfa5025a8ad8a5ba8e.php:92) in /forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 137 Warning: Cannot modify header information - headers already sent by (output started at /forum/hooks/xboxprofile_fdfc4056f93c42bfa5025a8ad8a5ba8e.php:92) in /forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 141 Plik htmlOutput.php : 114: { header("HTTP/1.1 " . $this->_headerCode . ' ' . $this->_headerStatus ); } 127: { header( "Content-type: text/html;charset=" . IPS_DOC_CHAR_SET ); } 136 i 137: header( "Cache-Control: ". $nocache . "must-revalidate, max-age=" . $maxAge ); header( "Expires: " . $expires ); 141: header( "Pragma: no-cache" ); Plik xboxprofile_fdfc4056f93c42bfa5025a8ad8a5ba8e.php linia 90-98: } foreach ($obj2->data as $games) { $data['name'] = $obj2->data->gamertag; $data['totalgames'] = $obj2->data->totalgames; $data['average'] = $obj2->data->progress; } Proszę o szybką pomoc, Pozdrawiam Edytowane 26 Kwietnia 2014 przez SilentKiller Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
SilentKiller Opublikowano 26 Kwietnia 2014 Autor Udostępnij Opublikowano 26 Kwietnia 2014 Jakoś rozwiązałem problem. Nie wiem czy dobrze i prawidłowo ale na razie działa. Jeżeli możecie to looknijcie czy tak może zostać i nie jest to jakimś błędem na teraz lub na przyszłość. if (is_array($games)) { foreach ($obj2->data as $games) { $data['name'] = $obj2->data->gamertag; $data['totalgames'] = $obj2->data->totalgames; $data['average'] = $obj2->data->progress; } } Czyli dodałem if (is_array($games)) { } Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Macsch15 Opublikowano 26 Kwietnia 2014 Udostępnij Opublikowano 26 Kwietnia 2014 Kto jest autorem tej modyfikacji? Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
SilentKiller Opublikowano 27 Kwietnia 2014 Autor Udostępnij Opublikowano 27 Kwietnia 2014 http://community.invisionpower.com/files/file/6730-steam-profile/ Niestety po zakupie aplikacji nie mogę się skontaktować z autorem dlatego piszę do was o pomoc. http://community.invisionpower.com/files/file/6739-xbox-live-profile/ Darmowa apka Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się