←  Problemy

AMXX.pl: Support AMX Mod X i SourceMod

»

GmAMXBans
[KOSZ] leże i proszę o pomoc

Zablokowany

  • +
  • -
PowstaniecGanru - zdjęcie PowstaniecGanru 25.08.2015

Witam

nie wiem już co mam zrobić z amxbansem po zainstalowaniu wyskakuje mi taki komunikat

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxx/public_html/WEB/include/config.inc.php:1) in /home/xxxxxxx/public_html/WEB/index.php on line 38

mam php 5.4 próbowałem już dodać plik .htccess i wyskakiwal znowu taki


	Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

plik index.php wygląda tak

<?php

/*    

    AMXBans v6.0
    
    Copyright 2009, 2010 by SeToY & |PJ|ShOrTy

    This file is part of AMXBans.

    AMXBans is free software, but it's licensed under the
    Creative Commons - Attribution-NonCommercial-ShareAlike 2.0

    AMXBans 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.

    You should have received a copy of the cc-nC-SA along with AMXBans.  
    If not, see <http://creativecommons.org/licenses/by-nc-sa/2.0/>.

*/


@session_start();

//check for existing config file
if(!file_exists("include/db.config.inc.php")) {
    header("Location: setup.php");
}

require_once("include/config.inc.php");
require_once("include/access.inc.php");

//start page loader
if(    $config->start_page == "" || $config->start_page == "index.php" || (!file_exists("$config->start_page"))) {
    header("Location:ban_list.php");
} else {
    header("Location:$config->start_page");
}
?>

używam amxbansa od szyfranta proszę O POMOC


Użytkownik PowstaniecGanru edytował ten post 25.08.2015 19:28
Odpowiedz

  • +
  • -
Wujek Blacha - zdjęcie Wujek Blacha 25.08.2015

W kodzie bansa jest błąd i trzeba wykonać migrację. 

 

W pliku /include/config.inc.php przed linijką 7 

$config->v_web = "1.6";

Dodaj

$config = new stdClass();

Powinno wskoczyć. 

Odpowiedz

  • +
  • -
PowstaniecGanru - zdjęcie PowstaniecGanru 26.08.2015

To pomogło na błąd z configiem ale ten nadal występuje.
Odpowiedz

  • +
  • -
dasiek - zdjęcie dasiek 27.08.2015

Nazywaj tematy zgodnie z ich treścią.
Napisz ponownie temat nazywając go tak, aby każdy wiedział o co chodzi.

Jednoznacznie określ problematykę tematu, wyróżniając go spośród reszty.
Nie dodawaj zbędnych informacji, znaków, ani emotikon w nazwie tematu.

Ten temat w ciągu 24 godzin zostanie przeniesiony do kosza.
Odpowiedz
Zablokowany