Seite 1 von 2

Anti Double Post Mod funktioniert nicht + diverse Fehler

Verfasst: 21.05.2012 10:45
von GoTo
Hallo Community, insbesondere aber BNa,

ich habe bei mir den "Anti Double Post" Mod in der aktualisierten Version 2.0.9 installiert. Leider funktioniert der Mod nicht, obwohl alles korrekt eingebaut worden zu sein scheint. Der Debug Modus wirft leider auch keine Fehlermeldungen aus, welche helfen könnten das Problem vielleicht zu lösen.

Ich benutze die phpbb Version 3.0.10 mit dem Style "SoftWood", welcher auf "prosilver" aufbaut. Ich habe so einige Mods eingebaut.

Übersicht von Auto MOD

Code: Alles auswählen

ACP Overwrite Module
Anti Double Posts
Anti-Spam ACP
Auto ACP redirection
Categorize Announcements and Stickies
DM Simple Admin Message
NV "Wer war da?"
NV advanced last topic titles
NV newspage
Post Models
Prime Self Topics
Prime Subject Check
Similar Topics
Smilie Creator
Smilies Categories
Thanks for posts
Topic Prefix MOD
Topic Starter
Topic solved
User Reminder
Welcome PM on first Login (WPM)
board3 Portal 2.0.0 - Beta 1
phpBB Gallery
Im Debug Modus werden folgende Fehler ausgeworfen:
portal.php

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/gallery.php on line 147: Undefined index: user_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/gallery.php on line 151: Undefined index: user_perm_from
[phpBB Debug] PHP Notice: in file [ROOT]/portal/includes/constants.php on line 24: Constant PORTAL_CONFIG_TABLE already defined
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 1035: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 1035: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 1035: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
[phpBB Debug] PHP Notice: in file [ROOT]/portal/modules/portal_recent.php on line 68: Undefined index: board3_exclude_forums_11
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4812: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4814: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4815: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4816: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
index.php

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/gallery.php on line 147: Undefined index: user_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/gallery.php on line 151: Undefined index: user_perm_from
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 1035: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 1035: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 1035: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
[phpBB Debug] PHP Notice: in file [ROOT]/index.php on line 154: Use of undefined constant ENABLED - assumed 'ENABLED'
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4812: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4814: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4815: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4816: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
viewtopic.php

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/gallery.php on line 147: Undefined index: user_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/gallery.php on line 151: Undefined index: user_perm_from
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 1035: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 1035: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 1035: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_thanks.php on line 526: Undefined index: THANK_TEXT_2PL
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_thanks.php on line 535: Undefined index: CLEAR_LIST_THANKS
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_thanks.php on line 526: Undefined index: THANK_TEXT_2PL
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_thanks.php on line 535: Undefined index: CLEAR_LIST_THANKS
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_thanks.php on line 526: Undefined index: THANK_TEXT_2PL
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_thanks.php on line 535: Undefined index: CLEAR_LIST_THANKS
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_thanks.php on line 526: Undefined index: THANK_TEXT_2PL
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_thanks.php on line 535: Undefined index: CLEAR_LIST_THANKS
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_thanks.php on line 526: Undefined index: THANK_TEXT_2PL
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_thanks.php on line 535: Undefined index: CLEAR_LIST_THANKS
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_thanks.php on line 526: Undefined index: THANK_TEXT_2PL
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_thanks.php on line 535: Undefined index: CLEAR_LIST_THANKS
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4812: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4814: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4815: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4816: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3854)
Nach dem Posten eines Beitrags:

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/gallery.php on line 147: Undefined index: user_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/gallery.php on line 151: Undefined index: user_perm_from

Warning: Cannot modify header information - headers already sent by (output started at /users/nebelgeister/www/forum/_testforum/includes/functions.php:3854) in /users/nebelgeister/www/forum/_testforum/includes/functions.php on line 4812

Warning: Cannot modify header information - headers already sent by (output started at /users/nebelgeister/www/forum/_testforum/includes/functions.php:3854) in /users/nebelgeister/www/forum/_testforum/includes/functions.php on line 4814

Warning: Cannot modify header information - headers already sent by (output started at /users/nebelgeister/www/forum/_testforum/includes/functions.php:3854) in /users/nebelgeister/www/forum/_testforum/includes/functions.php on line 4815

Warning: Cannot modify header information - headers already sent by (output started at /users/nebelgeister/www/forum/_testforum/includes/functions.php:3854) in /users/nebelgeister/www/forum/_testforum/includes/functions.php on line 4816
Ich weiß, dass ist eine ganze Menge, aber vielleicht habt ihr ja Lust mir zu helfen, denn alleine werde ich wohl kaum auf des Rätsels Lösung kommen.

Wenn wir den "Anti Double Post" Mod zum Laufen bekommen, dann wäre das genial!!! Ich frage übrigens hier, da der offizielle Support des Mods schon lange eingestellt ist, ich ihn aber für wirklich genial halte. Vielleicht möchte den Mod ja auch jemand weiterentwickeln? :)

Alle anderen Fehler wären natürlich schön, wenn sie weg wären, aber es funktioniert soweit eigentlich alles, so dass eher sekundär zu betrachten wäre.

Ich habe eine Testforum aufgesetzt, auf welches ich bei Interesse auch Vollzugriff geben könnte. Bitte per PN melden und hier im Thema helfen, damit andere eventuell auch davon profitieren können. :)


Viele Grüße
GoTo

Re: Anti Double Post Mod funktioniert nicht + diverse Fehler

Verfasst: 21.05.2012 20:35
von WileCoyote
Richtig konfiguriert funktioniert die Anti Double Post MOD auch mit phpbb 3.0.10 fehlerfrei. Sämtliche von dir geposteten Debug-Fehler weisen eher auf Einbaufehler bei der phpbb Gallery und dem Thanks Post MOD hin und haben mit der Anti Double Post MOD nichts zu tun.

Re: Anti Double Post Mod funktioniert nicht + diverse Fehler

Verfasst: 22.05.2012 09:02
von GoTo
Danke für deine Antwort! :)

Das ist mir schon klar, auf was die Fehler hinweisen. Das ist ja auch eine ganz andere Baustelle. Das Thema heißt ja auch "... + diverse Fehler".

Ich habe alles zu dem Mod gelesen, was es zu lesen gibt. Vor allen Dingen auch deine Posts. Ich habe daraufhin alles noch mal überprüft und konnte leider keinen Fehler feststellen. Das ist eben auch der Grund, warum ich um Hilfe bitte.

Re: Anti Double Post Mod funktioniert nicht + diverse Fehler

Verfasst: 22.05.2012 12:19
von FRvN
WileCoyote hat ja auch geschrieben das die Fehlermeldungen durch die phpbb Gallery und und den Thanks Post MOD kommen
und nicht durch Anti Double Post. Hast du die anderen MODs mal überprüft auf Einbaufehler?

Re: Anti Double Post Mod funktioniert nicht + diverse Fehler

Verfasst: 22.05.2012 12:33
von GoTo
Achso. Also meint ihr, dass durch die Fehler der anderen Mods eventuell auch ein Fehler bei dem Anti Double Post Mod kommen könnte? Hmm... das ist ziemlich aufwendig, wenn ich jeden einzelnen Mod noch einmal durchprüfe. Ich denke wenn sich das Problem jemand anschauen würde, der sich schon viel mit dem phpbb Code befasst hat, dann kann das schneller gelöst werden.

Da ich sonst ja auch keine Fehler erhalte, schätze ich, dass beim Code, welcher für das posten zuständig ist, der Fehler liegt. Vielleicht kommen sich da zwei Mods in die Quere...

Re: Anti Double Post Mod funktioniert nicht + diverse Fehler

Verfasst: 22.05.2012 17:55
von WileCoyote
Wenn sich das jemand anders ansehen und für dich lösen soll, wäre das eher ein Fall für die Jobbörse.
Da deine Fehler beim Absenden der Beiträge auftreten, kann das natürlich auch Einfluß auf die Anti-Double Post MOD haben. Das Absenden ist genau die Stelle, wo durch die MOD geprüft wird, wer der letzte Beitragsverfasser im Thema war.

Re: Anti Double Post Mod funktioniert nicht + diverse Fehler

Verfasst: 22.05.2012 23:50
von BNa
Ich weiss zwar nicht warum aber ich sollte diesen Beitrag hier nochmal posten. Drum mach ichs mal.
BNa hat geschrieben:
GoTo hat geschrieben: Ich werde mir die Fehlermeldungen mal zu Gemüte führen
Da ich keinen Support via PN gebe, hier ein paar Stützen

Index, Portal, Viewforum (ausser ucp und acp)

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/gallery.php on line 147: Undefined index: user_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/gallery.php on line 151: Undefined index: user_perm_from
[phpBB Debug] PHP Notice: in file [ROOT]/portal/includes/constants.php on line 24: Constant PORTAL_CONFIG_TABLE already defined
[phpBB Debug] PHP Notice: in file [ROOT]/portal/modules/portal_recent.php on line 68: Undefined index: board3_exclude_forums_11
Viewtopic

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/gallery.php on line 147: Undefined index: user_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/gallery.php on line 151: Undefined index: user_perm_from
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_thanks.php on line 526: Undefined index: THANK_TEXT_2PL
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_thanks.php on line 535: Undefined index: CLEAR_LIST_THANKS
Nach dem Absenden eines Posts

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/gallery.php on line 147: Undefined index: user_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/gallery.php on line 151: Undefined index: user_perm_from
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_thanks.php on line 526: Undefined index: THANK_TEXT_2PL
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_thanks.php on line 535: Undefined index: CLEAR_LIST_THANKS
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_thanks.php on line 526: Undefined index: THANK_TEXT_2PL
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_thanks.php on line 535: Undefined index: CLEAR_LIST_THANKS
Vorausgeschickt, es sind keine Funktionsbugs. Es sind eher nicht definierte oder in bestimmten Situationen nicht definierte Index'e. Also geht es entweder um nicht aktuelle Versionen des Thanks Mods und der Gallery, es wurden bei dem Einbau dieser Mods Fehler gemacht, die Mods selbst sind auch in der aktuellen Versionen fehlerhaft oder nicht verträglich mit Deinem speziellen Mix anderer Mods.

Lösung / Zum Beispiel:

Undefined index: THANK_TEXT_2PL ist einfach > Es fehlt der Sprachdateieintrag in der entsprechenden Languagedatei.
Undefined index: user_perm_from ist etwas weniger einfach > Hier wurde die genannte Variable nicht oder nicht für alle Situationen/Bedingungen "vordefiniert"

Edit: Gerade gefunden, diese Fehlermeldung betreffend

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/gallery.php on line 147: Undefined index: user_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/gallery.php on line 151: Undefined index: user_perm_from
http://www.flying-bits.org/viewtopic.php?f=105&t=3859
http://www.flying-bits.org/viewtopic.php?f=105&t=3928

Re: Anti Double Post Mod funktioniert nicht + diverse Fehler

Verfasst: 23.05.2012 08:57
von GoTo
Jobbörse? Nä dann quäl ich mich lieber selbst durch den ganzen Code, selbst wenn ich nicht der Überprogrammierer bin. :D

Danke BNa für das Posten des Beitrags! :)

-- EDIT --
Wenn ich die install_adp.php zum Deinstallieren ausführen möchte zeigt er mir lediglich an: "Dieses Board hat keine Foren". Und das war es... :(

Wie bekomme ich die php Datei wieder zum 'laufen'?

Re: Anti Double Post Mod funktioniert nicht + diverse Fehler

Verfasst: 24.05.2012 02:43
von redbull254
Hallo erstmal,

schau Dir die diversen Fehlermeldungen genau an und Überprüfe diese an Hand Deiner jeweiligen Installationsanweisungen.
Sofern Du vorher keine Datei-Sicherung des gesamten phpBB-Verzeichnis gemacht hast (und davon gehe ich aus) bleibt Dir nur den Weg, jede Fehlermeldung zu betrachten und die gemeldeten Dateien zu untersuchen.

Dazu benötigst Du keinerlei Programmier-Kenntnisse, sondern nur eine gehörige Portion Lust den Fehler zu finden.
Für die Zukunft kann ich Dir nur raten, vor jedem Mod-Einbau sowohl das phpBB3-Verzeichnis incl. Inhalt auch die Datenbank zu sichern.

Benutze zum Editieren Deiner Dateien einen richtigen Editor, sonst sind weitere Fehler vorprogrammiert.

Dieser ist sehr gut:
http://www.heise.de/download/notepad.html

Re: Anti Double Post Mod funktioniert nicht + diverse Fehler

Verfasst: 24.05.2012 08:36
von GoTo
Hey redbull,

danke erstmal für deinen Post.

Ich benutze Notepad++, ich sichere die Datenbanken mit MySQLDumper und ich habe vor jedem MOD Einbau die alten Dateien gesichert.

Mein 'Fehler' war es eigentlich eher, dass ich den Debug Modus nicht eingeschaltet hatte. Nur dann sind auch die Fehler sichtbar. Das Forum läuft rund (bis auf den Anti Double Post Mod) und ich habe sonst auch keine Fehler 'ohne' Debug Modus.

Das man zum Durchgehen einer Anleitung keine Programmierkenntnisse braucht ist mir auch bewusst. Ich habe Programmierkenntnisse und auch das grundsätzliche Verständnis von PHP. Jedoch fehlt es mir an Übersicht und Tiefe im Bereich phpbb und PHP. Die diversen Fehler werde ich nun selbst versuchen ausfindig zu machen, aber beim Anti Double Post Mod könnte ich dann noch Hilfe gebrauchen.


Gruß
GoTo