ADR - SQL Error

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.
Antworten
RockyC
Mitglied
Beiträge: 45
Registriert: 29.04.2007 23:16

ADR - SQL Error

Beitrag von RockyC »

Heyo,

Ich hab grad dieses "Addon" für den ADR Mod installiert und jetzt bekomm ich diesen fehler, wenn ich etwas in meinen Shops kaufe:

Code: Alles auswählen

Couldn't insert new item

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 ' '', , '', , '', , '', 0, 0, 0, 0, 0, 0, 0, 0, 0, , '', )' at line 3

INSERT INTO phpbb_adr_shops_items (item_id, item_owner_id, item_type_use, item_name, item_desc, item_icon, item_price, item_quality, item_duration, item_duration_max, item_power, item_add_power, item_mp_use, item_weight, item_auth, item_element, item_element_str_dmg, item_element_same_dmg, item_element_weak_dmg, item_max_skill, item_sell_back_percentage, item_bought_timestamp, item_restrict_align_enable, item_restrict_align, item_restrict_class_enable, item_restrict_class, item_restrict_element_enable, item_restrict_element, item_restrict_race_enable, item_restrict_race, item_restrict_level, item_restrict_str, item_restrict_dex, item_restrict_con, item_restrict_wis, item_restrict_int, item_restrict_cha, item_crit_hit, item_crit_hit_mod, item_stolen_id, item_stolen_by, item_stolen_timestamp) VALUES(1, 2, 8, 'Thorned Husk Shield', 'Shield made from a giant chaos turtle\'s shell', 'bucklers/shield.gif', 330, 2, 300, 300, 11, 0, 0, 80, 0, 0, 0, 0, 0, 22, 10, 1178888527, , '', , '', , '', , '', 0, 0, 0, 0, 0, 0, 0, 0, 0, , '', )

Line : 233
File : adr_functions_shops.php

Bei diesem Mod musste ich mehrere "INSERT INTO `phpbb_adr_shops_items`"-Befehle manuell in "phpmyadmin" eingeben.
Ich habe dann alle Befehle einfach kopiert und aufeinmal in die Datenbank eingefügt....muss ich die vielleicht alle einzeln eingeben? Oder schafft der das auch so?

Als Beispiel:

Wenn ich sowas eingeben soll...
=>

Code: Alles auswählen

INSERT INTO `phpbb_adr_shops_items` (`item_id`, `item_owner_id`) VALUES (513, 1);
INSERT INTO `phpbb_adr_shops_items` (`item_id`, `item_owner_id`) VALUES (14, 1);
INSERT INTO `phpbb_adr_shops_items` (`item_id`, `item_owner_id`) VALUES (15, 1);
... kann ich dann diese Befehle alle zusammen in die Datenbank einfügen oder müsste ich jeden einzeln eingeben?


MfG
Rocky[/url]
Kewwwin

Beitrag von Kewwwin »

Hallo,

du kannst alle auf einmal eingeben.

Gruß
RockyC
Mitglied
Beiträge: 45
Registriert: 29.04.2007 23:16

Beitrag von RockyC »

ok, dann weiß ich nicht, was das für nen Fehler ist :< Hoffe jemand hat ne ahnung.
RockyC
Mitglied
Beiträge: 45
Registriert: 29.04.2007 23:16

Beitrag von RockyC »

bump :<

Problem besteht immernoch.
Antworten

Zurück zu „phpBB 2.0: Mod Support“