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

Problem z Instalacją Amxxbans : All parts of a PRIMARY KEY must be NOT NULL


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

#1 parolek

    Początkujący

  • Użytkownik

Reputacja: 1
Nowy

  • Postów:10
Offline

Napisano 13.06.2019 22:05

Witam moj problem polega na tym ze nie tworzą się tabele w bazie danych co widać na zdjęciach proszę was o szybka pomoc

hosting: proserwer

 

1.png2.png

bez%20tytulu.png


  • +
  • -
  • 0

#2 dasiek

    Nie wiem, nie znam się, nie orientuję się, zarobiony jestem.

  • Junior Admin

Reputacja: 2 077
Godlike

  • Postów:5 706
  • Imię:Adaś
  • Lokalizacja:No teraz trochę dalej od WWy
Offline

Napisano 14.06.2019 07:11

Wystarczy poprawnie stworzyć bazę danych, nadając jej wszystkie uprawnienia.

 

Z tematu https://amxx.pl/topi...u-tabeli-mysql/ - błąd tem sam. 

 

ewentualnie obstawiam na to, że ta wersja amxbans nie jest przystosowana do tej wersji bazy. 


  • +
  • -
  • 0

#3 parolek

    Początkujący

  • Autor tematu
  • Użytkownik

Reputacja: 1
Nowy

  • Postów:10
Offline

Napisano 14.06.2019 10:13

niestety zrobiłem nowa bazę dałem wszystkie uprawnienia i ten sam błąd. Powiem ze nie pierwszy raz instaluje amxbans i to mój pierwszy błąd tego rodzaju myślę ze może coś z rokiem 2019 z baza danych mysql sie coś zmieniło 


  • +
  • -
  • 0

#4 dasiek

    Nie wiem, nie znam się, nie orientuję się, zarobiony jestem.

  • Junior Admin

Reputacja: 2 077
Godlike

  • Postów:5 706
  • Imię:Adaś
  • Lokalizacja:No teraz trochę dalej od WWy
Offline

Napisano 14.06.2019 10:14

Podaj link, skąd pobrałeś paczkę z amxbansem.

 


  • +
  • -
  • 0

#5 parolek

    Początkujący

  • Autor tematu
  • Użytkownik

Reputacja: 1
Nowy

  • Postów:10
Offline

Napisano 14.06.2019 10:23

proszę bardzo: https://amxx.pl/topi...alacja-amxbans/

 

 

pobierałem kilka paczek z amxbans każda ma ten sam problem


  • +
  • -
  • 0

#6 dasiek

    Nie wiem, nie znam się, nie orientuję się, zarobiony jestem.

  • Junior Admin

Reputacja: 2 077
Godlike

  • Postów:5 706
  • Imię:Adaś
  • Lokalizacja:No teraz trochę dalej od WWy
Offline

Napisano 14.06.2019 10:42

Podmień plik `tables.inc` z folderu *Web/install* na ten, który wrzuciłem w załączniku i sprawdź.


dasiek (14.06.2019 10:47):
Dodałem UNIQUE do indeksów bazy. tak jak przejrzałem teraz, indexy nie powinny mieć NULL xD

Załączone pliki


  • +
  • -
  • 0

#7 parolek

    Początkujący

  • Autor tematu
  • Użytkownik

Reputacja: 1
Nowy

  • Postów:10
Offline

Napisano 14.06.2019 16:29

nadal ten ten sam błąd


amx_admins_servers	Stworzono
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	Stworzono
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	Stworzono

  • +
  • -
  • 0

#8 dasiek

    Nie wiem, nie znam się, nie orientuję się, zarobiony jestem.

  • Junior Admin

Reputacja: 2 077
Godlike

  • Postów:5 706
  • Imię:Adaś
  • Lokalizacja:No teraz trochę dalej od WWy
Offline

Napisano 14.06.2019 17:59

Sprawdz to
Spoiler

  • +
  • -
  • 0

#9 parolek

    Początkujący

  • Autor tematu
  • Użytkownik

Reputacja: 1
Nowy

  • Postów:10
Offline

Napisano 14.06.2019 23:44

teraz takie cos 

 

 

4.png


  • +
  • -
  • 0

#10 parolek

    Początkujący

  • Autor tematu
  • Użytkownik

Reputacja: 1
Nowy

  • Postów:10
Offline

Napisano 15.06.2019 05:25

Dodam jeszcze dane serwera

Wersja programu cPanel 78.0 (build 27)
Wersja serwera Apache 2.4.39
Wersja PHP 5.2.17
Wersja oprogramowania MySQL 5.7.26-cll-lve
Architektura x86_64
System operacyjny linux
Udostępniony adres IP 94.23.88.58
Ścieżka do programu Sendmail /usr/sbin/sendmail
Ścieżka do programu Perl /usr/bin/perl
Wersja oprogramowania Perl 5.16.3
Wersja jądra 3.10.0-962.3.2.lve1.5.25.6.el7.x86_64
  • +
  • -
  • 1




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

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