Jak przestawić amxbans na nową bazę
Qmi 02.10.2011
L 10/02/2011 - 10:48:33: [AMXX] Run time error 25 (plugin "amxbans_main.amxx") - debug not enabled!
L 10/02/2011 - 10:48:33: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
I podobno jak się ustawi nową bazę to ten problem minie, także postawiłem nową bazę i zmieniam ja w include/db.config.inc.php ale jak zmienię na nową i odświeżę stronę to się psuje
i wyskakuje błąd.
Table 'qmi_amxbans.amx_webconfig' doesn't exist
glut
02.10.2011
amxbans_main.amxx
daj
amxbans_main.amxx debug
i nie musisz bazy zmieniać
Szyfrant
06.10.2011
tak powinno działać
Cóż za absurd..
Nie będzie działać poprawnie tylko wypluje błędy pluginu
Kawon
11.10.2011
CREATE TABLE `amx_webconfig` ( `id` int(11) NULL auto_increment, `cookie` varchar(32) NULL, `bans_per_page` int(11) NULL, `design varchar`(32) NULL, `banner varchar`(64) NULL, `banner_url varchar`(128) NOT NULL, `default_lang varchar`(32) NULL, `start_page varchar`(64) NULL, `show_comment_count` int(1) NULL DEFAULT '1', `show_demo_count` int(1) NULL DEFAULT '1', `show_kick_count` int(1) NULL DEFAULT '1', `demo_all int`(1) NOT NULL DEFAULT '0', `comment_all` int(1) NOT NULL DEFAULT '0', `use_capture` int(1) NULL DEFAULT '1', `max_file_size` int(11) NULL DEFAULT '2', `file_type` varchar(64) NULL DEFAULT 'dem,zip,rar,jpg,gif', `auto_prune` int(1) NOT NULL DEFAULT '0', `max_offences` SMALLINT NOT NULL DEFAULT '10', `max_offences_reason` VARCHAR( 128 ) NOT NULL DEFAULT 'max offences reached', `use_demo` int(1) NULL DEFAULT '1', `use_comment` int(1) NULL DEFAULT '1', PRIMARY KEY (id) );
Qmi 11.10.2011
(To miało być dołączenie do tamtego wyżej posta)
Coś takiego się pojawia
Użytkownik Qmi edytował ten post 11.10.2011 20:40
Kawon
11.10.2011
to zainstalujbo to jest nowa baza danych i tam nie ma nic zainstalowane
nie rozumiem cię
zapytanie na tabele amx_webconfig
CREATE TABLE `amx_webconfig` ( id int(11) NULL auto_increment, cookie varchar(32) NULL, bans_per_page int(11) NULL, design varchar(32) NULL, banner varchar(64) NULL, banner_url varchar(128) NOT NULL, default_lang varchar(32) NULL, start_page varchar(64) NULL, show_comment_count int(1) NULL DEFAULT '1', show_demo_count int(1) NULL DEFAULT '1', show_kick_count int(1) NULL DEFAULT '1', demo_all int(1) NOT NULL DEFAULT '0', comment_all int(1) NOT NULL DEFAULT '0', use_capture int(1) NULL DEFAULT '1', max_file_size int(11) NULL DEFAULT '2', file_type varchar(64) NULL DEFAULT 'dem,zip,rar,jpg,gif', auto_prune int(1) NOT NULL DEFAULT '0', `max_offences` SMALLINT NOT NULL DEFAULT '10', `max_offences_reason` VARCHAR( 128 ) NOT NULL DEFAULT 'max offences reached', use_demo int(1) NULL DEFAULT '1', use_comment int(1) NULL DEFAULT '1', PRIMARY KEY (id) );
Qmi 11.10.2011
Czyli musze usunąć cały folder bany (bo tam mam amxbans) i zainstalować to od nowa?
Kawon
11.10.2011
wrzuć setup.php i zainstaluj
chyba że masz dużo czasu to wywal all pliki i wrzuć na nowo
Użytkownik Kawon edytował ten post 11.10.2011 21:03
Kawon
11.10.2011
Qmi 11.10.2011
zainstaluj na ta samą bazę danych
Ale przecież chodzi o to aby zainstalować właśnie na nowej bazie a nie na starej, przynajmniej tak rozumiem to co napisałeś.
Kawon
11.10.2011
Qmi 11.10.2011
jeśli w db.confing.inc.php wpiszę dane do nowej bazy w której nic nie ma to wtedy wyskakuje to
Table 'qmi_amxbans.amx_webconfig' doesn't exist
A jak jestem na obecnej bazie danych to wyskakuje error.
L 10/11/2011 - 21:50:16: Info (map "de_dust2_long") (file "addons/amxmodx/logs/error_20111011.log")
L 10/11/2011 - 21:50:16: String formatted incorrectly - parameter 7 (total 6)
L 10/11/2011 - 21:50:16: [AMXX] Run time error 25 (plugin "amxbans_main.amxx") - debug not enabled!
L 10/11/2011 - 21:50:16: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes)
Kawon
11.10.2011
trzeba było tak od razu
wpisz w plugins.ini
amxbans_main.amxx debugwtedy pokaż logi jakie wyrzuci
wywala ci to bo baza jest zupełnie pusta nic w niej nie maTable 'qmi_amxbans.amx_webconfig' doesn't exist
Użytkownik Kawon edytował ten post 11.10.2011 21:39
Qmi 11.10.2011
L 10/09/2011 - 09:48:14: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20111009.log")
L 10/09/2011 - 09:48:14: String formatted incorrectly - parameter 7 (total 6)
L 10/09/2011 - 09:48:14: [AMXX] Displaying debug trace (plugin "amxbans_main.amxx")
L 10/09/2011 - 09:48:14: [AMXX] Run time error 25: parameter error
coś w tym stylu