Seite 1 von 1

Prefix Topic

Verfasst: 15.04.2011 10:02
von DaSasha
Hallo
Ich habe diesen Mod installiert

http://www.phpbb.com/community/viewtopi ... &t=2091731

aber folgenes tritt jetzt auf, installieren funktioniert, aber ich bekomme diese fehlermeldung

Code: Alles auswählen

Allgemeiner Fehler
SQL ERROR [ mysqli ]

Table 'd010728c.phpbb_subject_prefix' doesn't exist [1146]

SQL

SELECT * FROM phpbb_subject_prefix

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/mods/subject_prefix/sp_cache.php
LINE: 46
CALL: dbal_mysqli->sql_query()

FILE: includes/mods/subject_prefix/sp_core.php
LINE: 40
CALL: sp_cache->obtain_subject_prefixes()

FILE: includes/mods/subject_prefix/sp_core.php
LINE: 426
CALL: sp_core::init()

FILE: includes/hooks/hook_subject_prefix.php
LINE: 75
CALL: require('includes/mods/subject_prefix/sp_core.php')

FILE:
LINE:
CALL: sp_hook::subject_prefix_init()

FILE: includes/hooks/index.php
LINE: 141
CALL: call_user_func_array()

FILE: includes/functions.php
LINE: 4693
CALL: phpbb_hook->call_hook()

FILE: includes/session.php
LINE: 1806
CALL: phpbb_user_session_handler()

FILE: portal.php
LINE: 29
CALL: user->setup()
Weiss jemand woran das liegt?

Ich bedanke mich schonmal

edit:
downloadlink: https://github.com/erikfrerejean/subjec ... /downloads
ich habe version 1.2.2

Re: Prefix Topic

Verfasst: 15.04.2011 10:51
von hackepeter13

Code: Alles auswählen

Table 'd010728c.phpbb_subject_prefix' doesn't exist
Die Tabelle Fehlt in der Datenbank!

Ich denke mal du hast vergessen, die install/index.php hochzuladen und/oder auszuführen. ;)

Re: Prefix Topic

Verfasst: 15.04.2011 11:40
von DaSasha
DaSasha hat geschrieben: aber folgenes tritt jetzt auf, installieren funktioniert, aber ich bekomme diese fehlermeldung
Hochgeladen, installiert, gelöscht

Das die Tabelle fehlt ist mir klar, nur verstehe ich das nicht da ich alles gemacht habe wie in der install datei beschrieben ist.

allerdings weiss ich net ob ich in der include/constans.php die tabellen hinzufügen soll, weil da auch nix in der install datei beschrieben ist...

kennt sonst jemand so ein prefix welches funkt?

edit:
was mich auch nachdenklich macht ist folgenes aus dem install order

Code: Alles auswählen

		'table_add' => array(
			// The main Subject Prefix table
			array(SUBJECT_PREFIX_TABLE, array(
				'COLUMNS'	=> array(
					'prefix_id'		=> array('UINT', NULL, 'auto_increment'),
					'prefix_title'	=> array('VCHAR:255', ''),
					'prefix_colour'	=> array('VCHAR:6', '000000'),
				),
				'PRIMARY_KEY' => 'prefix_id',
			)),

			// The prefix-forum table
			array(SUBJECT_PREFIX_FORUMS_TABLE, array(
				'COLUMNS'	=> array(
					'prefix_id'		=> array('UINT', 0),
					'forum_id'		=> array('UINT', 0),
					'prefix_order'	=> array('UINT', 0),
				),
				'KEYS'		=> array(
					'pid'	=> array('INDEX', array('prefix_id')),
					'fid'	=> array('INDEX', array('forum_id')),
				)
			)),
		),
muss das nicht so geschrieben werden?

Code: Alles auswählen

		'table_add' => array(
			// The main Subject Prefix table
			array($table_prefix . 'subject_prefix', array(
				'COLUMNS'	=> array(
					'prefix_id'		=> array('UINT', NULL, 'auto_increment'),
					'prefix_title'	=> array('VCHAR:255', ''),
					'prefix_colour'	=> array('VCHAR:6', '000000'),
				),
				'PRIMARY_KEY' => 'prefix_id',
			)),

			// The prefix-forum table
			array($table_prefix . 'subject_prefix_forums', array(
				'COLUMNS'	=> array(
					'prefix_id'		=> array('UINT', 0),
					'forum_id'		=> array('UINT', 0),
					'prefix_order'	=> array('UINT', 0),
				),
				'KEYS'		=> array(
					'pid'	=> array('INDEX', array('prefix_id')),
					'fid'	=> array('INDEX', array('forum_id')),
				)
			)),
		),

Re: Prefix Topic

Verfasst: 15.04.2011 18:20
von hackepeter13
DaSasha hat geschrieben:kennt sonst jemand so ein prefix welches funkt?
Ich kann dir da so nicht weiterhelfen, warum die installation einen Fehler ausgibt, da ich die Mod selber nicht nutze/teste und es auch nicht vorhabe, da ich eine an dere Mod benutze.

Diese ist etwas umfangreicher und aktuell. ;)

Quick Titel Edition

Re: Prefix Topic

Verfasst: 16.04.2011 02:27
von DaSasha
ok danke :grin:

werd diesen mod auch installieren, die beschreibung hört sich wirklich gut an und die screens sprechen für sich

Re: Prefix Topic

Verfasst: 16.04.2011 15:43
von DaSasha
hab das mod installiert

habe aber ein problem beim installieren, ich bin ausgeloggt und kann die db_update.php nicht ausführen

anmelden ist nicht möglich da ich ja die datein bearbeitet habe und wenn ich versuche mich zu einloggen kommt folgene fehlermeldung

Code: Alles auswählen

General Error
SQL ERROR [ mysqli ]

Table 'd010728c.phpbb_topics_attr' doesn't exist [1146]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists.
Gibt es eine möglichkeit die Tabelle manuell per MyphpAdmin einzufügen?

Re: Prefix Topic

Verfasst: 16.04.2011 15:51
von DaSasha
hat sich erledigt

habe aus der ucp.php den code rausgemacht, dann konnte ich mich einloggen und habe es dann wieder eingefügt.
funktioniert jetzt