
2. Die Definierung der Konstante existiert nicht
tune389 hat geschrieben:Wo ist da die Anleitung die finde ich nicht...
Oder bin ich da falsch ?
Lösung: Tabelle laut Anleitung erstellen
Ich habe das wesendliche fablich makiert.2. Die Definierung der Konstante existiert nicht
SQL Error : 1146 Table 'DB.CONFIG_TABLE' doesn't exist
Bei dieser Fehlermeldung wird als erstes die Datenbank, in der sich die Tabelle befinden soll genannt (DB) gefolgt von der Konstanten (CONFIG_TABLE) getrennt von einem Punkt (.).
Die Datei includes/constants.php wurde nicht mit dieser Konstante ausgestattet. Bei einer SQL-Abfrage kann also keine Datenbank ausgelesen werden.
Lösung: Die Datei constants.php wie bspw. in der MOD-Anleitung beschrieben bearbeiten.
Fazit: Die Fehlermeldung ist eigentlich identisch, aber es kommt auf den Wert an, der als nicht-existent deklariert wird.
Ist es kein Tabellenname (z.B. CONFIG_TABLE) muss die includes/constants.php bearbeitet werden.
Wird ein Tabellenname angezeigt, wurde die Tabelle nicht erstellt, bzw. erweitert.
Code: Alles auswählen
Allgemeiner Fehler
SQL ERROR [ mysql4 ]
Unbekanntes Tabellenfeld 'forum_topic' in field list [1054]
SQL
UPDATE phpbb_points_values SET forum_topic = 50
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal_mysql->sql_error()
FILE: includes/points/functions_points.php
LINE: 672
CALL: dbal_mysql->sql_query()
FILE: includes/acp/acp_points.php
LINE: 855
CALL: set_points_values()
FILE: includes/functions_module.php
LINE: 507
CALL: acp_points->main()
FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
Code: Alles auswählen
Allgemeiner Fehler
SQL ERROR [ mysql4 ]
Doppelter Spaltenname: 'robbery_max_rob' [1060]
SQL
ALTER TABLE phpbb_points_values ADD robbery_max_rob decimal(5,2) NOT NULL DEFAULT '10.00'
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal_mysql->sql_error()
FILE: install_ultimate_points.php
LINE: 492
CALL: dbal_mysql->sql_query()
FILE:
LINE:
CALL: fill_1_0_2()
FILE: umil/umil.php
LINE: 490
CALL: call_user_func()
FILE: umil/umil.php
LINE: 378
CALL: umil_frontend->_call_custom_function()
FILE: umil/umil_auto.php
LINE: 184
CALL: umil_frontend->run_actions()
FILE: install_ultimate_points.php
LINE: 347
CALL: include('umil/umil_auto.php')
Code: Alles auswählen
Allgemeiner Fehler
SQL ERROR [ mysql4 ]
Unbekanntes Tabellenfeld 'gallery_upload' in field list [1054]
SQL
UPDATE phpbb_points_values SET number_show_per_page = 15, number_show_top_points = 10, points_per_attach = 5, points_per_attach_file = 5, points_per_poll = 25, points_per_poll_option = 5, points_per_topic_word = 0.1, points_per_topic_character = 0.05, points_per_post_word = 0.1, points_per_post_character = 0.05, points_dl_cost_per_attach = 0, reg_points_bonus = 100, points_per_warn = 0, gallery_upload = 0, gallery_remove = 0, gallery_view = 0
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal_mysql->sql_error()
FILE: includes/acp/acp_points.php
LINE: 146
CALL: dbal_mysql->sql_query()
FILE: includes/functions_module.php
LINE: 507
CALL: acp_points->main()
FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
Code: Alles auswählen
Allgemeiner Fehler
SQL ERROR [ mysql4 ]
Doppelter Spaltenname: 'points_received' [1060]
SQL
ALTER TABLE phpbb_posts ADD points_received DECIMAL( 20, 2 ) NOT NULL default '0.00'
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal_mysql->sql_error()
FILE: install_ultimate_points.php
LINE: 500
CALL: dbal_mysql->sql_query()
FILE:
LINE:
CALL: fill_1_0_2()
FILE: umil/umil.php
LINE: 490
CALL: call_user_func()
FILE: umil/umil.php
LINE: 378
CALL: umil_frontend->_call_custom_function()
FILE: umil/umil_auto.php
LINE: 184
CALL: umil_frontend->run_actions()
FILE: install_ultimate_points.php
LINE: 347
CALL: include('umil/umil_auto.php')