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 97 Class:PDOStatement-> Type->-> Function execute
# 1 /data/html/lanacion/lugaresdeviaje.com/framework/core/module.php -> line 31 Class:DBManager-> Type->-> Function select
# 2 /data/html/lanacion/lugaresdeviaje.com/framework/modules/destinos/classes/destino.php -> line 205 Class:Module-> Type::-> Function select
# 3 /data/html/lanacion/lugaresdeviaje.com/framework/modules/destinos/classes/destinocontroller.php -> line 785 Class:Destino-> Type::-> Function getMasValorados
# 4 Class:DestinoController-> Type::-> Function display_default
# 5 /data/html/lanacion/lugaresdeviaje.com/index.php -> line 28 -> Function call_user_func

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