Sie sind nicht angemeldet.

1

Freitag, 15. Mai 2015, 17:57

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

Fortgeschrittener

Beiträge: 175

Rootserver vorhanden: Nein

  • Nachricht senden

2

Freitag, 15. Mai 2015, 19:07

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.)



3

Freitag, 15. Mai 2015, 19:27

Danke für den Tipp :D

Leider bleibt die Fehlermeldung immer noch die selbe. :(

4

Samstag, 16. Mai 2015, 17:31

Keiner ne Idee?

fluxX

Super Moderator

Beiträge: 1 056

Wohnort: Österreich

Beruf: IT Systemadministrator

Rootserver vorhanden: Ja

  • Nachricht senden

5

Samstag, 16. Mai 2015, 18:43

Dazu wär die ganze Fehlermeldung nützlich.

Greetz

6

Sonntag, 17. Mai 2015, 16:15

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

Ähnliche Themen

Verwendete Tags

Css Store plugin SQL error