Seite 9 von 110

Verfasst: 23.08.2007 20:30
von Dr.Death
Hallo,

Bundesliga ? Das hier ist der MOD Thread für das Formel 1 WebTipp MOD phpbb3 !

Falls Du Probleme für das F1 WebTipp phpbb2 hast, bitte im passenden Forum Dein Problem schildern. Danke.

Verfasst: 27.08.2007 16:23
von HF
In der Installationsanleitung ist ein Fehler. Dort steht

Code: Alles auswählen

	// Now generate page tilte
Muss aber title heißen, da hast du wohl das T und das L verwechselt

P.S.: Ich bau den grad im RC5 ein und teste ihn, Berichte folgen...

PHP-Noob

Verfasst: 27.08.2007 16:54
von Dr.Death
Danke für den Hinweis.... in der RC1/2 Version war dieser "Tippfehler" im Original Code.....daher hatte ich ihn auch so übernommen.

Ich werde den Installer Text für die nächste Version updaten. Danke.

Verfasst: 27.08.2007 22:03
von HF
Also, ich konnte bisher noch nirgends einen Fehler entdecken. Auch die deadline funzt.

Super MOD, auch wenn die Saison schon fast zuende ist :x

Verfasst: 27.08.2007 22:05
von Dr.Death
Danke.

Naja, dann kannst Du jetzt ja üben und ggf. neue Grafiken suchen/erstellen für die nächste Saison ;-)

Nach Umstieg auf RC5 Fehler bei Installation

Verfasst: 01.09.2007 18:48
von windstar
Hallo,

nachdem ich RC5 komplett neu aufgesetzt habe und versuche anschließend den F1 Tipp zu installieren, bekomme ich folgende Fehlermeldung:

Code: Alles auswählen

++ Table phpbb_formel_config succesfully created
++ Table phpbb_formel_drivers succesfully created
++ Table phpbb_formel_teams succesfully created
++ Table phpbb_formel_races succesfully created
++ Table phpbb_formel_wm succesfully created
++ Table phpbb_formel_tipps succesfully created
++++ Inserts into table phpbb_formel_config succesfully ( Configuration )
++++ Inserts into table phpbb_formel_races succesfully ( Races )
++++ Inserts into table phpbb_formel_teams succesfully ( F1 Teams )
++++ Inserts into table phpbb_formel_drivers succesfully ( F1 Drivers )



General Error
SQL ERROR [ mysqli ]

Incorrect integer value: '' for column 'auth_option_id' at row 1 [1366]

SQL

INSERT INTO phpbb_acl_options VALUES ('', 'a_formel_settings', 1, 0, 0), ('', 'a_formel_drivers', 1, 0, 0), ('', 'a_formel_teams', 1, 0, 0), ('', 'a_formel_races', 1, 0, 0)

BACKTRACE

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

FILE: install_f1webtipp.php
LINE: 335
CALL: dbal_mysqli->sql_query()
Kann mir jemand sagen was da nicht funktioniert?
Mach ich einen Fehler beim Einbauen?
Danke schon mal.

Verfasst: 01.09.2007 20:16
von Dr.Death
Hi,

nein, Du machst keinen Fehler!

Deine Datenbank ist etwas "strikt" eingestellt und lässt leere Inhalte in einem Integer Wert nicht zu.

Zum Testen:

Öffne den install_f1webtipp.php

SUCHE:

Code: Alles auswählen

	//Add new permission set to the module system
	$sql = 'INSERT INTO '.$table_prefix."acl_options VALUES 
		('', 'a_formel_settings', 1, 0, 0),
		('', 'a_formel_drivers', 1, 0, 0),
		('', 'a_formel_teams', 1, 0, 0),
		('', 'a_formel_races', 1, 0, 0)
		";
ERSETZE MIT:

Code: Alles auswählen

	//Add new permission set to the module system
	$sql = 'INSERT INTO '.$table_prefix."acl_options (auth_option, is_global, is_local, founder_only) VALUES 
		('a_formel_settings', 1, 0, 0),
		('a_formel_drivers', 1, 0, 0),
		('a_formel_teams', 1, 0, 0),
		('a_formel_races', 1, 0, 0)
		";
Rufe danach den install_f1webtipp.php erneut auf.

Bitte um Feedback ;-)

Verfasst: 01.09.2007 20:31
von windstar
Danke für die schnelle Hilfe.

Nach der Änderung kommt jetzt folgende Fehlermeldung:

Code: Alles auswählen

++ Table phpbb_formel_config succesfully created
++ Table phpbb_formel_drivers succesfully created
++ Table phpbb_formel_teams succesfully created
++ Table phpbb_formel_races succesfully created
++ Table phpbb_formel_wm succesfully created
++ Table phpbb_formel_tipps succesfully created
++++ Inserts into table phpbb_formel_config succesfully ( Configuration )
++++ Inserts into table phpbb_formel_races succesfully ( Races )
++++ Inserts into table phpbb_formel_teams succesfully ( F1 Teams )
++++ Inserts into table phpbb_formel_drivers succesfully ( F1 Drivers )
Return to index page
General Error
SQL ERROR [ mysqli ]

Column count doesn't match value count at row 1 [1136]

SQL

INSERT INTO phpbb_acl_options (auth_option, is_global, is_local, founder_only) VALUES ('', 'a_formel_settings', 1, 0, 0), ('', 'a_formel_drivers', 1, 0, 0), ('', 'a_formel_teams', 1, 0, 0), ('', 'a_formel_races', 1, 0, 0)

BACKTRACE

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

FILE: install_f1webtipp.php
LINE: 335
CALL: dbal_mysqli->sql_query()

Verfasst: 01.09.2007 20:35
von Dr.Death
Ähm, Du hast meinen Code nicht vollständig ersetzt.

Verfasst: 01.09.2007 20:58
von windstar
Upps, Ja :oops:

Die Installation ist jetzt durchgelaufen, danke

Dafür bekomme ich jetzt die folgende Meldung wenn ich versuche einen Tipp für Monza abzugeben:

Code: Alles auswählen

Allgemeiner Fehler
SQL ERROR [ mysqli ]

Incorrect integer value: '' for column 'tipp_id' at row 1 [1366]

SQL

INSERT INTO phpbb_formel_tipps (tipp_id, tipp_user, tipp_race, tipp_result, tipp_points) VALUES ('', '2', 13, '34,0,0,0,0,0,0,0,0,0', 0)

BACKTRACE

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

FILE: formel.php
LINE: 131
CALL: dbal_mysqli->sql_query()