Query SQL:
SELECT content.id,
article.heading,
article.subheading,
article.author,
REPLACE(article.summary,'
','
') as summary,
IF(article.shortcut<>'',CONCAT('http://www.serviciosycartuchoslaser.com/',article.shortcut),CONCAT('http://www.serviciosycartuchoslaser.com/article/',content.id,'.html')) AS url,
section.name as section,
section.position
FROM site.content, site.article, site.section
WHERE content.id = article.id_content
AND content.id_section = section.id
AND content.id_domain ='serviciosycartuchoslaser.com'
AND content.id_section = ?
AND content.open = 'false'
AND content.visible = 'true'
AND (content.status != 'trash' OR ISNULL(content.status))
ORDER BY section.position,content.position, article.heading
WARNING [/usr/local/idem/framework/lib/ensi/isql.class.php:81] Got error 28 from storage engine