Notice (8) : Undefined index: copertina [APP/Controller/Component/UtilComponent.php , line 68 ]Code Context $this -> Session -> write ( 'Destination.name' , $destination [ 'Destination' ][ 'name' ]);
$this -> Session -> write ( 'Destination.slug' , $destination [ 'Destination' ][ 'slug' ]);
$this -> Session -> write ( 'Destination.copertina' , $destination [ 'Destination' ][ 'copertina' ]);
$destination = array(
'Destination' => array(
'id' => (int) 2,
'name' => 'Piemonte',
'slug' => 'piemonte'
)
) UtilComponent::destination_in_session() - APP/Controller/Component/UtilComponent.php, line 68
AppController::beforeFilter() - APP/Controller/AppController.php, line 132
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 682
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 114
Map - Piattaforma CycloMap - BikeSquare
Notice (8) : Trying to access array offset on value of type null [APP/View/Layouts/default.ctp , line 65 ]Code Context < script src = "https://oss.maxcdn.com/respond/1.4.2/respond.min.js" ></ script >
<![endif]-->
<?php if( $loggedUser [ 'group_id' ] != ROLE_ADMIN ) : //solo se non sono amministratore ?>
$viewFile = '/var/www/vhosts/b2b.bikesquare.eu/cyclomap.bikesquare.eu/View/Layouts/default.ctp'
$dataForView = array(
'debugToolbarPanels' => array(
'history' => array(
'content' => array([maximum depth reached]),
'elementName' => 'history_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'session' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'session_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'request' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'request_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'sql_log' => array(
'content' => array([maximum depth reached]),
'elementName' => 'sql_log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'timer' => array(
'content' => null,
'elementName' => 'timer_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'log' => array(
'content' => object(DebugKitLog) {},
'elementName' => 'log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'variables' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'variables_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'environment' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'environment_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'include' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'include_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'clear_cache' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'clear_cache_panel',
'plugin' => 'ClearCache',
'title' => 'Clear Cache',
'disableTimer' => true
)
),
'debugToolbarJavascript' => array(
'libs' => 'DebugKit./js/js_debug_toolbar'
),
'debugToolbarCss' => array(
(int) 0 => 'DebugKit./css/debug_toolbar.css'
),
'page' => 'map',
'subpage' => null,
'title_for_layout' => 'Map',
'content_for_layout' => '
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91898b5-trace').style.display = (document.getElementById('cakeErr63d4fd91898b5-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: copertina [<b>APP/Controller/Component/UtilComponent.php</b>, line <b>68</b>]<div id="cakeErr63d4fd91898b5-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91898b5-code').style.display = (document.getElementById('cakeErr63d4fd91898b5-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91898b5-context').style.display = (document.getElementById('cakeErr63d4fd91898b5-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr63d4fd91898b5-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.name'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.slug'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'slug'</span><span style="color: #007700">]);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.copertina'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'copertina'</span><span style="color: #007700">]);</span></span></code></span></pre><pre id="cakeErr63d4fd91898b5-context" class="cake-context" style="display: none;">$destination = array(
'Destination' => array(
'id' => (int) 2,
'name' => 'Piemonte',
'slug' => 'piemonte'
)
)</pre><pre class="stack-trace">UtilComponent::destination_in_session() - APP/Controller/Component/UtilComponent.php, line 68
AppController::beforeFilter() - APP/Controller/AppController.php, line 132
PercorsiController::beforeFilter() - APP/Controller/PercorsiController.php, line 27
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 682
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
CakeObject::requestAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/CakeObject.php, line 104
include - APP/View/Pages/map.ctp, line 4
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 968
PagesController::display() - APP/Controller/PagesController.php, line 86
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167</pre></div></pre>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91ac999-trace').style.display = (document.getElementById('cakeErr63d4fd91ac999-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: copertina [<b>APP/Controller/Component/UtilComponent.php</b>, line <b>68</b>]<div id="cakeErr63d4fd91ac999-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91ac999-code').style.display = (document.getElementById('cakeErr63d4fd91ac999-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91ac999-context').style.display = (document.getElementById('cakeErr63d4fd91ac999-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr63d4fd91ac999-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.name'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.slug'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'slug'</span><span style="color: #007700">]);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.copertina'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'copertina'</span><span style="color: #007700">]);</span></span></code></span></pre><pre id="cakeErr63d4fd91ac999-context" class="cake-context" style="display: none;">$destination = array(
'Destination' => array(
'id' => (int) 2,
'name' => 'Piemonte',
'slug' => 'piemonte'
)
)</pre><pre class="stack-trace">UtilComponent::destination_in_session() - APP/Controller/Component/UtilComponent.php, line 68
AppController::beforeFilter() - APP/Controller/AppController.php, line 132
PoiController::beforeFilter() - APP/Controller/PoiController.php, line 22
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 682
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
CakeObject::requestAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/CakeObject.php, line 104
include - APP/View/Pages/map.ctp, line 8
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 968
PagesController::display() - APP/Controller/PagesController.php, line 86
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167</pre></div></pre>
<div id="map-container" class="row">
<div id="mappa-generale" class="col-md-12 h-100" tabindex="2">
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"></script>
<link rel="stylesheet" href="https://openlayers.org/en/v5.3.0/css/ol.css" type="text/css">
<script>
var edit= '';
var id= 'poi-map';
var stroke_width = '2';
var stroke_color = '#ff4400';
var center_lon = '7.466667';
var center_lat = '44.973333';
var center_format = '0';
var zoom = '14';
var webroot= 'webroot';
var translate_inizio_percorso= 'Inizio percorso';
var translate_fine_percorso= 'Fine percorso';
var path_source = [{"color":"#b99aff","id":"6","width":"3","kml":"\/piemonte\/percorsi\/kml\/6.kml","title":"Martinetto Levaldigi","codice":"MON2.6","slug":"martinetto-levaldigi"},{"color":"#cd74e6","id":"10","width":"3","kml":"\/piemonte\/percorsi\/kml\/10.kml","title":"Anello panoramico","codice":"MON5.2","slug":"anello-panoramico"},{"color":"#7bd148","id":"11","width":"3","kml":"\/piemonte\/percorsi\/kml\/11.kml","title":"L'Anello della Fortezza","codice":"MON5.1.A","slug":"lanello-della-fortezza"},{"color":"#16a765","id":"13","width":"3","kml":"\/piemonte\/percorsi\/kml\/13.kml","title":"L'Anello della Fortezza con deviazione per Les Ardoins","codice":"MON5.1.B","slug":"lanello-della-fortezza-con-deviazione-per-les-ardoins"},{"color":"#42d692","id":"14","width":"3","kml":"\/piemonte\/percorsi\/kml\/14.kml","title":"Le Gole del Guil","codice":"MON5.3","slug":"le-gole-del-guil"},{"color":"#7bd148","id":"15","width":"3","kml":"\/piemonte\/percorsi\/kml\/15.kml","title":"Lungo la Durance","codice":"MON5.4","slug":"lungo-la-durance"},{"color":"#42d692","id":"16","width":"3","kml":"\/piemonte\/percorsi\/kml\/16.kml","title":"Campasso","codice":"MON2.1","slug":"campasso"},{"color":"#9a9cff","id":"17","width":"3","kml":"\/piemonte\/percorsi\/kml\/17.kml","title":"Chios del Re","codice":"MON2.2","slug":"chios-del-re"},{"color":"#ff7537","id":"19","width":"3","kml":"\/piemonte\/percorsi\/kml\/19.kml","title":"Percorso dell'Apparizione","codice":"MON2.4","slug":"percorso-dellapparizione"},{"color":"#ffad46","id":"20","width":"3","kml":"\/piemonte\/percorsi\/kml\/20.kml","title":"Residenze signorili","codice":"MON2.5","slug":"residenze-signorili"},{"color":"#ff7537","id":"21","width":"3","kml":"\/piemonte\/percorsi\/kml\/21.kml","title":"I Poderi Reali","codice":"MON1.1","slug":"i-poderi-reali"},{"color":"#f83a22","id":"22","width":"3","kml":"\/piemonte\/percorsi\/kml\/22.kml","title":"Il Bosco del Merlino","codice":"MON1.2","slug":"il-bosco-del-merlino"},{"color":"#7bd148","id":"23","width":"3","kml":"\/piemonte\/percorsi\/kml\/23.kml","title":"Cyclomonviso","codice":"MON","slug":"cyclomonviso"},{"color":"#a47ae2","id":"25","width":"3","kml":"\/piemonte\/percorsi\/kml\/25.kml","title":"Saluzzo, nei due cuori della Citt\u00c3\u00a0","codice":"MON3.1","slug":"saluzzo-nei-due-cuori-della-citta"}];
var poi_points = null;
var categories = [];
var base_path = 'https://mappe.cyclomonviso.eu/ita'; //Necessario per gestire la lingua nei poi
//console.log(poi_points);console.log(categories);
</script>
<!--div containing the map-->
<div style="width:100%; height:; z-index:0" id="poi-map" class="map" tabindex="1">
<div id="popup" class="ol-popup">
<a href="#" id="popup-closer" class="ol-popup-closer"></a>
<div id="popup-content"></div>
</div>
</div>
<!--end of div containing the map-->
</div>
<!-- legenda -->
<div id="legenda" class="col-md-3 col-sm-3 col-md-offset-9 draggable">
<div class="panel panel-default col-md-12 " >
<div class="panel-heading">
<h4>Legenda <i class="fa fa-arrows-alt pull-right"></i></h4>
</div>
<div class="panel-body">
<div>
<span class="label label-default" style="background-color: #b99aff">MON2.6</span>
<a href="/ita/percorsi/view/martinetto-levaldigi">Martinetto Levaldigi</a>
</div>
<div>
<span class="label label-default" style="background-color: #cd74e6">MON5.2</span>
<a href="/ita/percorsi/view/anello-panoramico">Anello panoramico</a>
</div>
<div>
<span class="label label-default" style="background-color: #7bd148">MON5.1.A</span>
<a href="/ita/percorsi/view/lanello-della-fortezza">L'Anello della Fortezza</a>
</div>
<div>
<span class="label label-default" style="background-color: #16a765">MON5.1.B</span>
<a href="/ita/percorsi/view/lanello-della-fortezza-con-deviazione-per-les-ardoins">L'Anello della Fortezza con deviazione per Les Ardoins</a>
</div>
<div>
<span class="label label-default" style="background-color: #42d692">MON5.3</span>
<a href="/ita/percorsi/view/le-gole-del-guil">Le Gole del Guil</a>
</div>
<div>
<span class="label label-default" style="background-color: #7bd148">MON5.4</span>
<a href="/ita/percorsi/view/lungo-la-durance">Lungo la Durance</a>
</div>
<div>
<span class="label label-default" style="background-color: #42d692">MON2.1</span>
<a href="/ita/percorsi/view/campasso">Campasso</a>
</div>
<div>
<span class="label label-default" style="background-color: #9a9cff">MON2.2</span>
<a href="/ita/percorsi/view/chios-del-re">Chios del Re</a>
</div>
<div>
<span class="label label-default" style="background-color: #ff7537">MON2.4</span>
<a href="/ita/percorsi/view/percorso-dellapparizione">Percorso dell'Apparizione</a>
</div>
<div>
<span class="label label-default" style="background-color: #ffad46">MON2.5</span>
<a href="/ita/percorsi/view/residenze-signorili">Residenze signorili</a>
</div>
<div>
<span class="label label-default" style="background-color: #ff7537">MON1.1</span>
<a href="/ita/percorsi/view/i-poderi-reali">I Poderi Reali</a>
</div>
<div>
<span class="label label-default" style="background-color: #f83a22">MON1.2</span>
<a href="/ita/percorsi/view/il-bosco-del-merlino">Il Bosco del Merlino</a>
</div>
<div>
<span class="label label-default" style="background-color: #7bd148">MON</span>
<a href="/ita/percorsi/view/cyclomonviso">Cyclomonviso</a>
</div>
<div>
<span class="label label-default" style="background-color: #a47ae2">MON3.1</span>
<a href="/ita/percorsi/view/saluzzo-nei-due-cuori-della-citta">Saluzzo, nei due cuori della Città</a>
</div>
</div> <!-- panel body -->
<div class="panel-footer">
<p class="small">
© BikeSquare
</p>
</div>
</div> <!-- panel-->
</div> <!-- legenda -->
</div> <!-- map container -->
',
'scripts_for_layout' => '<link rel="stylesheet" type="text/css" href="/css/map.css"/><script type="text/javascript" src="/js/dist/map.2.js"></script><script type="text/javascript" src="/js/node_modules/jquery-ui-dist/jquery-ui.min.js"></script><script type="text/javascript">
//<![CDATA[
$( function() {
$( ".draggable" ).draggable();
} );
//]]>
</script>'
)
$debugToolbarPanels = array(
'history' => array(
'content' => array(),
'elementName' => 'history_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'session' => array(
'content' => array(
'Config' => array(
[maximum depth reached]
),
'Destination' => array(
[maximum depth reached]
)
),
'elementName' => 'session_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'request' => array(
'content' => array(
'params' => array(
[maximum depth reached]
),
'url' => 'ita/pages/map',
'query' => array([maximum depth reached]),
'data' => array([maximum depth reached]),
'cookie' => array([maximum depth reached]),
'get' => array([maximum depth reached]),
'currentRoute' => object(I18nRoute) {}
),
'elementName' => 'request_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'sql_log' => array(
'content' => array(),
'elementName' => 'sql_log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'timer' => array(
'content' => null,
'elementName' => 'timer_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'log' => array(
'content' => object(DebugKitLog) {},
'elementName' => 'log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'variables' => array(
'content' => array(
'page' => 'map',
'subpage' => null,
'title_for_layout' => 'Map',
'$request->data' => array([maximum depth reached])
),
'elementName' => 'variables_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'environment' => array(
'content' => array(
'php' => array(
[maximum depth reached]
),
'cake' => array(
[maximum depth reached]
),
'app' => array(
[maximum depth reached]
)
),
'elementName' => 'environment_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'include' => array(
'content' => array(
'core' => array([maximum depth reached]),
'app' => array(
[maximum depth reached]
),
'plugins' => array(
[maximum depth reached]
),
'paths' => array(
[maximum depth reached]
)
),
'elementName' => 'include_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'clear_cache' => array(
'content' => array(
'folders' => array(
[maximum depth reached]
),
'engines' => array(
[maximum depth reached]
),
'groups' => array(
[maximum depth reached]
)
),
'elementName' => 'clear_cache_panel',
'plugin' => 'ClearCache',
'title' => 'Clear Cache',
'disableTimer' => true
)
)
$debugToolbarJavascript = array(
'libs' => 'DebugKit./js/js_debug_toolbar'
)
$debugToolbarCss = array(
(int) 0 => 'DebugKit./css/debug_toolbar.css'
)
$page = 'map'
$subpage = null
$title_for_layout = 'Map'
$content_for_layout = '
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91898b5-trace').style.display = (document.getElementById('cakeErr63d4fd91898b5-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: copertina [<b>APP/Controller/Component/UtilComponent.php</b>, line <b>68</b>]<div id="cakeErr63d4fd91898b5-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91898b5-code').style.display = (document.getElementById('cakeErr63d4fd91898b5-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91898b5-context').style.display = (document.getElementById('cakeErr63d4fd91898b5-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr63d4fd91898b5-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.name'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.slug'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'slug'</span><span style="color: #007700">]);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.copertina'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'copertina'</span><span style="color: #007700">]);</span></span></code></span></pre><pre id="cakeErr63d4fd91898b5-context" class="cake-context" style="display: none;">$destination = array(
'Destination' => array(
'id' => (int) 2,
'name' => 'Piemonte',
'slug' => 'piemonte'
)
)</pre><pre class="stack-trace">UtilComponent::destination_in_session() - APP/Controller/Component/UtilComponent.php, line 68
AppController::beforeFilter() - APP/Controller/AppController.php, line 132
PercorsiController::beforeFilter() - APP/Controller/PercorsiController.php, line 27
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 682
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
CakeObject::requestAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/CakeObject.php, line 104
include - APP/View/Pages/map.ctp, line 4
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 968
PagesController::display() - APP/Controller/PagesController.php, line 86
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167</pre></div></pre>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91ac999-trace').style.display = (document.getElementById('cakeErr63d4fd91ac999-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: copertina [<b>APP/Controller/Component/UtilComponent.php</b>, line <b>68</b>]<div id="cakeErr63d4fd91ac999-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91ac999-code').style.display = (document.getElementById('cakeErr63d4fd91ac999-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91ac999-context').style.display = (document.getElementById('cakeErr63d4fd91ac999-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr63d4fd91ac999-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.name'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.slug'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'slug'</span><span style="color: #007700">]);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.copertina'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'copertina'</span><span style="color: #007700">]);</span></span></code></span></pre><pre id="cakeErr63d4fd91ac999-context" class="cake-context" style="display: none;">$destination = array(
'Destination' => array(
'id' => (int) 2,
'name' => 'Piemonte',
'slug' => 'piemonte'
)
)</pre><pre class="stack-trace">UtilComponent::destination_in_session() - APP/Controller/Component/UtilComponent.php, line 68
AppController::beforeFilter() - APP/Controller/AppController.php, line 132
PoiController::beforeFilter() - APP/Controller/PoiController.php, line 22
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 682
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
CakeObject::requestAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/CakeObject.php, line 104
include - APP/View/Pages/map.ctp, line 8
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 968
PagesController::display() - APP/Controller/PagesController.php, line 86
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167</pre></div></pre>
<div id="map-container" class="row">
<div id="mappa-generale" class="col-md-12 h-100" tabindex="2">
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"></script>
<link rel="stylesheet" href="https://openlayers.org/en/v5.3.0/css/ol.css" type="text/css">
<script>
var edit= '';
var id= 'poi-map';
var stroke_width = '2';
var stroke_color = '#ff4400';
var center_lon = '7.466667';
var center_lat = '44.973333';
var center_format = '0';
var zoom = '14';
var webroot= 'webroot';
var translate_inizio_percorso= 'Inizio percorso';
var translate_fine_percorso= 'Fine percorso';
var path_source = [{"color":"#b99aff","id":"6","width":"3","kml":"\/piemonte\/percorsi\/kml\/6.kml","title":"Martinetto Levaldigi","codice":"MON2.6","slug":"martinetto-levaldigi"},{"color":"#cd74e6","id":"10","width":"3","kml":"\/piemonte\/percorsi\/kml\/10.kml","title":"Anello panoramico","codice":"MON5.2","slug":"anello-panoramico"},{"color":"#7bd148","id":"11","width":"3","kml":"\/piemonte\/percorsi\/kml\/11.kml","title":"L'Anello della Fortezza","codice":"MON5.1.A","slug":"lanello-della-fortezza"},{"color":"#16a765","id":"13","width":"3","kml":"\/piemonte\/percorsi\/kml\/13.kml","title":"L'Anello della Fortezza con deviazione per Les Ardoins","codice":"MON5.1.B","slug":"lanello-della-fortezza-con-deviazione-per-les-ardoins"},{"color":"#42d692","id":"14","width":"3","kml":"\/piemonte\/percorsi\/kml\/14.kml","title":"Le Gole del Guil","codice":"MON5.3","slug":"le-gole-del-guil"},{"color":"#7bd148","id":"15","width":"3","kml":"\/piemonte\/percorsi\/kml\/15.kml","title":"Lungo la Durance","codice":"MON5.4","slug":"lungo-la-durance"},{"color":"#42d692","id":"16","width":"3","kml":"\/piemonte\/percorsi\/kml\/16.kml","title":"Campasso","codice":"MON2.1","slug":"campasso"},{"color":"#9a9cff","id":"17","width":"3","kml":"\/piemonte\/percorsi\/kml\/17.kml","title":"Chios del Re","codice":"MON2.2","slug":"chios-del-re"},{"color":"#ff7537","id":"19","width":"3","kml":"\/piemonte\/percorsi\/kml\/19.kml","title":"Percorso dell'Apparizione","codice":"MON2.4","slug":"percorso-dellapparizione"},{"color":"#ffad46","id":"20","width":"3","kml":"\/piemonte\/percorsi\/kml\/20.kml","title":"Residenze signorili","codice":"MON2.5","slug":"residenze-signorili"},{"color":"#ff7537","id":"21","width":"3","kml":"\/piemonte\/percorsi\/kml\/21.kml","title":"I Poderi Reali","codice":"MON1.1","slug":"i-poderi-reali"},{"color":"#f83a22","id":"22","width":"3","kml":"\/piemonte\/percorsi\/kml\/22.kml","title":"Il Bosco del Merlino","codice":"MON1.2","slug":"il-bosco-del-merlino"},{"color":"#7bd148","id":"23","width":"3","kml":"\/piemonte\/percorsi\/kml\/23.kml","title":"Cyclomonviso","codice":"MON","slug":"cyclomonviso"},{"color":"#a47ae2","id":"25","width":"3","kml":"\/piemonte\/percorsi\/kml\/25.kml","title":"Saluzzo, nei due cuori della Citt\u00c3\u00a0","codice":"MON3.1","slug":"saluzzo-nei-due-cuori-della-citta"}];
var poi_points = null;
var categories = [];
var base_path = 'https://mappe.cyclomonviso.eu/ita'; //Necessario per gestire la lingua nei poi
//console.log(poi_points);console.log(categories);
</script>
<!--div containing the map-->
<div style="width:100%; height:; z-index:0" id="poi-map" class="map" tabindex="1">
<div id="popup" class="ol-popup">
<a href="#" id="popup-closer" class="ol-popup-closer"></a>
<div id="popup-content"></div>
</div>
</div>
<!--end of div containing the map-->
</div>
<!-- legenda -->
<div id="legenda" class="col-md-3 col-sm-3 col-md-offset-9 draggable">
<div class="panel panel-default col-md-12 " >
<div class="panel-heading">
<h4>Legenda <i class="fa fa-arrows-alt pull-right"></i></h4>
</div>
<div class="panel-body">
<div>
<span class="label label-default" style="background-color: #b99aff">MON2.6</span>
<a href="/ita/percorsi/view/martinetto-levaldigi">Martinetto Levaldigi</a>
</div>
<div>
<span class="label label-default" style="background-color: #cd74e6">MON5.2</span>
<a href="/ita/percorsi/view/anello-panoramico">Anello panoramico</a>
</div>
<div>
<span class="label label-default" style="background-color: #7bd148">MON5.1.A</span>
<a href="/ita/percorsi/view/lanello-della-fortezza">L'Anello della Fortezza</a>
</div>
<div>
<span class="label label-default" style="background-color: #16a765">MON5.1.B</span>
<a href="/ita/percorsi/view/lanello-della-fortezza-con-deviazione-per-les-ardoins">L'Anello della Fortezza con deviazione per Les Ardoins</a>
</div>
<div>
<span class="label label-default" style="background-color: #42d692">MON5.3</span>
<a href="/ita/percorsi/view/le-gole-del-guil">Le Gole del Guil</a>
</div>
<div>
<span class="label label-default" style="background-color: #7bd148">MON5.4</span>
<a href="/ita/percorsi/view/lungo-la-durance">Lungo la Durance</a>
</div>
<div>
<span class="label label-default" style="background-color: #42d692">MON2.1</span>
<a href="/ita/percorsi/view/campasso">Campasso</a>
</div>
<div>
<span class="label label-default" style="background-color: #9a9cff">MON2.2</span>
<a href="/ita/percorsi/view/chios-del-re">Chios del Re</a>
</div>
<div>
<span class="label label-default" style="background-color: #ff7537">MON2.4</span>
<a href="/ita/percorsi/view/percorso-dellapparizione">Percorso dell'Apparizione</a>
</div>
<div>
<span class="label label-default" style="background-color: #ffad46">MON2.5</span>
<a href="/ita/percorsi/view/residenze-signorili">Residenze signorili</a>
</div>
<div>
<span class="label label-default" style="background-color: #ff7537">MON1.1</span>
<a href="/ita/percorsi/view/i-poderi-reali">I Poderi Reali</a>
</div>
<div>
<span class="label label-default" style="background-color: #f83a22">MON1.2</span>
<a href="/ita/percorsi/view/il-bosco-del-merlino">Il Bosco del Merlino</a>
</div>
<div>
<span class="label label-default" style="background-color: #7bd148">MON</span>
<a href="/ita/percorsi/view/cyclomonviso">Cyclomonviso</a>
</div>
<div>
<span class="label label-default" style="background-color: #a47ae2">MON3.1</span>
<a href="/ita/percorsi/view/saluzzo-nei-due-cuori-della-citta">Saluzzo, nei due cuori della Città</a>
</div>
</div> <!-- panel body -->
<div class="panel-footer">
<p class="small">
© BikeSquare
</p>
</div>
</div> <!-- panel-->
</div> <!-- legenda -->
</div> <!-- map container -->
'
$scripts_for_layout = '<link rel="stylesheet" type="text/css" href="/css/map.css"/><script type="text/javascript" src="/js/dist/map.2.js"></script><script type="text/javascript" src="/js/node_modules/jquery-ui-dist/jquery-ui.min.js"></script><script type="text/javascript">
//<![CDATA[
$( function() {
$( ".draggable" ).draggable();
} );
//]]>
</script>'
$loggedUser = null include - APP/View/Layouts/default.ctp, line 65
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 968
PagesController::display() - APP/Controller/PagesController.php, line 86
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 114
Notice (8) : Trying to access array offset on value of type null [APP/View/Layouts/default.ctp , line 72 ]Code Context </ head >
< body >
<?php if( $loggedUser [ 'group_id' ] != ROLE_ADMIN ) : //solo se non sono amministratore ?>
$viewFile = '/var/www/vhosts/b2b.bikesquare.eu/cyclomap.bikesquare.eu/View/Layouts/default.ctp'
$dataForView = array(
'debugToolbarPanels' => array(
'history' => array(
'content' => array([maximum depth reached]),
'elementName' => 'history_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'session' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'session_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'request' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'request_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'sql_log' => array(
'content' => array([maximum depth reached]),
'elementName' => 'sql_log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'timer' => array(
'content' => null,
'elementName' => 'timer_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'log' => array(
'content' => object(DebugKitLog) {},
'elementName' => 'log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'variables' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'variables_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'environment' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'environment_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'include' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'include_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'clear_cache' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'clear_cache_panel',
'plugin' => 'ClearCache',
'title' => 'Clear Cache',
'disableTimer' => true
)
),
'debugToolbarJavascript' => array(
'libs' => 'DebugKit./js/js_debug_toolbar'
),
'debugToolbarCss' => array(
(int) 0 => 'DebugKit./css/debug_toolbar.css'
),
'page' => 'map',
'subpage' => null,
'title_for_layout' => 'Map',
'content_for_layout' => '
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91898b5-trace').style.display = (document.getElementById('cakeErr63d4fd91898b5-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: copertina [<b>APP/Controller/Component/UtilComponent.php</b>, line <b>68</b>]<div id="cakeErr63d4fd91898b5-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91898b5-code').style.display = (document.getElementById('cakeErr63d4fd91898b5-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91898b5-context').style.display = (document.getElementById('cakeErr63d4fd91898b5-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr63d4fd91898b5-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.name'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.slug'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'slug'</span><span style="color: #007700">]);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.copertina'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'copertina'</span><span style="color: #007700">]);</span></span></code></span></pre><pre id="cakeErr63d4fd91898b5-context" class="cake-context" style="display: none;">$destination = array(
'Destination' => array(
'id' => (int) 2,
'name' => 'Piemonte',
'slug' => 'piemonte'
)
)</pre><pre class="stack-trace">UtilComponent::destination_in_session() - APP/Controller/Component/UtilComponent.php, line 68
AppController::beforeFilter() - APP/Controller/AppController.php, line 132
PercorsiController::beforeFilter() - APP/Controller/PercorsiController.php, line 27
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 682
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
CakeObject::requestAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/CakeObject.php, line 104
include - APP/View/Pages/map.ctp, line 4
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 968
PagesController::display() - APP/Controller/PagesController.php, line 86
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167</pre></div></pre>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91ac999-trace').style.display = (document.getElementById('cakeErr63d4fd91ac999-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: copertina [<b>APP/Controller/Component/UtilComponent.php</b>, line <b>68</b>]<div id="cakeErr63d4fd91ac999-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91ac999-code').style.display = (document.getElementById('cakeErr63d4fd91ac999-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91ac999-context').style.display = (document.getElementById('cakeErr63d4fd91ac999-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr63d4fd91ac999-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.name'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.slug'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'slug'</span><span style="color: #007700">]);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.copertina'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'copertina'</span><span style="color: #007700">]);</span></span></code></span></pre><pre id="cakeErr63d4fd91ac999-context" class="cake-context" style="display: none;">$destination = array(
'Destination' => array(
'id' => (int) 2,
'name' => 'Piemonte',
'slug' => 'piemonte'
)
)</pre><pre class="stack-trace">UtilComponent::destination_in_session() - APP/Controller/Component/UtilComponent.php, line 68
AppController::beforeFilter() - APP/Controller/AppController.php, line 132
PoiController::beforeFilter() - APP/Controller/PoiController.php, line 22
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 682
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
CakeObject::requestAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/CakeObject.php, line 104
include - APP/View/Pages/map.ctp, line 8
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 968
PagesController::display() - APP/Controller/PagesController.php, line 86
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167</pre></div></pre>
<div id="map-container" class="row">
<div id="mappa-generale" class="col-md-12 h-100" tabindex="2">
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"></script>
<link rel="stylesheet" href="https://openlayers.org/en/v5.3.0/css/ol.css" type="text/css">
<script>
var edit= '';
var id= 'poi-map';
var stroke_width = '2';
var stroke_color = '#ff4400';
var center_lon = '7.466667';
var center_lat = '44.973333';
var center_format = '0';
var zoom = '14';
var webroot= 'webroot';
var translate_inizio_percorso= 'Inizio percorso';
var translate_fine_percorso= 'Fine percorso';
var path_source = [{"color":"#b99aff","id":"6","width":"3","kml":"\/piemonte\/percorsi\/kml\/6.kml","title":"Martinetto Levaldigi","codice":"MON2.6","slug":"martinetto-levaldigi"},{"color":"#cd74e6","id":"10","width":"3","kml":"\/piemonte\/percorsi\/kml\/10.kml","title":"Anello panoramico","codice":"MON5.2","slug":"anello-panoramico"},{"color":"#7bd148","id":"11","width":"3","kml":"\/piemonte\/percorsi\/kml\/11.kml","title":"L'Anello della Fortezza","codice":"MON5.1.A","slug":"lanello-della-fortezza"},{"color":"#16a765","id":"13","width":"3","kml":"\/piemonte\/percorsi\/kml\/13.kml","title":"L'Anello della Fortezza con deviazione per Les Ardoins","codice":"MON5.1.B","slug":"lanello-della-fortezza-con-deviazione-per-les-ardoins"},{"color":"#42d692","id":"14","width":"3","kml":"\/piemonte\/percorsi\/kml\/14.kml","title":"Le Gole del Guil","codice":"MON5.3","slug":"le-gole-del-guil"},{"color":"#7bd148","id":"15","width":"3","kml":"\/piemonte\/percorsi\/kml\/15.kml","title":"Lungo la Durance","codice":"MON5.4","slug":"lungo-la-durance"},{"color":"#42d692","id":"16","width":"3","kml":"\/piemonte\/percorsi\/kml\/16.kml","title":"Campasso","codice":"MON2.1","slug":"campasso"},{"color":"#9a9cff","id":"17","width":"3","kml":"\/piemonte\/percorsi\/kml\/17.kml","title":"Chios del Re","codice":"MON2.2","slug":"chios-del-re"},{"color":"#ff7537","id":"19","width":"3","kml":"\/piemonte\/percorsi\/kml\/19.kml","title":"Percorso dell'Apparizione","codice":"MON2.4","slug":"percorso-dellapparizione"},{"color":"#ffad46","id":"20","width":"3","kml":"\/piemonte\/percorsi\/kml\/20.kml","title":"Residenze signorili","codice":"MON2.5","slug":"residenze-signorili"},{"color":"#ff7537","id":"21","width":"3","kml":"\/piemonte\/percorsi\/kml\/21.kml","title":"I Poderi Reali","codice":"MON1.1","slug":"i-poderi-reali"},{"color":"#f83a22","id":"22","width":"3","kml":"\/piemonte\/percorsi\/kml\/22.kml","title":"Il Bosco del Merlino","codice":"MON1.2","slug":"il-bosco-del-merlino"},{"color":"#7bd148","id":"23","width":"3","kml":"\/piemonte\/percorsi\/kml\/23.kml","title":"Cyclomonviso","codice":"MON","slug":"cyclomonviso"},{"color":"#a47ae2","id":"25","width":"3","kml":"\/piemonte\/percorsi\/kml\/25.kml","title":"Saluzzo, nei due cuori della Citt\u00c3\u00a0","codice":"MON3.1","slug":"saluzzo-nei-due-cuori-della-citta"}];
var poi_points = null;
var categories = [];
var base_path = 'https://mappe.cyclomonviso.eu/ita'; //Necessario per gestire la lingua nei poi
//console.log(poi_points);console.log(categories);
</script>
<!--div containing the map-->
<div style="width:100%; height:; z-index:0" id="poi-map" class="map" tabindex="1">
<div id="popup" class="ol-popup">
<a href="#" id="popup-closer" class="ol-popup-closer"></a>
<div id="popup-content"></div>
</div>
</div>
<!--end of div containing the map-->
</div>
<!-- legenda -->
<div id="legenda" class="col-md-3 col-sm-3 col-md-offset-9 draggable">
<div class="panel panel-default col-md-12 " >
<div class="panel-heading">
<h4>Legenda <i class="fa fa-arrows-alt pull-right"></i></h4>
</div>
<div class="panel-body">
<div>
<span class="label label-default" style="background-color: #b99aff">MON2.6</span>
<a href="/ita/percorsi/view/martinetto-levaldigi">Martinetto Levaldigi</a>
</div>
<div>
<span class="label label-default" style="background-color: #cd74e6">MON5.2</span>
<a href="/ita/percorsi/view/anello-panoramico">Anello panoramico</a>
</div>
<div>
<span class="label label-default" style="background-color: #7bd148">MON5.1.A</span>
<a href="/ita/percorsi/view/lanello-della-fortezza">L'Anello della Fortezza</a>
</div>
<div>
<span class="label label-default" style="background-color: #16a765">MON5.1.B</span>
<a href="/ita/percorsi/view/lanello-della-fortezza-con-deviazione-per-les-ardoins">L'Anello della Fortezza con deviazione per Les Ardoins</a>
</div>
<div>
<span class="label label-default" style="background-color: #42d692">MON5.3</span>
<a href="/ita/percorsi/view/le-gole-del-guil">Le Gole del Guil</a>
</div>
<div>
<span class="label label-default" style="background-color: #7bd148">MON5.4</span>
<a href="/ita/percorsi/view/lungo-la-durance">Lungo la Durance</a>
</div>
<div>
<span class="label label-default" style="background-color: #42d692">MON2.1</span>
<a href="/ita/percorsi/view/campasso">Campasso</a>
</div>
<div>
<span class="label label-default" style="background-color: #9a9cff">MON2.2</span>
<a href="/ita/percorsi/view/chios-del-re">Chios del Re</a>
</div>
<div>
<span class="label label-default" style="background-color: #ff7537">MON2.4</span>
<a href="/ita/percorsi/view/percorso-dellapparizione">Percorso dell'Apparizione</a>
</div>
<div>
<span class="label label-default" style="background-color: #ffad46">MON2.5</span>
<a href="/ita/percorsi/view/residenze-signorili">Residenze signorili</a>
</div>
<div>
<span class="label label-default" style="background-color: #ff7537">MON1.1</span>
<a href="/ita/percorsi/view/i-poderi-reali">I Poderi Reali</a>
</div>
<div>
<span class="label label-default" style="background-color: #f83a22">MON1.2</span>
<a href="/ita/percorsi/view/il-bosco-del-merlino">Il Bosco del Merlino</a>
</div>
<div>
<span class="label label-default" style="background-color: #7bd148">MON</span>
<a href="/ita/percorsi/view/cyclomonviso">Cyclomonviso</a>
</div>
<div>
<span class="label label-default" style="background-color: #a47ae2">MON3.1</span>
<a href="/ita/percorsi/view/saluzzo-nei-due-cuori-della-citta">Saluzzo, nei due cuori della Città</a>
</div>
</div> <!-- panel body -->
<div class="panel-footer">
<p class="small">
© BikeSquare
</p>
</div>
</div> <!-- panel-->
</div> <!-- legenda -->
</div> <!-- map container -->
',
'scripts_for_layout' => '<link rel="stylesheet" type="text/css" href="/css/map.css"/><script type="text/javascript" src="/js/dist/map.2.js"></script><script type="text/javascript" src="/js/node_modules/jquery-ui-dist/jquery-ui.min.js"></script><script type="text/javascript">
//<![CDATA[
$( function() {
$( ".draggable" ).draggable();
} );
//]]>
</script>'
)
$debugToolbarPanels = array(
'history' => array(
'content' => array(),
'elementName' => 'history_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'session' => array(
'content' => array(
'Config' => array(
[maximum depth reached]
),
'Destination' => array(
[maximum depth reached]
)
),
'elementName' => 'session_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'request' => array(
'content' => array(
'params' => array(
[maximum depth reached]
),
'url' => 'ita/pages/map',
'query' => array([maximum depth reached]),
'data' => array([maximum depth reached]),
'cookie' => array([maximum depth reached]),
'get' => array([maximum depth reached]),
'currentRoute' => object(I18nRoute) {}
),
'elementName' => 'request_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'sql_log' => array(
'content' => array(),
'elementName' => 'sql_log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'timer' => array(
'content' => null,
'elementName' => 'timer_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'log' => array(
'content' => object(DebugKitLog) {},
'elementName' => 'log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'variables' => array(
'content' => array(
'page' => 'map',
'subpage' => null,
'title_for_layout' => 'Map',
'$request->data' => array([maximum depth reached])
),
'elementName' => 'variables_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'environment' => array(
'content' => array(
'php' => array(
[maximum depth reached]
),
'cake' => array(
[maximum depth reached]
),
'app' => array(
[maximum depth reached]
)
),
'elementName' => 'environment_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'include' => array(
'content' => array(
'core' => array([maximum depth reached]),
'app' => array(
[maximum depth reached]
),
'plugins' => array(
[maximum depth reached]
),
'paths' => array(
[maximum depth reached]
)
),
'elementName' => 'include_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'clear_cache' => array(
'content' => array(
'folders' => array(
[maximum depth reached]
),
'engines' => array(
[maximum depth reached]
),
'groups' => array(
[maximum depth reached]
)
),
'elementName' => 'clear_cache_panel',
'plugin' => 'ClearCache',
'title' => 'Clear Cache',
'disableTimer' => true
)
)
$debugToolbarJavascript = array(
'libs' => 'DebugKit./js/js_debug_toolbar'
)
$debugToolbarCss = array(
(int) 0 => 'DebugKit./css/debug_toolbar.css'
)
$page = 'map'
$subpage = null
$title_for_layout = 'Map'
$content_for_layout = '
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91898b5-trace').style.display = (document.getElementById('cakeErr63d4fd91898b5-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: copertina [<b>APP/Controller/Component/UtilComponent.php</b>, line <b>68</b>]<div id="cakeErr63d4fd91898b5-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91898b5-code').style.display = (document.getElementById('cakeErr63d4fd91898b5-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91898b5-context').style.display = (document.getElementById('cakeErr63d4fd91898b5-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr63d4fd91898b5-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.name'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.slug'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'slug'</span><span style="color: #007700">]);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.copertina'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'copertina'</span><span style="color: #007700">]);</span></span></code></span></pre><pre id="cakeErr63d4fd91898b5-context" class="cake-context" style="display: none;">$destination = array(
'Destination' => array(
'id' => (int) 2,
'name' => 'Piemonte',
'slug' => 'piemonte'
)
)</pre><pre class="stack-trace">UtilComponent::destination_in_session() - APP/Controller/Component/UtilComponent.php, line 68
AppController::beforeFilter() - APP/Controller/AppController.php, line 132
PercorsiController::beforeFilter() - APP/Controller/PercorsiController.php, line 27
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 682
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
CakeObject::requestAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/CakeObject.php, line 104
include - APP/View/Pages/map.ctp, line 4
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 968
PagesController::display() - APP/Controller/PagesController.php, line 86
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167</pre></div></pre>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91ac999-trace').style.display = (document.getElementById('cakeErr63d4fd91ac999-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: copertina [<b>APP/Controller/Component/UtilComponent.php</b>, line <b>68</b>]<div id="cakeErr63d4fd91ac999-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91ac999-code').style.display = (document.getElementById('cakeErr63d4fd91ac999-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr63d4fd91ac999-context').style.display = (document.getElementById('cakeErr63d4fd91ac999-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr63d4fd91ac999-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.name'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.slug'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'slug'</span><span style="color: #007700">]);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Session</span><span style="color: #007700">-></span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Destination.copertina'</span><span style="color: #007700">,</span><span style="color: #0000BB">$destination</span><span style="color: #007700">[</span><span style="color: #DD0000">'Destination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'copertina'</span><span style="color: #007700">]);</span></span></code></span></pre><pre id="cakeErr63d4fd91ac999-context" class="cake-context" style="display: none;">$destination = array(
'Destination' => array(
'id' => (int) 2,
'name' => 'Piemonte',
'slug' => 'piemonte'
)
)</pre><pre class="stack-trace">UtilComponent::destination_in_session() - APP/Controller/Component/UtilComponent.php, line 68
AppController::beforeFilter() - APP/Controller/AppController.php, line 132
PoiController::beforeFilter() - APP/Controller/PoiController.php, line 22
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 682
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
CakeObject::requestAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/CakeObject.php, line 104
include - APP/View/Pages/map.ctp, line 8
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 968
PagesController::display() - APP/Controller/PagesController.php, line 86
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167</pre></div></pre>
<div id="map-container" class="row">
<div id="mappa-generale" class="col-md-12 h-100" tabindex="2">
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"></script>
<link rel="stylesheet" href="https://openlayers.org/en/v5.3.0/css/ol.css" type="text/css">
<script>
var edit= '';
var id= 'poi-map';
var stroke_width = '2';
var stroke_color = '#ff4400';
var center_lon = '7.466667';
var center_lat = '44.973333';
var center_format = '0';
var zoom = '14';
var webroot= 'webroot';
var translate_inizio_percorso= 'Inizio percorso';
var translate_fine_percorso= 'Fine percorso';
var path_source = [{"color":"#b99aff","id":"6","width":"3","kml":"\/piemonte\/percorsi\/kml\/6.kml","title":"Martinetto Levaldigi","codice":"MON2.6","slug":"martinetto-levaldigi"},{"color":"#cd74e6","id":"10","width":"3","kml":"\/piemonte\/percorsi\/kml\/10.kml","title":"Anello panoramico","codice":"MON5.2","slug":"anello-panoramico"},{"color":"#7bd148","id":"11","width":"3","kml":"\/piemonte\/percorsi\/kml\/11.kml","title":"L'Anello della Fortezza","codice":"MON5.1.A","slug":"lanello-della-fortezza"},{"color":"#16a765","id":"13","width":"3","kml":"\/piemonte\/percorsi\/kml\/13.kml","title":"L'Anello della Fortezza con deviazione per Les Ardoins","codice":"MON5.1.B","slug":"lanello-della-fortezza-con-deviazione-per-les-ardoins"},{"color":"#42d692","id":"14","width":"3","kml":"\/piemonte\/percorsi\/kml\/14.kml","title":"Le Gole del Guil","codice":"MON5.3","slug":"le-gole-del-guil"},{"color":"#7bd148","id":"15","width":"3","kml":"\/piemonte\/percorsi\/kml\/15.kml","title":"Lungo la Durance","codice":"MON5.4","slug":"lungo-la-durance"},{"color":"#42d692","id":"16","width":"3","kml":"\/piemonte\/percorsi\/kml\/16.kml","title":"Campasso","codice":"MON2.1","slug":"campasso"},{"color":"#9a9cff","id":"17","width":"3","kml":"\/piemonte\/percorsi\/kml\/17.kml","title":"Chios del Re","codice":"MON2.2","slug":"chios-del-re"},{"color":"#ff7537","id":"19","width":"3","kml":"\/piemonte\/percorsi\/kml\/19.kml","title":"Percorso dell'Apparizione","codice":"MON2.4","slug":"percorso-dellapparizione"},{"color":"#ffad46","id":"20","width":"3","kml":"\/piemonte\/percorsi\/kml\/20.kml","title":"Residenze signorili","codice":"MON2.5","slug":"residenze-signorili"},{"color":"#ff7537","id":"21","width":"3","kml":"\/piemonte\/percorsi\/kml\/21.kml","title":"I Poderi Reali","codice":"MON1.1","slug":"i-poderi-reali"},{"color":"#f83a22","id":"22","width":"3","kml":"\/piemonte\/percorsi\/kml\/22.kml","title":"Il Bosco del Merlino","codice":"MON1.2","slug":"il-bosco-del-merlino"},{"color":"#7bd148","id":"23","width":"3","kml":"\/piemonte\/percorsi\/kml\/23.kml","title":"Cyclomonviso","codice":"MON","slug":"cyclomonviso"},{"color":"#a47ae2","id":"25","width":"3","kml":"\/piemonte\/percorsi\/kml\/25.kml","title":"Saluzzo, nei due cuori della Citt\u00c3\u00a0","codice":"MON3.1","slug":"saluzzo-nei-due-cuori-della-citta"}];
var poi_points = null;
var categories = [];
var base_path = 'https://mappe.cyclomonviso.eu/ita'; //Necessario per gestire la lingua nei poi
//console.log(poi_points);console.log(categories);
</script>
<!--div containing the map-->
<div style="width:100%; height:; z-index:0" id="poi-map" class="map" tabindex="1">
<div id="popup" class="ol-popup">
<a href="#" id="popup-closer" class="ol-popup-closer"></a>
<div id="popup-content"></div>
</div>
</div>
<!--end of div containing the map-->
</div>
<!-- legenda -->
<div id="legenda" class="col-md-3 col-sm-3 col-md-offset-9 draggable">
<div class="panel panel-default col-md-12 " >
<div class="panel-heading">
<h4>Legenda <i class="fa fa-arrows-alt pull-right"></i></h4>
</div>
<div class="panel-body">
<div>
<span class="label label-default" style="background-color: #b99aff">MON2.6</span>
<a href="/ita/percorsi/view/martinetto-levaldigi">Martinetto Levaldigi</a>
</div>
<div>
<span class="label label-default" style="background-color: #cd74e6">MON5.2</span>
<a href="/ita/percorsi/view/anello-panoramico">Anello panoramico</a>
</div>
<div>
<span class="label label-default" style="background-color: #7bd148">MON5.1.A</span>
<a href="/ita/percorsi/view/lanello-della-fortezza">L'Anello della Fortezza</a>
</div>
<div>
<span class="label label-default" style="background-color: #16a765">MON5.1.B</span>
<a href="/ita/percorsi/view/lanello-della-fortezza-con-deviazione-per-les-ardoins">L'Anello della Fortezza con deviazione per Les Ardoins</a>
</div>
<div>
<span class="label label-default" style="background-color: #42d692">MON5.3</span>
<a href="/ita/percorsi/view/le-gole-del-guil">Le Gole del Guil</a>
</div>
<div>
<span class="label label-default" style="background-color: #7bd148">MON5.4</span>
<a href="/ita/percorsi/view/lungo-la-durance">Lungo la Durance</a>
</div>
<div>
<span class="label label-default" style="background-color: #42d692">MON2.1</span>
<a href="/ita/percorsi/view/campasso">Campasso</a>
</div>
<div>
<span class="label label-default" style="background-color: #9a9cff">MON2.2</span>
<a href="/ita/percorsi/view/chios-del-re">Chios del Re</a>
</div>
<div>
<span class="label label-default" style="background-color: #ff7537">MON2.4</span>
<a href="/ita/percorsi/view/percorso-dellapparizione">Percorso dell'Apparizione</a>
</div>
<div>
<span class="label label-default" style="background-color: #ffad46">MON2.5</span>
<a href="/ita/percorsi/view/residenze-signorili">Residenze signorili</a>
</div>
<div>
<span class="label label-default" style="background-color: #ff7537">MON1.1</span>
<a href="/ita/percorsi/view/i-poderi-reali">I Poderi Reali</a>
</div>
<div>
<span class="label label-default" style="background-color: #f83a22">MON1.2</span>
<a href="/ita/percorsi/view/il-bosco-del-merlino">Il Bosco del Merlino</a>
</div>
<div>
<span class="label label-default" style="background-color: #7bd148">MON</span>
<a href="/ita/percorsi/view/cyclomonviso">Cyclomonviso</a>
</div>
<div>
<span class="label label-default" style="background-color: #a47ae2">MON3.1</span>
<a href="/ita/percorsi/view/saluzzo-nei-due-cuori-della-citta">Saluzzo, nei due cuori della Città</a>
</div>
</div> <!-- panel body -->
<div class="panel-footer">
<p class="small">
© BikeSquare
</p>
</div>
</div> <!-- panel-->
</div> <!-- legenda -->
</div> <!-- map container -->
'
$scripts_for_layout = '<link rel="stylesheet" type="text/css" href="/css/map.css"/><script type="text/javascript" src="/js/dist/map.2.js"></script><script type="text/javascript" src="/js/node_modules/jquery-ui-dist/jquery-ui.min.js"></script><script type="text/javascript">
//<![CDATA[
$( function() {
$( ".draggable" ).draggable();
} );
//]]>
</script>'
$loggedUser = null include - APP/View/Layouts/default.ctp, line 72
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 968
PagesController::display() - APP/Controller/PagesController.php, line 86
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 114
Notice (8) : Undefined index: copertina [APP/Controller/Component/UtilComponent.php , line 68 ]Code Context $this -> Session -> write ( 'Destination.name' , $destination [ 'Destination' ][ 'name' ]);
$this -> Session -> write ( 'Destination.slug' , $destination [ 'Destination' ][ 'slug' ]);
$this -> Session -> write ( 'Destination.copertina' , $destination [ 'Destination' ][ 'copertina' ]);
$destination = array(
'Destination' => array(
'id' => (int) 2,
'name' => 'Piemonte',
'slug' => 'piemonte'
)
) UtilComponent::destination_in_session() - APP/Controller/Component/UtilComponent.php, line 68
AppController::beforeFilter() - APP/Controller/AppController.php, line 132
PercorsiController::beforeFilter() - APP/Controller/PercorsiController.php, line 27
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 682
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
CakeObject::requestAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/CakeObject.php, line 104
include - APP/View/Pages/map.ctp, line 4
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 968
PagesController::display() - APP/Controller/PagesController.php, line 86
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
Notice (8) : Undefined index: copertina [APP/Controller/Component/UtilComponent.php , line 68 ]Code Context $this -> Session -> write ( 'Destination.name' , $destination [ 'Destination' ][ 'name' ]);
$this -> Session -> write ( 'Destination.slug' , $destination [ 'Destination' ][ 'slug' ]);
$this -> Session -> write ( 'Destination.copertina' , $destination [ 'Destination' ][ 'copertina' ]);
$destination = array(
'Destination' => array(
'id' => (int) 2,
'name' => 'Piemonte',
'slug' => 'piemonte'
)
) UtilComponent::destination_in_session() - APP/Controller/Component/UtilComponent.php, line 68
AppController::beforeFilter() - APP/Controller/AppController.php, line 132
PoiController::beforeFilter() - APP/Controller/PoiController.php, line 22
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 682
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
CakeObject::requestAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/CakeObject.php, line 104
include - APP/View/Pages/map.ctp, line 8
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 968
PagesController::display() - APP/Controller/PagesController.php, line 86
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167