URL: //index.php
REQUEST URI: /fotos/destino/puerto-deseado/mas-valoradas
Get: m = fotos | action = display_list_by_destino_location | location_url = puerto-deseado | order = mas-valoradas |

PDOException. SQLSTATE[22003]: Numeric value out of range: 1690 BIGINT UNSIGNED value is out of range in '(`lanacion_lugaresdeviaje`.`foto`.`votos_positivos` - `lanacion_lugaresdeviaje`.`foto`.`votos_negativos`)'

# 0 /opt/html/lanacion/lugaresdeviaje.com/framework/core/dbmanager.php -> line 104 Class:PDOStatement-> Type->-> Function execute
# 1 /opt/html/lanacion/lugaresdeviaje.com/framework/core/module.php -> line 40 Class:DBManager-> Type->-> Function select
# 2 /opt/html/lanacion/lugaresdeviaje.com/framework/modules/fotos/classes/foto.php -> line 678 Class:Module-> Type::-> Function select
# 3 /opt/html/lanacion/lugaresdeviaje.com/framework/modules/fotos/classes/fotocontroller.php -> line 811 Class:Foto-> Type::-> Function getFotosFromLocations
# 4 Class:FotoController-> Type::-> Function display_list_by_destino_location
# 5 /opt/html/lanacion/lugaresdeviaje.com/index.php -> line 18 -> Function call_user_func

The error started here: /opt/html/lanacion/lugaresdeviaje.com/index.php
9	if(!empty($mod)){
10		$modDir = PathManager::GetFrameworkPath() . '/modules/' . $mod;
11		if(is_dir($modDir)){
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 ?>