Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie
GmAMXBans

Po wgraniu i zainstalowaniu błędy

gmamxbans

  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
5 odpowiedzi w tym temacie

#1 Quak1042

    Życzliwy

  • Użytkownik

Reputacja: 2
Nowy

  • Postów:39
Offline

Napisano 05.12.2017 22:16

Po zainstalowaniu forum takie coś mam w setup

amx_admins_servers  successfully created
amx_amxadmins   All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
amx_bans    All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
amx_bans_edit   successfully created
amx_bbcode  All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
amx_comments    All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
amx_files   All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
amx_levels  All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
amx_logs    All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
amx_modulconfig All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
amx_reasons All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
amx_reasons_set All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
amx_reasons_to_set  All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
amx_serverinfo  All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
amx_smilies All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
amx_usermenu    All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
amx_webadmins   All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
amx_webconfig   All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
amx_flagged successfully created

A po wejsciu na stronkę to takie cos:


Warning: Creating default object from empty value in /bany/include/config.inc.php on line 7
Table '25996620_amxbans.amx_webconfig' doesn't exist

Pomoże ktoś?


Użytkownik Quak1042 edytował ten post 05.12.2017 22:17

  • +
  • -
  • 0

#2 lolsnox123

    Życzliwy

  • Użytkownik

Reputacja: 0
Nowy

  • Postów:33
  • GG:
  • Imię:Adrian
  • Lokalizacja:Koszalin
Offline

Napisano 05.12.2017 23:23

W pliku index.php będziesz musiał zmienić , 

Zmień to:

 

header("Location:$config->start_page");

 

Na to:

header("Location: {$config->start_page}")


  • +
  • -
  • 0

#3 Quak1042

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 2
Nowy

  • Postów:39
Offline

Napisano 05.12.2017 23:51

Nie działa..


  • +
  • -
  • 0

#4 _McHappy

    Wszechwiedzący

  • Support Team

Reputacja: 243
Wszechwidzący

  • Postów:501
  • GG:
  • Imię:Radek
  • Lokalizacja:Tak
Offline

Napisano 06.12.2017 20:58

Odnośnie błędu:

Warning: Creating default object from empty value in /bany/include/config.inc.php on line 7

W pliku include/config.inc.php należy przed linią 7:

$config->v_web="1.6";

Dodać:

$config = new stdClass();

Źródło: https://amxx.pl/topi...z-configincphp/

 

 

Co do problemu z wykonaniem kodu SQL: podaj link do wersji, którą próbujesz zainstalować.


  • +
  • -
  • 0

#5 Quak1042

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 2
Nowy

  • Postów:39
Offline

Napisano 06.12.2017 22:52

https://amxx.pl/topi...8-gmamxbans-16/

 

Tą wersję wgrywam i błędziki


  • +
  • -
  • 0

#6 Agent.

    Pomocny

  • Użytkownik

Reputacja: 4
Nowy

  • Postów:49
Offline

Napisano 07.12.2017 06:35

Podaj kontakt do siebie na pw, to ci to zrobię


  • +
  • -
  • 0





Również z jednym lub większą ilością słów kluczowych: gmamxbans

Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych