mySQL 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 'ORDER BY slot ASC' at line 4
Error occurred while running query:
SELECT title, description, price, currency
FROM related
WHERE section = 'software' AND module = 'models' AND id_object =
ORDER BY slot ASC
mySQL 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 'ORDER BY slot ASC' at line 4
Error occurred while running query:
SELECT title, description, price, currency
FROM related
WHERE section = 'accessories' AND module = 'models' AND id_object =
ORDER BY slot ASC
mySQL 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 'ORDER BY slot ASC' at line 4
Error occurred while running query:
SELECT title, description, price, currency
FROM related
WHERE section = 'repuestos' AND module = 'models' AND id_object =
ORDER BY slot ASC
mySQL 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 'AND c1.is_deleted = 0
ORDER BY c1.slot ASC, c2.slot ASC, c.slot ASC' at line 7
Error occurred while running query:
SELECT c.id_consumable, c.title, c.summary, c.price, c.currency
FROM consumables AS c
LEFT JOIN contents AS c2 ON c2.id_content = c.id_content
LEFT JOIN contents AS c1 ON c1.id_content = c2.id_parent
LEFT JOIN consumables_per_model AS r ON c.id_consumable = r.id_consumable
WHERE c.is_active = 1 AND c.is_deleted = 0 AND r.id_model =
AND c1.is_deleted = 0
ORDER BY c1.slot ASC, c2.slot ASC, c.slot ASC