URL: //index.php
REQUEST URI: /destino/sierra-de-la-ventana/hoteles/1202/pares-y-nones
Get: m = destinos | action = display_hotel | location_url = sierra-de-la-ventana | hotel_id = 1202 |

PDOException. 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 ') ORDER BY ABS(votos_positivos-votos_negativos) DESC LIMIT 5' at line 5

# 0 /data/html/lanacion/lugaresdeviaje.com/framework/core/dbmanager.php -> line 104 Class:PDOStatement-> Type->-> Function execute
# 1 /data/html/lanacion/lugaresdeviaje.com/framework/core/module.php -> line 40 Class:DBManager-> Type->-> Function select
# 2 /data/html/lanacion/lugaresdeviaje.com/framework/modules/destinos/classes/destino.php -> line 223 Class:Module-> Type::-> Function select
# 3 /data/html/lanacion/lugaresdeviaje.com/framework/modules/destinos/classes/destinocontroller.php -> line 793 Class:Destino-> Type::-> Function getMasValorados
# 4 Class:DestinoController-> Type::-> Function display_default
# 5 /data/html/lanacion/lugaresdeviaje.com/index.php -> line 21 -> Function call_user_func

The error started here: /data/html/lanacion/lugaresdeviaje.com/index.php
12			$conf = ConfigurationManager::GetModuleConfiguration($mod);
13	
14			// Get action to execute
15			$action = Util::getvalue('action');
16			$controller = $conf['controller'];
17			if (is_callable(array((string)$controller,$action))){
18				call_user_func( array((string)$controller,$action ) );
19			}else{
20				// If the action received does not exists call default view
21 call_user_func(array((string)$controller,'display_default') );
22 } 23 die(); 24 } 25 } 26 27 ?>