Ha ocurrido un error en la consulta:
SELECT c.nombre, c2.nombre as nombre_padre FROM categoria as c LEFT JOIN categoria as c2 ON (c.id_categoria_padre = c2.id_categoria) WHERE c.id_categoria =
[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 '' at line 1