[BETA] phpBB3 Football MOD Version 0.9.3

In diesem Forum können Mod-Autoren ihre Mods vorstellen, die sich noch im Entwicklungsstatus befinden. Der Einbau in Foren im produktiven Betrieb wird nicht empfohlen.
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Benutzeravatar
football
Mitglied
Beiträge: 862
Registriert: 03.05.2009 10:37
Kontaktdaten:

Re: [BETA] phpBB3 Football MOD Version 0.9.0

Beitrag von football »

Deine Fehlermeldungen konnte ich bislang noch nicht nachstellen. Vielleicht liegt es an den PHP-Einstellungen deines Providers.
Hast du auch die /football/includes/functions.php aktualisiert? Am Besten du aktualisiert alle Dateien aus root mit Ausnahme /umil und /install_football.
Dann noch Forencache leeren und vielleicht die cookies löschen.

Kommt die fopen Fehlermeldung nicht mehr, oder hast du sie nur nicht mehr mit kopiert?

Wird die XML-Datei im root-Verzeichnis trotzdem erstellt oder nicht?
Kein Support per PN oder E-Mail. Support-Anfragen beantworte ich nur über diese Community.
Benutzeravatar
DreamPromise
Mitglied
Beiträge: 3793
Registriert: 27.01.2004 17:56

Re: [BETA] phpBB3 Football MOD Version 0.9.0

Beitrag von DreamPromise »

Moin moin
football hat geschrieben:Vielleicht liegt es an den PHP-Einstellungen deines Providers.
Dann müßten es ja auch alle User haben die bei all-inkl.de sind.
football hat geschrieben:Hast du auch die /football/includes/functions.php aktualisiert? Am Besten du aktualisiert alle Dateien aus root mit Ausnahme /umil und /install_football.
Ich hab mir die komplette MOD nochmal gezogen und hochgeladen.
football hat geschrieben:Dann noch Forencache leeren und vielleicht die cookies löschen.
Auch das hab ich gemacht.
football hat geschrieben:Kommt die fopen Fehlermeldung nicht mehr, oder hast du sie nur nicht mehr mit kopiert?
Die Meldung die dann kommt ist die bereits gepostete.
football hat geschrieben:Wird die XML-Datei im root-Verzeichnis trotzdem erstellt oder nicht?
Ich hab die selber erstellt mit 777 versehen und folgendem Inhalt:
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="BLTipprunde" title_url="http://www.tratschcafe.de/football.php" category="sport" directory_title="BLTipprunde" render_inline="optional" description="Tippabgabe zur BLTipprunde." author="" author_location="Germany" author_email="" author_affiliation="" scaling="true" scrolling="true" height="480" width="760">
<Locale lang="de" country="de"/>
<Require feature="setprefs"/>
<Require feature="dynamic-height"/>
</ModulePrefs>
<Content type="url" href="http://www.tratschcafe.de/football.php"/>
</Module>
Benutzeravatar
football
Mitglied
Beiträge: 862
Registriert: 03.05.2009 10:37
Kontaktdaten:

Re: [BETA] phpBB3 Football MOD Version 0.9.0

Beitrag von football »

DreamPromise hat geschrieben: Ich hab die selber erstellt mit 777 versehen und folgendem Inhalt:
Das ist die football_google.xml, die kannst du löschen (auch wenn sie bei dir anders heißt).
Beim Speichern von Tipps und Ergebnissen wird die gadget1BL.xml (s. Fehlermeldung) erstellt. Und dafür muss dein phpBB-root-Verzeichnis 777 Rechte bekommen. Eigentlich reicht 755 aus aber bzgl. all-inkl habe ich gelesen, dass es erst mit 777 geklappt hat.
Oder steht in diesem Verzeichnis eine .htaccess Datei die vom phpBB Version 3.0.7-PL1 Standard

Code: Alles auswählen

#
# Uncomment the statement below if you want to make use of
# HTTP authentication and it does not already work.
# This could be required if you are for example using PHP via Apache CGI.
#
#<IfModule mod_rewrite.c>
#RewriteEngine on
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#</IfModule>

<Files "config.php">
Order Allow,Deny
Deny from All
</Files>

<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
abweicht?
Kein Support per PN oder E-Mail. Support-Anfragen beantworte ich nur über diese Community.
Benutzeravatar
DreamPromise
Mitglied
Beiträge: 3793
Registriert: 27.01.2004 17:56

Re: [BETA] phpBB3 Football MOD Version 0.9.0

Beitrag von DreamPromise »

Moin moin

also root hat nun 777.
Beim absenden eines Tipps wurde die gadget1BL.xml gerade erstellt.
Aber dort kann ich die Rechte NICHT ändern.Diese stehen im Moment auf 664.

Meine .htaccess ist genau so wie du sie hier gepostet hast.
Benutzeravatar
football
Mitglied
Beiträge: 862
Registriert: 03.05.2009 10:37
Kontaktdaten:

Re: [BETA] phpBB3 Football MOD Version 0.9.0

Beitrag von football »

DreamPromise hat geschrieben:Moin moin

also root hat nun 777.
Beim absenden eines Tipps wurde die gadget1BL.xml gerade erstellt.
Aber dort kann ich die Rechte NICHT ändern.Diese stehen im Moment auf 664.

Meine .htaccess ist genau so wie du sie hier gepostet hast.
Also kommt keine

Code: Alles auswählen

fopen(./gadget1BL.xml) [function.fopen]: failed to open stream: Permission denied

Fehlermeldung mehr?

Wenn die gadget1BL.xml 644 hat ist das OK, da brauchst du nichts mehr zu ändern.

Wie sieht es mit den

Code: Alles auswählen

 'Cannot use a scalar value as an array' 
Fehlern in /football/includes/rank_total_html.php aus?
Zuletzt geändert von football am 12.04.2010 19:32, insgesamt 1-mal geändert.
Kein Support per PN oder E-Mail. Support-Anfragen beantworte ich nur über diese Community.
Benutzeravatar
DreamPromise
Mitglied
Beiträge: 3793
Registriert: 27.01.2004 17:56

Re: [BETA] phpBB3 Football MOD Version 0.9.0

Beitrag von DreamPromise »

Also die gadget1BL.xml hat 644
Aber die Meldung :
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 67: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 71: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 67: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 71: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 67: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 71: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 67: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 71: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 67: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 71: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 67: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 71: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4347: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3520)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4349: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3520)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4350: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3520)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4351: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3520)
kommt noch immer ...hmmmmm

Den Eintrag in der rank_total_html.php gibt es bei mir gar nicht.
Benutzeravatar
football
Mitglied
Beiträge: 862
Registriert: 03.05.2009 10:37
Kontaktdaten:

Re: [BETA] phpBB3 Football MOD Version 0.9.0

Beitrag von football »

@DreamPromise

Also fopen - Fehler durch CHMOD 777 im phpbb-root-Verzeichnis gelöst.

Änder mal bitte in /football/includes/rank_total_html.php

Code: Alles auswählen

LEFT JOIN
durch

Code: Alles auswählen

INNER JOIN
und füge nach der SQL-Anweisung eine Leerzeile ein, damit man überprüfen kann, ob er die neue Datei anzieht.
Den Eintrag in der rank_total_html.php gibt es bei mir gar nicht.
Welchen Eintrag? Zeile 67?
Zuletzt geändert von football am 12.04.2010 19:45, insgesamt 1-mal geändert.
Kein Support per PN oder E-Mail. Support-Anfragen beantworte ich nur über diese Community.
Benutzeravatar
archivar
Mitglied
Beiträge: 572
Registriert: 07.08.2008 08:25
Wohnort: Deutschland

Re: [BETA] phpBB3 Football MOD Version 0.9.0

Beitrag von archivar »

Hallo football,
vielen Dank für den Mod und für deine schnelle Hilfe.
Ich habe den Prefix bei allen DB-Tabellen geändert und danach den Mod ohne Probleme installiert. :grin:
V. G. archivar
Benutzeravatar
DreamPromise
Mitglied
Beiträge: 3793
Registriert: 27.01.2004 17:56

Re: [BETA] phpBB3 Football MOD Version 0.9.0

Beitrag von DreamPromise »

football hat geschrieben:Änder mal bitte in /football/includes/rank_total_html.php

Code: Alles auswählen

LEFT JOIN
durch

Code: Alles auswählen

INNER JOIN
Ok ..hab ich gemacht.
football hat geschrieben:und füge nach der SQL-Anweisung eine Leerzeile ein, damit man überprüfen kann, ob er die neue Datei anzieht.
Das hab ich nicht wirklich verstanden ...

Aber die Meldung erscheint noch immer:
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 67: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 71: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 67: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 71: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 67: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 71: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 67: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 71: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 67: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 71: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 67: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/rank_total_html.php on line 71: Cannot use a scalar value as an array
[phpBB Debug] PHP Notice: in file /football/includes/functions.php on line 1608: fputs(): supplied argument is not a valid stream resource
[phpBB Debug] PHP Notice: in file /football/includes/functions.php on line 1609: fclose(): supplied argument is not a valid stream resource
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4347: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3520)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4349: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3520)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4350: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3520)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4351: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3520)
Benutzeravatar
football
Mitglied
Beiträge: 862
Registriert: 03.05.2009 10:37
Kontaktdaten:

Re: [BETA] phpBB3 Football MOD Version 0.9.0

Beitrag von football »

Einfach nur vor Zeile 67 irgendwo eine Leerzeile einfügen damit man sieht, ob sich bei der Fehlermeldung die Zeilennummern um 1 erhöhen.
Dann kann man sicher sein, das er die geänderte Datei genommen hat.
Kein Support per PN oder E-Mail. Support-Anfragen beantworte ich nur über diese Community.
Antworten

Zurück zu „[3.0.x] Mods in Entwicklung“