You are not logged in.

ROKKSTAR 1

Beginner

  • "ROKKSTAR 1" started this thread

Posts: 28

wcf.user.option.userOption53: Nein

  • Send private message

1

Friday, May 15th 2015, 5:57pm

CSS Store Plugin; SQL syntax error

Hallo,

Ich hab mich mal an das Plugin " Store 1.1 Alpha " gewagt. (https://github.com/alongubkin/store/wiki/Installing-Store)

Bis zum Installationspunkt "Installing Equipment" hat alles geklappt. (Hab ein leeres Store Menü)

Problem, immer wenn ich nun Beispielsweise die
Datei equipment.json in meiner Database importieren möchte, bekomme ich immer die Fehlermeldung

:#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:

weiß jemand warum das kommt? Wie kann ich das beheben?

Bin bei Nitrado angemeldet, falls das jemanden interessiert. ^^

mfg ^^

Changelog.txt

Intermediate

Posts: 175

wcf.user.option.userOption53: Nein

  • Send private message

2

Friday, May 15th 2015, 7:07pm

verusch mal den Haken weg zu machen von:

Import abbrechen, wenn die maximale PHP-Scriptlaufzeit erreicht wird. (Damit ist es möglich, große Dateien zu importieren, allerdings kann es Transaktionen zerstören.)



ROKKSTAR 1

Beginner

  • "ROKKSTAR 1" started this thread

Posts: 28

wcf.user.option.userOption53: Nein

  • Send private message

3

Friday, May 15th 2015, 7:27pm

Danke für den Tipp :D

Leider bleibt die Fehlermeldung immer noch die selbe. :(

ROKKSTAR 1

Beginner

  • "ROKKSTAR 1" started this thread

Posts: 28

wcf.user.option.userOption53: Nein

  • Send private message

4

Saturday, May 16th 2015, 5:31pm

Keiner ne Idee?

fluxX

Super Moderator

Posts: 1,056

Location: Österreich

Occupation: IT Systemadministrator

wcf.user.option.userOption53: Ja

  • Send private message

5

Saturday, May 16th 2015, 6:43pm

Dazu wär die ganze Fehlermeldung nützlich.

Greetz

ROKKSTAR 1

Beginner

  • "ROKKSTAR 1" started this thread

Posts: 28

wcf.user.option.userOption53: Nein

  • Send private message

6

Sunday, May 17th 2015, 4:15pm

SQL-Befehl:



{
"type": "equipment",
"categories": [
{
"display_name": "Hats",
"description": "Cosmetic hats that appear on your head.",
"require_plugin": "equipment",
"web_description": null,
"web_color": "476291",
"items": [
{
"name": "trafficcone",
"display_name": "Traffic Cone",
"description": null,
"web_description": null,
"type": "equipment",
"loadout_slot": "hat",
"price": "650",
"attrs": {
"model": "models/props_junk/trafficcone001a.mdl",
"position": [
0,
-1,
20
],
"angles": [
0,
0,
[...]

MySQL meldet:

#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 '{
"type": "equipment",
"categories": [
{
"display_na' at line 1

Similar threads