[ETemplateError]
Application thrown an EQueryError error while rendering the component in hogar.html (666)
#in /home/c0140181/public_html/core/Classes/TVisualComponent.php (23)
[EQueryError]
Database query error
#in /home/c0140181/public_html/core/DB/TDBConnection.php (88)
[EQueryError]
Database query error
#in /home/c0140181/public_html/core/DB/Drivers/TMysqliDriver.php (50)
[TMysqliDriver] 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 res_indice' at line 1
Query: SELECT * FROM tbl_resource WHERE res_grupo = 'gal_productos' AND res_codres = ORDER BY res_indice
#0 /home/c0140181/public_html/core/DB/TDBDriver.php(74): TMysqliDriver->doExecute('SELECT * FROM t...')
#1 /home/c0140181/public_html/core/DB/TDBConnection.php(86): TDBDriver->execute('SELECT * FROM t...')
#2 /home/c0140181/public_html/web/public/hogar.php(666): TDBConnection->execute('SELECT * FROM t...')
#3 /home/c0140181/public_html/web/public/hogar.html(106): hogar->getDestacadoMesHome()
#4 /home/c0140181/public_html/core/Classes/TVisualComponent.php(19): include('/home/c0140181/...')
#5 /home/c0140181/public_html/core/Web/TWebPage.php(58): TVisualComponent->doRender()
#6 /home/c0140181/public_html/core/TApplication.php(36): TWebPage->render()
#7 /home/c0140181/public_html/index.php(12): TApplication->run('app.hogar.php', 'inicio')
#8 {main}
#0 /home/c0140181/public_html/web/public/hogar.php(666): TDBConnection->execute('SELECT * FROM t...')
#1 /home/c0140181/public_html/web/public/hogar.html(106): hogar->getDestacadoMesHome()
#2 /home/c0140181/public_html/core/Classes/TVisualComponent.php(19): include('/home/c0140181/...')
#3 /home/c0140181/public_html/core/Web/TWebPage.php(58): TVisualComponent->doRender()
#4 /home/c0140181/public_html/core/TApplication.php(36): TWebPage->render()
#5 /home/c0140181/public_html/index.php(12): TApplication->run('app.hogar.php', 'inicio')
#6 {main}
#0 /home/c0140181/public_html/core/Web/TWebPage.php(58): TVisualComponent->doRender()
#1 /home/c0140181/public_html/core/TApplication.php(36): TWebPage->render()
#2 /home/c0140181/public_html/index.php(12): TApplication->run('app.hogar.php', 'inicio')
#3 {main}