Fußball Tippspiel - SQL Error : 1054 Unknown column ...

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
spritzpistole
Mitglied
Beiträge: 1287
Registriert: 02.10.2004 00:25
Wohnort: Haßloch
Kontaktdaten:

Fußball Tippspiel - SQL Error : 1054 Unknown column ...

Beitrag von spritzpistole »

Hi, also ich habe folgendes Problem, ich habe SQL per Hand ausgeführt und danach ausversehen nochmal mit der db_install dürfte ja soweit kein Problem sein, weil ein Error kam und jetzt kommt diese Fehlermeldung:

Datenbank-Fehler

DEBUG MODE

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

SELECT user_id, username, tipp_punkte, tipp_treffer, tipp_getippt , tipp_lastpos FROM phpbb_users WHERE tipp_spieltagtipps = 1 ORDER BY tipp_punkte DESC,tipp_treffer DESC LIMIT 0,10

Line : 119
File : bundesliga.php
Kann mir da jemand helfen?
spritzpistole
Mitglied
Beiträge: 1287
Registriert: 02.10.2004 00:25
Wohnort: Haßloch
Kontaktdaten:

Beitrag von spritzpistole »

Da es schon auf zweiter Seite ist ... und ich nicht denke, dass es so schwer ist, weil ich selbst mal das problem hatte, aber net mehr weiß wie ich es gelöst habe.

Würd mich Hilfe freuen ;)

Eure pistole
Benutzeravatar
plACEbo
Mitglied
Beiträge: 538
Registriert: 16.12.2003 12:22

Beitrag von plACEbo »

bitte führe folgenden SQL-Befehl in phpMyAdmin aus:

Code: Alles auswählen

ALTER TABLE `phpbb_users` ADD `tipp_last_pos` INT(3) NOT NULL ;
Du hast beim Update nicht die DB-Updates vollzogen. Kann sein, dass noch mehr davon nötig sind. Besser wäre es ausserdem im Entwicklungsforum dein Problem zu behandeln.

mfg
Vorwärts immer, Rückwärts nimmer!
spritzpistole
Mitglied
Beiträge: 1287
Registriert: 02.10.2004 00:25
Wohnort: Haßloch
Kontaktdaten:

Beitrag von spritzpistole »

SQL-Befehl :

ALTER TABLE `phpbb_users` ADD `tipp_last_pos` INT( 3 ) NOT NULL

MySQL meldet:

#1060 - Duplicate column name 'tipp_last_pos'
Das ist ja das komische ... ich habe das Update gemacht :o
Benutzeravatar
plACEbo
Mitglied
Beiträge: 538
Registriert: 16.12.2003 12:22

Beitrag von plACEbo »

da gibt es wohl eine kleine Inkonsitenz ind den Column-Bezeichnungen.
probier dieses:

Code: Alles auswählen

ALTER TABLE `phpbb_users` ADD `tipp_lastpos` INT(3) NOT NULL ;
mfg
Vorwärts immer, Rückwärts nimmer!
spritzpistole
Mitglied
Beiträge: 1287
Registriert: 02.10.2004 00:25
Wohnort: Haßloch
Kontaktdaten:

Beitrag von spritzpistole »

http://funsofa.de/bundesliga.php
Hat das was mit der css zutun?
Benutzeravatar
plACEbo
Mitglied
Beiträge: 538
Registriert: 16.12.2003 12:22

Beitrag von plACEbo »

Hast du die BundesligaMannschaften.sql in phpMyAdmin ausgeführt? :

Code: Alles auswählen

INSERT INTO `tippspiel_tabelle` VALUES (1, 'Bayern Muenchen', 0, 0, 0, 0, 0, 0, 0, 0, 0, 'http://www.fcbayern.de', 'Bayern1', '');
INSERT INTO `tippspiel_tabelle` VALUES (2, 'FC Schalke 04', 0, 0, 0, 0, 0, 0, 0, 0, 0, 'http://www.schalke04.de', 'Schalke', '');
INSERT INTO `tippspiel_tabelle` VALUES (3, 'VfB Stuttgart', 0, 0, 0, 0, 0, 0, 0, 0, 0, 'http://www.vfb-stuttgart.de', 'VFB', '');
INSERT INTO `tippspiel_tabelle` VALUES (4, 'Hertha BSC', 0, 0, 0, 0, 0, 0, 0, 0, 0, 'http://www.herthabsc.de', 'Hertha', '');
INSERT INTO `tippspiel_tabelle` VALUES (5, 'Werder Bremen', 0, 0, 0, 0, 0, 0, 0, 0, 0, 'http://www.werder-online.de', 'Bremen', '');
INSERT INTO `tippspiel_tabelle` VALUES (6, 'Hamburger SV', 0, 0, 0, 0, 0, 0, 0, 0, 0, 'http://www.hsv.de', 'HSV', '');
INSERT INTO `tippspiel_tabelle` VALUES (7, 'Bayer Leverkusen', 0, 0, 0, 0, 0, 0, 0, 0, 0, 'http://www.bayer04.de', 'Bayer 04', '');
INSERT INTO `tippspiel_tabelle` VALUES (8, 'Borussia Dortmund', 0, 0, 0, 0, 0, 0, 0, 0, 0, 'http://www.borussia-dortmund.de', 'BVB', '');
INSERT INTO `tippspiel_tabelle` VALUES (9, 'VfL Wolfsburg', 0, 0, 0, 0, 0, 0, 0, 0, 0, 'http://www.vfl-wolfsburg.de', 'Wolfsburg', '');
INSERT INTO `tippspiel_tabelle` VALUES (10, '1. FC Kaiserslautern', 0, 0, 0, 0, 0, 0, 0, 0, 0, 'http://www.FCK.de', 'Lautern', '');
INSERT INTO `tippspiel_tabelle` VALUES (11, 'Arminia Bielefeld', 0, 0, 0, 0, 0, 0, 0, 0, 0, 'http://www.arminia-bielefeld.de', 'Arminia', '');
INSERT INTO `tippspiel_tabelle` VALUES (12, 'Hannover 96', 0, 0, 0, 0, 0, 0, 0, 0, 0, 'http://www.hannover96.de', 'Hannover', '');
INSERT INTO `tippspiel_tabelle` VALUES (13, '1. FC Nuernberg', 0, 0, 0, 0, 0, 0, 0, 0, 0, 'http://www.fcn.de', '1.FCN', '1');
INSERT INTO `tippspiel_tabelle` VALUES (14, 'FSV Mainz 05', 0, 0, 0, 0, 0, 0, 0, 0, 0, 'http://www.mainz05.de', 'Mainz', '');
INSERT INTO `tippspiel_tabelle` VALUES (15, 'Bor. Mgladbach', 0, 0, 0, 0, 0, 0, 0, 0, 0, 'http://borussia.de', 'Gladbach', '');
INSERT INTO `tippspiel_tabelle` VALUES (16, '1. FC Koeln', 0, 0, 0, 0, 0, 0, 0, 0, 0, 'http://www.fc-koeln.de', 'Koeln', '');
INSERT INTO `tippspiel_tabelle` VALUES (17, 'MSV Duisburg', 0, 0, 0, 0, 0, 0, 0, 0, 0, 'http://www.msv-duisburg.de', 'MSV', '');
INSERT INTO `tippspiel_tabelle` VALUES (18, 'Eintracht Frankfurt', 0, 0, 0, 0, 0, 0, 0, 0, 0, 'http://www.eintracht.de', 'Frankfurt', '');
Deine .css sieht okay aus.

mfg
Vorwärts immer, Rückwärts nimmer!
Benutzeravatar
plACEbo
Mitglied
Beiträge: 538
Registriert: 16.12.2003 12:22

Beitrag von plACEbo »

Ausserdem:
Öffne:
bundesliga.tpl
Suche:

Code: Alles auswählen

<td class="{tabelle_block.C_TABELLE}" align="center" width="5%"><img src="templates/subSilver/images/tipp_{tabelle_block.TEAMTENDENZ}.gif"/></td>
Ersetzte mit:

Code: Alles auswählen

<td class="{tabelle_block.C_TABELLE}" align="center" width="5%"><img src="templates/DarkBlue/images/tipp_{tabelle_block.TEAMTENDENZ}.gif"/></td>
Vorwärts immer, Rückwärts nimmer!
Benutzeravatar
plACEbo
Mitglied
Beiträge: 538
Registriert: 16.12.2003 12:22

Beitrag von plACEbo »

Verlinke bitte mal deine DarkBlue.css als DarkBlue.txt

mfg
Vorwärts immer, Rückwärts nimmer!
spritzpistole
Mitglied
Beiträge: 1287
Registriert: 02.10.2004 00:25
Wohnort: Haßloch
Kontaktdaten:

Beitrag von spritzpistole »

plACEbo hat geschrieben:Ausserdem:
Öffne:
bundesliga.tpl
Suche:

Code: Alles auswählen

<td class="{tabelle_block.C_TABELLE}" align="center" width="5%"><img src="templates/subSilver/images/tipp_{tabelle_block.TEAMTENDENZ}.gif"/></td>
Ersetzte mit:

Code: Alles auswählen

<td class="{tabelle_block.C_TABELLE}" align="center" width="5%"><img src="templates/DarkBlue/images/tipp_{tabelle_block.TEAMTENDENZ}.gif"/></td>
Das hab ich gemacht und mit den Mannschaften auch!

Nur irgendwie sieht das recht merkwürdig aus.
Antworten

Zurück zu „phpBB 2.0: Mod Support“