Seite 1 von 1

ADR - SQL Error

Verfasst: 13.05.2007 17:32
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]

Verfasst: 13.05.2007 19:42
von Kewwwin
Hallo,

du kannst alle auf einmal eingeben.

Gruß

Verfasst: 13.05.2007 20:35
von RockyC
ok, dann weiß ich nicht, was das für nen Fehler ist :< Hoffe jemand hat ne ahnung.

Verfasst: 14.05.2007 22:09
von RockyC
bump :<

Problem besteht immernoch.