Seite 1 von 3

Fehler bei der Installation des globalannounce mod

Verfasst: 13.06.2006 22:19
von Pingu625
SQL Bearbeitungsfehler:
Keine SQL Änderungen durchgeführt. Jedoch kannst du die zu bearbeitenden SQL-Befehle überspringen und später manuell erledigen

Der folgende Fehler trat auf:

Error:
Unexpected or unknown attribute "AFTER AUTH_ANNOUNCE", in "auth_globalannounce TINYINT(2) DEFAULT ___0___ NOT NULL AFTER auth_announce", statement: 1, table: "phpbb_forums"

SQL:
ALTER TABLE phpbb_forums ADD auth_globalannounce TINYINT(2) DEFAULT "3" NOT NULL AFTER auth_announce
Dies wird angezeigt! Was kann ich dagegen tun?

Verfasst: 13.06.2006 22:46
von Markus67
Hi ...

Hast du das ganze mit dem EMI installiert?

Führe diesen Querie

Code: Alles auswählen

ALTER TABLE phpbb_forums ADD auth_globalannounce TINYINT(2) DEFAULT "3" NOT NULL AFTER auth_announce
mit KB:phpmyadmin aus ... dann sollte es klappen :wink:

Markus

Verfasst: 14.06.2006 21:43
von Pingu625
So;DANKE :grin: dass hat soweit geklappt!

Wenn ich aber jetzt ein neues Thema erstellen will, kommt dieses hier:
Failed obtaining forum access control lists

DEBUG MODE

SQL Error : 1054 Unknown column 'a.auth_globalannounce' in 'field list'

SELECT a.forum_id, a.auth_view, a.auth_read, a.auth_post, a.auth_reply, a.auth_edit, a.auth_delete, a.auth_sticky, a.auth_announce, a.auth_vote, a.auth_pollcreate, a.auth_globalannounce, a.auth_attachments, a.auth_download, a.auth_mod FROM phpbb_auth_access a, phpbb_user_group ug WHERE ug.user_id = 2 AND ug.user_pending = 0 AND a.group_id = ug.group_id AND a.forum_id = 1

Line : 166
File : auth.php
:grin:

Weiterer Fehler (beim erstellen eines neuen Forums):
Allgemeiner Fehler
Couldn't insert row in forums table

DEBUG MODE

SQL Error : 1054 Unknown column 'auth_download' in 'field list'

INSERT INTO phpbb_forums (forum_id, forum_name, cat_id, forum_desc, forum_order, forum_status, prune_enable, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_sticky, auth_announce, auth_vote, auth_pollcreate, auth_attachments, auth_download) VALUES ('3', 'Werbung blocken!!!', 2, 'Wenn euch die Werbung nervt, müsst ihr euch dort registrieren: Funpic. Jedoch wird diese Seite nur dann werbefrei, wenn ihr euch über genau diesen Link anmeldet!!!', 20, 0, 0, 0, 0, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1)

Line : 402
File : admin_forums.php

Verfasst: 14.06.2006 22:28
von Markus67
Hi ...

Das Feld kann aber nicht in der Datenbank drin sein ... denn sonst würde keine Fehlermeldung kommen :wink:

Gibt es das Feld denn wirklich in der Tabelle phpbb_forums ?

Markus

Verfasst: 14.06.2006 23:09
von Pingu625
Ich denke schon:
http://coolpas.co.funpic.de/1.jpg

Aber eben war der Eintrag wieder gelöscht. Dann habe ich ihn wieder eigefügt und nun ist er wieder da. Aber trotzdem noch Fehlermeldung.

(siehe Bild)

Verfasst: 14.06.2006 23:10
von Markus67
Hi ...

der Stern ist nur ein Platzhalter.

Steht denn das hier in deiner constants.php so drin?

Code: Alles auswählen

# 
#-----[ OPEN ]------------------------------------------------ 
# 
includes/constants.php

# 
#-----[ FIND ]------------------------------------------------ 
# 
define('AUTH_ATTACH', 11); 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#

// Start add - Global announcement MOD
define('AUTH_GLOBALANNOUNCE', 12); 
define('HIDDEN_CAT', 0); // NOTE: change this value to the forum id, of the forum, witch you would like to be hidden
// End add - Global announcement MOD
Markus

Verfasst: 14.06.2006 23:16
von Pingu625

Code: Alles auswählen

define('AUTH_VOTE', 10);
define('AUTH_ATTACH', 11);

// Start add - Global announcement MOD
define('AUTH_GLOBALANNOUNCE', 12);
define('HIDDEN_CAT', 0); // NOTE: change this value to the forum id, of the forum, witch you would like to be hidden
// End add - Global announcement MOD


So stehts in der constants.php drin!
Ja :wink:

Noch was: Wenn ich das Forum NICHT eingeloggt betrete, zeigt er mir es tadellos an!
Wenn ich mich eingeloggt habe, sieht man diese Fehlermeldungen!

Verfasst: 14.06.2006 23:22
von Pingu625
Wenn ich meinen letzten Beitrag aufrufen will kommt das hier:
Could not obtain topic information

DEBUG MODE

SQL Error : 1054 Unknown column 'f.auth_download' in 'field list'

SELECT t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments, f.auth_download, t.topic_attachment, COUNT(p2.post_id) AS prev_posts FROM phpbb_topics t, phpbb_forums f, phpbb_posts p, phpbb_posts p2 WHERE p.post_id = 1 AND t.topic_id = p.topic_id AND p2.topic_id = p.topic_id AND p2.post_id <= 1 AND f.forum_id = t.forum_id GROUP BY p.post_id, t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments, f.auth_download, t.topic_attachment ORDER BY p.post_id ASC

Line : 157
File : viewtopic.php
Ich hoffe, dass diese Infos zur Lösung meines Problems beitragen können! :wink:

mfg Pingu

Verfasst: 14.06.2006 23:22
von Markus67
Hi ...

es erscheint ja diese Fehlermeldung ..

Code: Alles auswählen

SQL Error : 1054 Unknown column 'f.auth_download' in 'field list'
Hast du auch einen Download-Mod installiert? Die Meldung hast eigentlich nichts mit dem Global Announcement MOD zu tun.

Markus

Verfasst: 14.06.2006 23:24
von Pingu625
Nein, ich denke nicht, ich habe nur folgende Mods schon installiert:

-Attachment Mod (vllt. ist hier jedoch ein Download Mod incl.?)
-Birthday Mod
-Nickpage Mod

mfg Pingu