école primaire
Saint-Yrieix-la-Perche : 4 établissements
Warning (2): simplexml_load_file(https://news.google.com/rss/search?q=Saint-Yrieix-la-Perche+after:2023-01-01&ceid=FR:fr&hl=fr&gl=FR): failed to open stream: HTTP request failed! HTTP/1.0 503 Service Unavailable [APP/Controller/VillesController.php, line 150]Code Context
// $xml = simplexml_load_file('https://news.google.com/rss/search?hl=fr&gl=FR&ceid=FR%3Afr&oc=11&q=%22'.$maRecherche.'%22+after:2023-02-01');
$xml = simplexml_load_file('https://news.google.com/rss/search?q='.$maRecherche.'+after:2023-01-01&ceid=FR:fr&hl=fr&gl=FR');
$ville = 'st-yrieix-la-perche' $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '34491', 'dep' => '87', 'slug' => 'st-yrieix-la-perche', 'nom' => 'Saint-Yrieix-la-Perche', 'cp' => '87500', 'commune' => '187', 'code_commune' => '87187', 'arrondissement' => '2', 'canton' => '29', 'amdi' => '5', 'population' => '7000', 'surface' => '10098', 'ski' => false, 'lng' => '1.2', 'lat' => '45.5167', 'departement_id' => '88', 'created' => null, 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '87', 'nom' => 'Haute-Vienne', 'slug' => 'haute-vienne' ) ), 'sujets' => array(), 'news' => array(), 'scolaires' => array( (int) 0 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 1 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 2 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ) ), 'structures' => array( (int) 0 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 1 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 2 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 3 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 4 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 5 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 6 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 7 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 8 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 9 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 10 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 11 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 12 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 13 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 14 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 15 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ) ), 'publications' => array( (int) 0 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 1 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 2 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 3 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 4 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ) ), 'data' => array( (int) 0 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 1 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 2 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 3 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 4 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ) ), 'voisines' => array( (int) 0 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 1 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 2 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 3 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 4 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ) ), 'title' => '<b class="text-primary">Portail Famille Saint-Yrieix-la-Perche (87)</b> : adresses locales et discussions', 'ville' => 'Saint-Yrieix-la-Perche', 'urlCat' => 'ville/st-yrieix-la-perche', 'baliseTitle' => 'Portail Famille Saint-Yrieix-la-Perche (87) : adresses locales et discussions', 'current_page' => 'ville' ) $joinsSco = array( (int) 0 => array( 'table' => 'scolaires', 'alias' => 'Scolaire', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Scolaire.liste_id = Liste.id' ) ), (int) 1 => array( 'table' => 'villes', 'alias' => 'Ville', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Scolaire.codeInsee = Ville.code_commune' ) ) ) $joinsStruc = array( (int) 0 => array( 'table' => 'structures', 'alias' => 'Structure', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Structure.liste_id = Liste.id' ) ), (int) 1 => array( 'table' => 'villes', 'alias' => 'Ville', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Structure.codeInsee = Ville.code_commune' ) ) ) $conditions = 'Ville.slug="st-yrieix-la-perche"' $lat = '45.5167' $lng = '1.2' $sql_distance = '(((acos(sin((45.5167*pi()/180)) * sin((Ville.lat*pi()/180))+cos((45.5167*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((1.2- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $maRecherche = 'Saint-Yrieix-la-Perche' $http_response_header = array( (int) 0 => 'HTTP/1.0 503 Service Unavailable', (int) 1 => 'Content-Length: 1103', (int) 2 => 'Content-Type: text/html; charset=UTF-8', (int) 3 => 'Date: Mon, 28 Apr 2025 17:44:27 GMT', (int) 4 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000' )simplexml_load_file - [internal], line ?? VillesController::index() - APP/Controller/VillesController.php, line 150 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 117
Warning (2): simplexml_load_file() [<a href='http://php.net/function.simplexml-load-file'>function.simplexml-load-file</a>]: I/O warning : failed to load external entity "https://news.google.com/rss/search?q=Saint-Yrieix-la-Perche+after:2023-01-01&ceid=FR:fr&hl=fr&gl=FR" [APP/Controller/VillesController.php, line 150]Code Context
// $xml = simplexml_load_file('https://news.google.com/rss/search?hl=fr&gl=FR&ceid=FR%3Afr&oc=11&q=%22'.$maRecherche.'%22+after:2023-02-01');
$xml = simplexml_load_file('https://news.google.com/rss/search?q='.$maRecherche.'+after:2023-01-01&ceid=FR:fr&hl=fr&gl=FR');
$ville = 'st-yrieix-la-perche' $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '34491', 'dep' => '87', 'slug' => 'st-yrieix-la-perche', 'nom' => 'Saint-Yrieix-la-Perche', 'cp' => '87500', 'commune' => '187', 'code_commune' => '87187', 'arrondissement' => '2', 'canton' => '29', 'amdi' => '5', 'population' => '7000', 'surface' => '10098', 'ski' => false, 'lng' => '1.2', 'lat' => '45.5167', 'departement_id' => '88', 'created' => null, 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '87', 'nom' => 'Haute-Vienne', 'slug' => 'haute-vienne' ) ), 'sujets' => array(), 'news' => array(), 'scolaires' => array( (int) 0 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 1 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 2 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ) ), 'structures' => array( (int) 0 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 1 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 2 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 3 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 4 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 5 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 6 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 7 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 8 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 9 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 10 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 11 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 12 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 13 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 14 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 15 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ) ), 'publications' => array( (int) 0 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 1 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 2 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 3 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 4 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ) ), 'data' => array( (int) 0 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 1 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 2 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 3 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 4 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ) ), 'voisines' => array( (int) 0 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 1 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 2 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 3 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 4 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ) ), 'title' => '<b class="text-primary">Portail Famille Saint-Yrieix-la-Perche (87)</b> : adresses locales et discussions', 'ville' => 'Saint-Yrieix-la-Perche', 'urlCat' => 'ville/st-yrieix-la-perche', 'baliseTitle' => 'Portail Famille Saint-Yrieix-la-Perche (87) : adresses locales et discussions', 'current_page' => 'ville' ) $joinsSco = array( (int) 0 => array( 'table' => 'scolaires', 'alias' => 'Scolaire', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Scolaire.liste_id = Liste.id' ) ), (int) 1 => array( 'table' => 'villes', 'alias' => 'Ville', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Scolaire.codeInsee = Ville.code_commune' ) ) ) $joinsStruc = array( (int) 0 => array( 'table' => 'structures', 'alias' => 'Structure', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Structure.liste_id = Liste.id' ) ), (int) 1 => array( 'table' => 'villes', 'alias' => 'Ville', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Structure.codeInsee = Ville.code_commune' ) ) ) $conditions = 'Ville.slug="st-yrieix-la-perche"' $lat = '45.5167' $lng = '1.2' $sql_distance = '(((acos(sin((45.5167*pi()/180)) * sin((Ville.lat*pi()/180))+cos((45.5167*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((1.2- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $maRecherche = 'Saint-Yrieix-la-Perche' $http_response_header = array( (int) 0 => 'HTTP/1.0 503 Service Unavailable', (int) 1 => 'Content-Length: 1103', (int) 2 => 'Content-Type: text/html; charset=UTF-8', (int) 3 => 'Date: Mon, 28 Apr 2025 17:44:27 GMT', (int) 4 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000' )simplexml_load_file - [internal], line ?? VillesController::index() - APP/Controller/VillesController.php, line 150 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 117
Notice (8): Trying to get property 'channel' of non-object [APP/Controller/VillesController.php, line 153]Code Context$i = 1;
$d['infos'] = array();
foreach ($xml->channel->item as $item):
$ville = 'st-yrieix-la-perche' $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '34491', 'dep' => '87', 'slug' => 'st-yrieix-la-perche', 'nom' => 'Saint-Yrieix-la-Perche', 'cp' => '87500', 'commune' => '187', 'code_commune' => '87187', 'arrondissement' => '2', 'canton' => '29', 'amdi' => '5', 'population' => '7000', 'surface' => '10098', 'ski' => false, 'lng' => '1.2', 'lat' => '45.5167', 'departement_id' => '88', 'created' => null, 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '87', 'nom' => 'Haute-Vienne', 'slug' => 'haute-vienne' ) ), 'sujets' => array(), 'news' => array(), 'scolaires' => array( (int) 0 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 1 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 2 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ) ), 'structures' => array( (int) 0 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 1 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 2 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 3 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 4 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 5 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 6 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 7 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 8 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 9 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 10 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 11 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 12 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 13 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 14 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 15 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ) ), 'publications' => array( (int) 0 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 1 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 2 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 3 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 4 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ) ), 'data' => array( (int) 0 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 1 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 2 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 3 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 4 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ) ), 'voisines' => array( (int) 0 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 1 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 2 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 3 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 4 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ) ), 'title' => '<b class="text-primary">Portail Famille Saint-Yrieix-la-Perche (87)</b> : adresses locales et discussions', 'ville' => 'Saint-Yrieix-la-Perche', 'urlCat' => 'ville/st-yrieix-la-perche', 'baliseTitle' => 'Portail Famille Saint-Yrieix-la-Perche (87) : adresses locales et discussions', 'current_page' => 'ville', 'infos' => array() ) $joinsSco = array( (int) 0 => array( 'table' => 'scolaires', 'alias' => 'Scolaire', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Scolaire.liste_id = Liste.id' ) ), (int) 1 => array( 'table' => 'villes', 'alias' => 'Ville', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Scolaire.codeInsee = Ville.code_commune' ) ) ) $joinsStruc = array( (int) 0 => array( 'table' => 'structures', 'alias' => 'Structure', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Structure.liste_id = Liste.id' ) ), (int) 1 => array( 'table' => 'villes', 'alias' => 'Ville', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Structure.codeInsee = Ville.code_commune' ) ) ) $conditions = 'Ville.slug="st-yrieix-la-perche"' $lat = '45.5167' $lng = '1.2' $sql_distance = '(((acos(sin((45.5167*pi()/180)) * sin((Ville.lat*pi()/180))+cos((45.5167*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((1.2- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $maRecherche = 'Saint-Yrieix-la-Perche' $xml = false $i = (int) 1 $http_response_header = array( (int) 0 => 'HTTP/1.0 503 Service Unavailable', (int) 1 => 'Content-Length: 1103', (int) 2 => 'Content-Type: text/html; charset=UTF-8', (int) 3 => 'Date: Mon, 28 Apr 2025 17:44:27 GMT', (int) 4 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000' )VillesController::index() - APP/Controller/VillesController.php, line 153 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 117
Notice (8): Trying to get property 'item' of non-object [APP/Controller/VillesController.php, line 153]Code Context$i = 1;
$d['infos'] = array();
foreach ($xml->channel->item as $item):
$ville = 'st-yrieix-la-perche' $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '34491', 'dep' => '87', 'slug' => 'st-yrieix-la-perche', 'nom' => 'Saint-Yrieix-la-Perche', 'cp' => '87500', 'commune' => '187', 'code_commune' => '87187', 'arrondissement' => '2', 'canton' => '29', 'amdi' => '5', 'population' => '7000', 'surface' => '10098', 'ski' => false, 'lng' => '1.2', 'lat' => '45.5167', 'departement_id' => '88', 'created' => null, 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '87', 'nom' => 'Haute-Vienne', 'slug' => 'haute-vienne' ) ), 'sujets' => array(), 'news' => array(), 'scolaires' => array( (int) 0 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 1 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 2 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ) ), 'structures' => array( (int) 0 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 1 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 2 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 3 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 4 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 5 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 6 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 7 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 8 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 9 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 10 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 11 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 12 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 13 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 14 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 15 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ) ), 'publications' => array( (int) 0 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 1 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 2 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 3 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 4 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ) ), 'data' => array( (int) 0 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 1 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 2 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 3 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 4 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ) ), 'voisines' => array( (int) 0 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 1 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 2 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 3 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 4 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ) ), 'title' => '<b class="text-primary">Portail Famille Saint-Yrieix-la-Perche (87)</b> : adresses locales et discussions', 'ville' => 'Saint-Yrieix-la-Perche', 'urlCat' => 'ville/st-yrieix-la-perche', 'baliseTitle' => 'Portail Famille Saint-Yrieix-la-Perche (87) : adresses locales et discussions', 'current_page' => 'ville', 'infos' => array() ) $joinsSco = array( (int) 0 => array( 'table' => 'scolaires', 'alias' => 'Scolaire', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Scolaire.liste_id = Liste.id' ) ), (int) 1 => array( 'table' => 'villes', 'alias' => 'Ville', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Scolaire.codeInsee = Ville.code_commune' ) ) ) $joinsStruc = array( (int) 0 => array( 'table' => 'structures', 'alias' => 'Structure', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Structure.liste_id = Liste.id' ) ), (int) 1 => array( 'table' => 'villes', 'alias' => 'Ville', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Structure.codeInsee = Ville.code_commune' ) ) ) $conditions = 'Ville.slug="st-yrieix-la-perche"' $lat = '45.5167' $lng = '1.2' $sql_distance = '(((acos(sin((45.5167*pi()/180)) * sin((Ville.lat*pi()/180))+cos((45.5167*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((1.2- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $maRecherche = 'Saint-Yrieix-la-Perche' $xml = false $i = (int) 1 $http_response_header = array( (int) 0 => 'HTTP/1.0 503 Service Unavailable', (int) 1 => 'Content-Length: 1103', (int) 2 => 'Content-Type: text/html; charset=UTF-8', (int) 3 => 'Date: Mon, 28 Apr 2025 17:44:27 GMT', (int) 4 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000' )VillesController::index() - APP/Controller/VillesController.php, line 153 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 117
Warning (2): Invalid argument supplied for foreach() [APP/Controller/VillesController.php, line 153]Code Context$i = 1;
$d['infos'] = array();
foreach ($xml->channel->item as $item):
$ville = 'st-yrieix-la-perche' $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '34491', 'dep' => '87', 'slug' => 'st-yrieix-la-perche', 'nom' => 'Saint-Yrieix-la-Perche', 'cp' => '87500', 'commune' => '187', 'code_commune' => '87187', 'arrondissement' => '2', 'canton' => '29', 'amdi' => '5', 'population' => '7000', 'surface' => '10098', 'ski' => false, 'lng' => '1.2', 'lat' => '45.5167', 'departement_id' => '88', 'created' => null, 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '87', 'nom' => 'Haute-Vienne', 'slug' => 'haute-vienne' ) ), 'sujets' => array(), 'news' => array(), 'scolaires' => array( (int) 0 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 1 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 2 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ) ), 'structures' => array( (int) 0 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 1 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 2 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 3 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 4 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 5 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 6 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 7 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 8 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 9 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 10 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 11 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 12 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 13 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 14 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ), (int) 15 => array( 'Liste' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ) ) ), 'publications' => array( (int) 0 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 1 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 2 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 3 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ), (int) 4 => array( 'Publication' => array( [maximum depth reached] ), 'Categorie' => array( [maximum depth reached] ) ) ), 'data' => array( (int) 0 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 1 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 2 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 3 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ), (int) 4 => array( 'Etablissement' => array( [maximum depth reached] ), 'Ville' => array( [maximum depth reached] ), 'Agregat' => array( [maximum depth reached] ) ) ), 'voisines' => array( (int) 0 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 1 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 2 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 3 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ), (int) 4 => array( 'Ville' => array( [maximum depth reached] ), (int) 0 => array( [maximum depth reached] ) ) ), 'title' => '<b class="text-primary">Portail Famille Saint-Yrieix-la-Perche (87)</b> : adresses locales et discussions', 'ville' => 'Saint-Yrieix-la-Perche', 'urlCat' => 'ville/st-yrieix-la-perche', 'baliseTitle' => 'Portail Famille Saint-Yrieix-la-Perche (87) : adresses locales et discussions', 'current_page' => 'ville', 'infos' => array() ) $joinsSco = array( (int) 0 => array( 'table' => 'scolaires', 'alias' => 'Scolaire', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Scolaire.liste_id = Liste.id' ) ), (int) 1 => array( 'table' => 'villes', 'alias' => 'Ville', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Scolaire.codeInsee = Ville.code_commune' ) ) ) $joinsStruc = array( (int) 0 => array( 'table' => 'structures', 'alias' => 'Structure', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Structure.liste_id = Liste.id' ) ), (int) 1 => array( 'table' => 'villes', 'alias' => 'Ville', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Structure.codeInsee = Ville.code_commune' ) ) ) $conditions = 'Ville.slug="st-yrieix-la-perche"' $lat = '45.5167' $lng = '1.2' $sql_distance = '(((acos(sin((45.5167*pi()/180)) * sin((Ville.lat*pi()/180))+cos((45.5167*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((1.2- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $maRecherche = 'Saint-Yrieix-la-Perche' $xml = false $i = (int) 1 $http_response_header = array( (int) 0 => 'HTTP/1.0 503 Service Unavailable', (int) 1 => 'Content-Length: 1103', (int) 2 => 'Content-Type: text/html; charset=UTF-8', (int) 3 => 'Date: Mon, 28 Apr 2025 17:44:27 GMT', (int) 4 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000' )VillesController::index() - APP/Controller/VillesController.php, line 153 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 117
Warning (2): Cannot modify header information - headers already sent by (output started at /home/lepetitbz/portailfamille.org/lib/Cake/Utility/Debugger.php:797) [CORE/Cake/Network/CakeResponse.php, line 458]Code Contextsetcookie(
$name, $c['value'], $c['expire'], $c['path'],
$c['domain'], $c['secure'], $c['httpOnly']
$c = array( 'name' => 'CakeCookie[autologin]', 'value' => '', 'expire' => (int) 1745820261, 'path' => '/', 'domain' => '', 'secure' => false, 'httpOnly' => false ) $name = 'CakeCookie[autologin]'setcookie - [internal], line ?? CakeResponse::_setCookies() - CORE/Cake/Network/CakeResponse.php, line 458 CakeResponse::send() - CORE/Cake/Network/CakeResponse.php, line 429 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 174 [main] - APP/webroot/index.php, line 117
Avec la création du portail famille Saint-Yrieix-la-Perche comme nous l'avons imaginé, les habitants ont accès aux informations locales et familiales d'un seul clic. Établissements scolaires, structures de la santé et du social, structures publiques (mairie, déchèterie à proximité...) forment un répertoire utile des adresses locales. Afin de faciliter l'échange des familles de Saint-Yrieix-la-Perche, un espace de discussion ouvrira dans les prochaines semaines si le projet séduit.
Saint-Yrieix-la-Perche : 4 établissements
Saint-Yrieix-la-Perche : 2 établissements
Saint-Yrieix-la-Perche : 3 établissements
Saint-Yrieix-la-Perche : 1 établissement
Saint-Yrieix-la-Perche : 2 établissements
Saint-Yrieix-la-Perche : 1 établissement
Saint-Yrieix-la-Perche : 2 établissements
Saint-Yrieix-la-Perche : 1 établissement
Saint-Yrieix-la-Perche : 1 établissement
Saint-Yrieix-la-Perche : 1 établissement
Saint-Yrieix-la-Perche : 1 établissement
Saint-Yrieix-la-Perche : 1 établissement
Saint-Yrieix-la-Perche : 1 établissement
Saint-Yrieix-la-Perche : 1 établissement
Saint-Yrieix-la-Perche : 2 établissements
Saint-Yrieix-la-Perche : 3 établissements
Saint-Yrieix-la-Perche : 1 établissement
Saint-Yrieix-la-Perche : 1 établissement
Saint-Yrieix-la-Perche : 1 établissement