Skocz do zawartości
"Idzie nowe..." - o zmianach i nie tylko ×
Przeniesienie zakupów z IPS Marketplace / Moving bought items from IPS Marketplace ×

tabelka by golus - lglsl


Csysiu
Przejdź do rozwiązania Rozwiązane przez Csysiu,

Rekomendowane odpowiedzi

Warning: Division by zero in /home/fragproj/public_html/forum/serwery/lgsl_files/lgsl_details.php on line 108

Warning: Division by zero in /home/fragproj/public_html/forum/serwery/lgsl_files/lgsl_details.php on line 200

Warning: Cannot modify header information - headers already sent by (output started at /home/fragproj/public_html/forum/serwery/lgsl_files/lgsl_details.php:108) in /home/fragproj/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 114

Warning: Cannot modify header information - headers already sent by (output started at /home/fragproj/public_html/forum/serwery/lgsl_files/lgsl_details.php:108) in /home/fragproj/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 127

 

Mam problem z tą tabelą , wywala błędy mi takie błędy. jak to naprawić? 

 

http://frag-project.pl/forumlink do strony

Odnośnik do komentarza
Udostępnij na innych stronach

Jest na 0 , ale nadal wysyła ze sto takich samych linii błędów oraz 2 ostatnie to

Warning: Cannot modify header information - headers already sent by (output started at /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php:874) in /home/fragproj/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 114

Warning: Cannot modify header information - headers already sent by (output started at /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php:874) in /home/fragproj/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 127

Nie wiem jak pozbyć się tych linijek, nie wiem co to za błąd i jak go rozwiązać.

Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874

Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874

Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874

Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874

Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874

Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874

Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874

Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874

Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874

Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874

Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874

Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874

Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874

Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874

Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874

Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874

Witam.

Borykam się z wstawieniem tabelki serwerów webkolo, błędy które się pokazują podsyłam poniżej

Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874Warning: Cannot modify header information - headers already sent by (output started at /home/fragproj/public_html/forum/serverviewer/admin/lgsl_config.php:1) in/home/fragproj/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 114Warning: Cannot modify header information - headers already sent by (output started at /home/fragproj/public_html/forum/serverviewer/admin/lgsl_config.php:1) in/home/fragproj/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 127

http://wklej.org/id/1556360/ plik lgsl_class.php

http://wklej.org/id/1556362/ plik lgsl_config.php

Moja strona: http://frag-project.pl

Proszę o pomoc, za wszelkie komentarze będę bardzo wdzięczny,

Jurij: Nie pisz postu pod postem po kilkunastu minutach - tym razem połączyłem bez ostrzeżenia.

Odnośnik do komentarza
Udostępnij na innych stronach

Widzę, że fajne forum. Błędy i śnieg sypią się od góry do dołu... to podstawa by przyciągnąć użytkowników :)

 

Pokaż co masz w linijce 874 w pliku /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php .

 

I serio, nie wiem kogo próbujesz nabrać na świeżo zainstalowane forum w wersji 3.4.2. Na torrentach nowszego nie mieli? ;)

  • Lubię to 2
Odnośnik do komentarza
Udostępnij na innych stronach

 

Błędy i śnieg sypią się od góry do dołu... to podstawa by przyciągnąć użytkowników :)

 

Nie wiem jak Ty to robisz, ale mnie z rana nie było by stać na takie żarty :) no chyba, że nocny ma marek jesteś ;d 

 

 

 

A co do tematu poniżej fragment kodu. W linii 874 jest :  if (!$server[$key]['hltv'])

 

cały plik lgsl_class.php  http://wklej.org/id/1556360/  

plik lgsl_config.php http://wklej.org/id/1556362/

 

//------------------------------------------------------------------------------------------------------------+
  function lgsl_server_html($server, $word_wrap = 20)
  {
    foreach ($server as $key => $value)
    {
  if (!$server[$key]['hltv'])
  {
   $server[$key] = is_array($value) ? lgsl_server_html($value, $word_wrap) : lgsl_string_html($value, FALSE, $word_wrap);
  }
    }
    return $server;
  }
//------------------------------------------------------------------------------------------------------------+
Edytowane przez Csysiu
Odnośnik do komentarza
Udostępnij na innych stronach

Przepraszam, że pisze post pod postem, ale chciałem zaktualizować mój poprzedni post. To znaczy poradziłem sobie z sypiącymi błędami, ale nadal mam problem z :

$lgsl_config['ipb_header']		= 1; // 1 - Pokazuje header tabelki (#, Status, Gra, ....), 0 - Nie pokazuje

Mam prawidłowo ustawione na 1, ale belki powyżej ze statusem, grą, adresem ip, nazwą serwera itd. nie pokazuje. Proszę spojrzeć http://frag-project.pl/forum 

Odnośnik do komentarza
Udostępnij na innych stronach

Błąd się tyczy tej linijki:

if (!$server[$key]['hltv'])

Więc pewnie ten serwer hltv (chyba chodzi o Half-Life TeleVision ) jest źle skonfigurowany i dlatego sypie błędami...

Przepraszam, że pisze post pod postem, ale chciałem zaktualizować mój poprzedni post. To znaczy poradziłem sobie z sypiącymi błędami, ale nadal mam problem z :

$lgsl_config['ipb_header']		= 1; // 1 - Pokazuje header tabelki (#, Status, Gra, ....), 0 - Nie pokazuje

Mam prawidłowo ustawione na 1, ale belki powyżej ze statusem, grą, adresem ip, nazwą serwera itd. nie pokazuje. Proszę spojrzeć http://frag-project.pl/forum

Świetnie. Podaj rozwiązanie innym, bo inaczej temat nie ma sensu. A co do kolejnego linka to widywałem ładniejsze błędy 404 not found ;)

  • Lubię to 1
Odnośnik do komentarza
Udostępnij na innych stronach

  • Rozwiązanie

Rozwiązaniem problemu z sypiącymi błędami 

Warning: Illegal string offset 'hltv' in /home/fragproj/public_html/forum/serverviewer/admin/lgsl_class.php on line 874

w linii 874 usunąć

if (!$server[$key]['hltv'])

Nie będzie już sypać, ale to nie rozwiązanie, tak jak napisał up Jurij wina leży po stronie złej konfiguracji hltv na serwerze gry, patrzeć w logach hltv.log już po stronie serwera gry czy tam nie sypie jakimiś cudami.

 

A co do błędów dotyczących:

Warning: Cannot modify header information - headers already sent by (output started at /home/fragproj/public_html/forum/serverviewer/admin/lgsl_config.php:1) in/home/fragproj/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 114
Warning: Cannot modify header information - headers already sent by (output started at /home/fragproj/public_html/forum/serverviewer/admin/lgsl_config.php:1) in/home/fragproj/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.phpfig on line 127

Po edycji pliku lgsl_config.php należy przekonwertować jego kodowanie z ANSI na UTF bez BOM , to powinno załatwić sprawę.

 

Ale nadal pozostaje sprawa z:

$lgsl_config['ipb_header']		= 1; // 1 - Pokazuje header tabelki (#, Status, Gra, ....), 0 - Nie pokazuje

Brak belki ze status, nazwa serwera, typ gry tid ...

 

Nie mam pojęcia co jest nie tak.

Odnośnik do komentarza
Udostępnij na innych stronach

A kto edytuje cokolwiek w innym kodowaniu niż nie UTF-8 bez BOM?

Notepad ++ i jedziesz.

Usuń z tabelki po prostu link do HLTV i bedzie działać.

Nie dodawaj linku do dem.

Nie widze takiego problemu w czystej instalce "dodatku"

Wiec nie wiem skad ty masz taki problem.

Belki z opisem "status" itp nigdy nie pokazywało na głownej stronie.

Masz to tutaj:

http://frag-project.pl/forum/serverviewer/

  • Lubię to 1

"Ale ja mam oryginalny klucz patrz!"

http://scr.hu/1p4s/in3pa

 

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.