Detalles |



Fatal error: Uncaught exception 'ActiveRecord\DatabaseException' with message '42000, 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 orden ASC LIMIT 1' at line 1' in /home/martinma/public_html/core/libs/classes/active_record/lib/Connection.php:229 Stack trace: #0 /home/martinma/public_html/core/libs/classes/active_record/lib/Table.php(189): ActiveRecord\Connection->query('SELECT id_user,...', NULL) #1 /home/martinma/public_html/core/libs/classes/active_record/lib/Model.php(1366): ActiveRecord\Table->find_by_sql('SELECT id_user,...', NULL, true) #2 /home/martinma/public_html/app/helpers/application_helpers.php(60): ActiveRecord\Model::find_by_sql('SELECT id_user,...') #3 /home/martinma/public_html/app/views/main/detalle.php(23): getPicture(NULL, 'big') #4 /home/martinma/public_html/core/libs/framework/class.action_view.php(47): require_once('/home/martinma/...') #5 /home/martinma/public_html/core/libs/framework/class.acti in /home/martinma/public_html/core/libs/classes/active_record/lib/Connection.php on line 229