TopStats - Błąd przy wylogowywaniu z forum

Błąd   Założony przez  mrseto.

wersja skryptu MyBB: 1.6.10
adres forum: ls-swiat.xaa.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Witam, dzisiaj zauważyłem, że gdy chcę się wylogować z forum to jest pewien błąd, między innymi:
Wewnętrzny błąd MyBB

MyBB napotkało błąd wewnętrzny i nie może kontynuować.

Typ błędu:
    Ostrzeżenie (2)
Treść błędu:
    Cannot modify header information - headers already sent by (output started at /home/lsswiat/public_html/inc/languages/polish/topStats.lang.php:1)
Lokalizacja:
    Plik: inc/functions.php
    Linia: 1701
Kod:
    1698.    
    1699.     $mybb->cookies[$name] = $value;
    1700.
    1701.     header($cookie, false);
    1702. }
    1703.
    1704. /**
Fragment kodu:
    Plik     Linia     Funkcja
    /inc/class_error.php     206     errorHandler->output_error
    [PHP]           errorHandler->error
    /inc/functions.php     1701     header
    /inc/functions.php     1714     my_setcookie
    /member.php     1396     my_unsetcookie

Odwiedź Polski Support MyBB aby uzyskać pomoc.

[Obrazek: 29e126w.png]

Błąd wywołuje plugin, gdyż wyłączyłem go na chwile i wszystko jest ok, nie rozumiem zbytnio o co chodzi, czy ktoś mi pomoże się z tym uporać? Zależy mi na tym pluginie. Za pomoc "Reputacja + Pomógł"! Pozdrawiam.
Jakie kodowanie dla tego pliku masz ustawione (mówię o językowym topStats).
(26.08.2013, 17:16)GiboneKPL napisał(a): Jakie kodowanie dla tego pliku masz ustawione (mówię o językowym topStats).

inc>languages>polish

załączam kod topStats.lang.php

<?php
/**
* This file is part of Top Stats plugin for MyBB.
* Copyright (C) 2010-2013 baszaR & LukasAMD & Supryk
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
*
*/

/**
* Disallow direct access to this file for security reasons
*
*/
if (!defined("IN_MYBB")) exit;

$l['topStats_LastThreads'] = "Najnowsze tematy";
$l['topStats_MostViews'] = "Najwięcej wyświetlane";
$l['topStats_Top'] = "Top";
$l['topStats_Posters'] = "piszących";
$l['topStats_Reputation'] = "reputacji";
$l['topStats_Online'] = "uzależnionych";
$l['topStats_OnlineTime'] = "Czas online";    
$l['topStats_NewestUsers'] = "ostatnio zarejestrowanych";  
$l['topStats_NewestUsersJoin'] = "Dołaczył";
O ile dobrze pamiętam to pliki php powinny mieć taką końcówkę:
?>

Masz tutaj kod:
<?php
/**
* This file is part of Top Stats plugin for MyBB.
* Copyright (C) 2010-2013 baszaR & LukasAMD & Supryk
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
*
*/ 

/**
* Disallow direct access to this file for security reasons

*/
if (!defined("IN_MYBB")) exit;

$l['topStats_LastThreads'] = "Najnowsze tematy";
$l['topStats_MostViews'] = "Najwięcej wyświetlane";
$l['topStats_Top'] = "Top";
$l['topStats_Posters'] = "piszących";
$l['topStats_Reputation'] = "reputacji";
$l['topStats_Online'] = "uzależnionych";
$l['topStats_OnlineTime'] = "Czas online";    
$l['topStats_NewestUsers'] = "ostatnio zarejestrowanych";   
$l['topStats_NewestUsersJoin'] = "Dołaczył";
?>

I sprawdź czy masz kodowanie UTF-8 (bez bom).
(26.08.2013, 17:30)GiboneKPL napisał(a): O ile dobrze pamiętam to pliki php powinny mieć taką końcówkę:
?>

Masz tutaj kod:
<?php
/**
* This file is part of Top Stats plugin for MyBB.
* Copyright (C) 2010-2013 baszaR & LukasAMD & Supryk
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
*
*/ 

/**
* Disallow direct access to this file for security reasons

*/
if (!defined("IN_MYBB")) exit;

$l['topStats_LastThreads'] = "Najnowsze tematy";
$l['topStats_MostViews'] = "Najwięcej wyświetlane";
$l['topStats_Top'] = "Top";
$l['topStats_Posters'] = "piszących";
$l['topStats_Reputation'] = "reputacji";
$l['topStats_Online'] = "uzależnionych";
$l['topStats_OnlineTime'] = "Czas online";    
$l['topStats_NewestUsers'] = "ostatnio zarejestrowanych";   
$l['topStats_NewestUsersJoin'] = "Dołaczył";
?>

I sprawdź czy masz kodowanie UTF-8 (bez bom).

Nadal to samo, a o co chodzi z "I sprawdź czy masz kodowanie UTF-8 (bez bom).", gdzie to sprawdzić?
https://webboard.pl/wiki.php?utf-bez-bom...waniu.html
(26.08.2013, 17:37)GiboneKPL napisał(a): https://webboard.pl/wiki.php?utf-bez-bom...waniu.html

Tak, nie było w tym formacie, zrobiłem tak jak było opisane i jest dobrze, dzięki, reputacja i moduł pomógł poszły. Pozdrawiam.



Użytkownicy przeglądający ten wątek:

1 gości