Seite 1 von 1

Fehler beim Importieren von Smileys

Verfasst: 07.12.2004 22:12
von daruler
Hallo,

wenn ich ein Smiley-Pack hinzufügen möchte, bekomme ich leider folgende Fehlermeldung:

Code: Alles auswählen

Couldn't update smilies!

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '; 'xmas_icon_biggrin.gif', 'xmas_icon_biggrin.gif')' at line 3

INSERT INTO phpbb_smilies (code, smile_url, emoticon, smilies_order ) VALUES(':xmas_icon_biggrin' , 530, 530 = 530 + 10; 'xmas_icon_biggrin.gif', 'xmas_icon_biggrin.gif')

Line : 205
File : /srv/www/htdocs/web61/html/forum/admin/admin_smilies.php

'xmas_icon_biggrin.gif' ist der erste Smily des zu importierenden Pakets. Wenn ich jedoch einen Smily einzeln hinzufügen möchte, klappt das ohne Problem. CHMOD ist richtig gesetzt. Habe auch noch den Smiley-Order Mod bei mir installed.

Danke

Verfasst: 07.12.2004 22:33
von rabbit
die .pak-datei scheint nicht richtig geschrieben zu sein...
(code, smile_url, emoticon, smilies_order )
code, dann url etc.
VALUES(':xmas_icon_biggrin' , 530, 530 = 530 + 10; 'xmas_icon_biggrin.gif', 'xmas_icon_biggrin.gif')
hier kommt die URL zuletzt, da stimmt was mit der reihenfolge der werte nicht.

Verfasst: 07.12.2004 22:39
von daruler
Hallo,

die .pak sieht bei mir so aus:

Code: Alles auswählen

xmas_icon_biggrin.gif=+:xmas_icon_biggrin.gif=+::xmas_icon_biggrin
xmas_icon_confused.gif=+:xmas_icon_confused.gif=+::xmas_icon_confused
xmas_icon_cool.gif=+:xmas_icon_cool.gif=+::xmas_icon_cool
xmas_icon_cry.gif=+:xmas_icon_cry.gif=+::xmas_icon_cry
xmas_icon_eek.gif=+:xmas_icon_eek.gif=+::xmas_icon_eek
xmas_icon_evil.gif=+:xmas_icon_evil.gif=+::xmas_icon_evil
xmas_icon_frown.gif=+:xmas_icon_frown.gif=+::xmas_icon_frown
xmas_icon_lol.gif=+:xmas_icon_lol.gif=+::xmas_icon_lol
xmas_icon_mad.gif=+:xmas_icon_mad.gif=+::xmas_icon_mad
xmas_icon_mrgreen.gif=+:xmas_icon_mrgreen.gif=+::xmas_icon_mrgreen
xmas_icon_neutral.gif=+:xmas_icon_neutral.gif=+::xmas_icon_neutral
xmas_icon_razz.gif=+:xmas_icon_razz.gif=+::xmas_icon_razz
xmas_icon_redface.gif=+:xmas_icon_redface.gif=+::xmas_icon_redface
xmas_icon_rolleyes.gif=+:xmas_icon_rolleyes.gif=+::xmas_icon_rolleyes
xmas_icon_sad.gif=+:xmas_icon_sad.gif=+::xmas_icon_sad
xmas_icon_smile.gif=+:xmas_icon_smile.gif=+::xmas_icon_smile
xmas_icon_surprised.gif=+:xmas_icon_surprised.gif=+::xmas_icon_surprised
xmas_icon_twisted.gif=+:xmas_icon_twisted.gif=+::xmas_icon_twisted
xmas_icon_wink.gif=+:xmas_icon_wink.gif=+::xmas_icon_wink
Was muss ich dort ändern?