Warning (2) : simplexml_load_file(https://news.google.com/rss/search?q=Le%20Vigan+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 = 'vigan-30'
$d = array(
'dataVille' => array(
'Ville' => array(
'id' => '11316',
'dep' => '30',
'slug' => 'vigan-30',
'nom' => 'Le Vigan',
'cp' => '30120',
'commune' => '350',
'code_commune' => '30350',
'arrondissement' => '3',
'canton' => '39',
'amdi' => '4',
'population' => '4000',
'surface' => '1724',
'ski' => false,
'lng' => '3.6',
'lat' => '43.9833',
'departement_id' => '31',
'created' => null,
'descriptif' => '',
'img' => ''
),
'Departement' => array(
'code' => '30',
'nom' => 'Gard',
'slug' => 'gard'
)
),
'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]
)
),
(int) 16 => array(
'Liste' => array(
[maximum depth reached]
),
'Ville' => array(
[maximum depth reached]
)
),
(int) 17 => 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]
)
)
),
'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 Le Vigan (30)</b> : adresses locales et discussions',
'ville' => 'Le Vigan',
'urlCat' => 'ville/vigan-30',
'baliseTitle' => 'Portail Famille Le Vigan (30) : 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="vigan-30" AND Agregat.id = 7'
$lat = '43.9833'
$lng = '3.6'
$sql_distance = '(((acos(sin((43.9833*pi()/180)) * sin((Ville.lat*pi()/180))+cos((43.9833*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((3.6- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance'
$maRecherche = 'Le%20Vigan'
$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 18:00:31 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=Le%20Vigan+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 = 'vigan-30'
$d = array(
'dataVille' => array(
'Ville' => array(
'id' => '11316',
'dep' => '30',
'slug' => 'vigan-30',
'nom' => 'Le Vigan',
'cp' => '30120',
'commune' => '350',
'code_commune' => '30350',
'arrondissement' => '3',
'canton' => '39',
'amdi' => '4',
'population' => '4000',
'surface' => '1724',
'ski' => false,
'lng' => '3.6',
'lat' => '43.9833',
'departement_id' => '31',
'created' => null,
'descriptif' => '',
'img' => ''
),
'Departement' => array(
'code' => '30',
'nom' => 'Gard',
'slug' => 'gard'
)
),
'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]
)
),
(int) 16 => array(
'Liste' => array(
[maximum depth reached]
),
'Ville' => array(
[maximum depth reached]
)
),
(int) 17 => 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]
)
)
),
'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 Le Vigan (30)</b> : adresses locales et discussions',
'ville' => 'Le Vigan',
'urlCat' => 'ville/vigan-30',
'baliseTitle' => 'Portail Famille Le Vigan (30) : 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="vigan-30" AND Agregat.id = 7'
$lat = '43.9833'
$lng = '3.6'
$sql_distance = '(((acos(sin((43.9833*pi()/180)) * sin((Ville.lat*pi()/180))+cos((43.9833*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((3.6- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance'
$maRecherche = 'Le%20Vigan'
$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 18:00:31 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 = 'vigan-30'
$d = array(
'dataVille' => array(
'Ville' => array(
'id' => '11316',
'dep' => '30',
'slug' => 'vigan-30',
'nom' => 'Le Vigan',
'cp' => '30120',
'commune' => '350',
'code_commune' => '30350',
'arrondissement' => '3',
'canton' => '39',
'amdi' => '4',
'population' => '4000',
'surface' => '1724',
'ski' => false,
'lng' => '3.6',
'lat' => '43.9833',
'departement_id' => '31',
'created' => null,
'descriptif' => '',
'img' => ''
),
'Departement' => array(
'code' => '30',
'nom' => 'Gard',
'slug' => 'gard'
)
),
'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]
)
),
(int) 16 => array(
'Liste' => array(
[maximum depth reached]
),
'Ville' => array(
[maximum depth reached]
)
),
(int) 17 => 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]
)
)
),
'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 Le Vigan (30)</b> : adresses locales et discussions',
'ville' => 'Le Vigan',
'urlCat' => 'ville/vigan-30',
'baliseTitle' => 'Portail Famille Le Vigan (30) : 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="vigan-30" AND Agregat.id = 7'
$lat = '43.9833'
$lng = '3.6'
$sql_distance = '(((acos(sin((43.9833*pi()/180)) * sin((Ville.lat*pi()/180))+cos((43.9833*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((3.6- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance'
$maRecherche = 'Le%20Vigan'
$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 18:00:31 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 = 'vigan-30'
$d = array(
'dataVille' => array(
'Ville' => array(
'id' => '11316',
'dep' => '30',
'slug' => 'vigan-30',
'nom' => 'Le Vigan',
'cp' => '30120',
'commune' => '350',
'code_commune' => '30350',
'arrondissement' => '3',
'canton' => '39',
'amdi' => '4',
'population' => '4000',
'surface' => '1724',
'ski' => false,
'lng' => '3.6',
'lat' => '43.9833',
'departement_id' => '31',
'created' => null,
'descriptif' => '',
'img' => ''
),
'Departement' => array(
'code' => '30',
'nom' => 'Gard',
'slug' => 'gard'
)
),
'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]
)
),
(int) 16 => array(
'Liste' => array(
[maximum depth reached]
),
'Ville' => array(
[maximum depth reached]
)
),
(int) 17 => 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]
)
)
),
'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 Le Vigan (30)</b> : adresses locales et discussions',
'ville' => 'Le Vigan',
'urlCat' => 'ville/vigan-30',
'baliseTitle' => 'Portail Famille Le Vigan (30) : 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="vigan-30" AND Agregat.id = 7'
$lat = '43.9833'
$lng = '3.6'
$sql_distance = '(((acos(sin((43.9833*pi()/180)) * sin((Ville.lat*pi()/180))+cos((43.9833*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((3.6- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance'
$maRecherche = 'Le%20Vigan'
$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 18:00:31 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 = 'vigan-30'
$d = array(
'dataVille' => array(
'Ville' => array(
'id' => '11316',
'dep' => '30',
'slug' => 'vigan-30',
'nom' => 'Le Vigan',
'cp' => '30120',
'commune' => '350',
'code_commune' => '30350',
'arrondissement' => '3',
'canton' => '39',
'amdi' => '4',
'population' => '4000',
'surface' => '1724',
'ski' => false,
'lng' => '3.6',
'lat' => '43.9833',
'departement_id' => '31',
'created' => null,
'descriptif' => '',
'img' => ''
),
'Departement' => array(
'code' => '30',
'nom' => 'Gard',
'slug' => 'gard'
)
),
'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]
)
),
(int) 16 => array(
'Liste' => array(
[maximum depth reached]
),
'Ville' => array(
[maximum depth reached]
)
),
(int) 17 => 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]
)
)
),
'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 Le Vigan (30)</b> : adresses locales et discussions',
'ville' => 'Le Vigan',
'urlCat' => 'ville/vigan-30',
'baliseTitle' => 'Portail Famille Le Vigan (30) : 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="vigan-30" AND Agregat.id = 7'
$lat = '43.9833'
$lng = '3.6'
$sql_distance = '(((acos(sin((43.9833*pi()/180)) * sin((Ville.lat*pi()/180))+cos((43.9833*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((3.6- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance'
$maRecherche = 'Le%20Vigan'
$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 18:00:31 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 Context setcookie (
$name , $c [ 'value' ], $c [ 'expire' ], $c [ 'path' ],
$c [ 'domain' ], $c [ 'secure' ], $c [ 'httpOnly' ]
$c = array(
'name' => 'CakeCookie[autologin]',
'value' => '',
'expire' => (int) 1745821223,
'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
Portail Famille Le Vigan (30) : adresses locales et discussions
Portail Famille Le Vigan (30) : adresses locales et discussions
Avec la création du portail famille Le Vigan 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 Le Vigan, un espace de discussion ouvrira dans les prochaines semaines si le projet séduit.
Actualité
Avis
Forum / Entraide
Vide-dressing / Vinted
🏫 Portail scolaire Le Vigan
⚕️ Portail Santé & Social Le Vigan
Lieux d'intérêts à Le Vigan (tourisme, parcs,...)
Musée Cévenol
30120 Le Vigan
Parc
Office de Tourisme Cévennes & Navacelles
30120 Le Vigan
Parc