Error SQL

SQLSTATE[42000]
Syntax error or access violation
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 '-11,11' at line 1

Error 0: fichero /var/www/public/classes/SPDO.php línea 37. Función: PDO->query()
- argumento 0: SELECT PD.nombre, PD.des_corta, PD.producto_cod, pvp(PD.producto_cod) AS pvp, stock(PD.producto_cod) AS stock, PIV.nombre AS imagen FROM Producto PD LEFT JOIN Producto_Imagen PI ON PD.producto_cod = PI.producto_cod AND PI.defecto = 1 AND PI.activo = 1 LEFT JOIN Producto_Imagen_Vista PIV ON PI.imagen_cod = PIV.imagen_cod AND PIV.tipo_nombre = 'list' WHERE PD.fabricante_cod = 014 AND PD.solotienda=0 AND PD.activo = 1 ORDER BY IF(IFNULL(stock,0)<=0,0,1) DESC, pvp ASC LIMIT -11,11

Error 1: fichero /var/www/public/models/Fabricante.php línea 43. Función: SPDO->query()
- argumento 0: SELECT PD.nombre, PD.des_corta, PD.producto_cod, pvp(PD.producto_cod) AS pvp, stock(PD.producto_cod) AS stock, PIV.nombre AS imagen FROM Producto PD LEFT JOIN Producto_Imagen PI ON PD.producto_cod = PI.producto_cod AND PI.defecto = 1 AND PI.activo = 1 LEFT JOIN Producto_Imagen_Vista PIV ON PI.imagen_cod = PIV.imagen_cod AND PIV.tipo_nombre = 'list' WHERE PD.fabricante_cod = 014 AND PD.solotienda=0 AND PD.activo = 1 ORDER BY IF(IFNULL(stock,0)<=0,0,1) DESC, pvp ASC
- argumento 1: -11
- argumento 2: 11

Error 2: fichero /var/www/public/controllers/InicioController.php línea 81. Función: Fabricante::getProductos()
- argumento 0: 014
- argumento 1:
- argumento 2:
- argumento 3:
- argumento 4: pvp

Error 3: fichero /var/www/public/classes/Router.php línea 90. Función: InicioController->fabricante()

Error 4: fichero /var/www/public/index.php línea 24. Función: Router->delegate()


Microsshop | Categoría | del fabricante KINGSTON

Búsqueda de productos

Categorías

Linea Formativa

Mostrando del 122 al 99 de un total de 99 productos del fabricante KINGSTON
Anterior  1   2   3   4   5   6   7   8   9