école primaire
Petit-Bourg : 15 établissements
Warning (2): simplexml_load_file(): https://news.google.com/rss/search?q=Petit-Bourg+after:2023-01-01&ceid=FR:fr&hl=fr&gl=FR:1: parser error : Char 0x0 out of allowed range [APP/Controller/VillesController.php, line 137]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 = 'petit-bourg' $joins = array( (int) 0 => array( 'table' => 'departements', 'alias' => 'Departement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Ville.departement_id = Departement.id' ) ) ) $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '36794', 'dep' => '97', 'slug' => 'petit-bourg', 'nom' => 'Petit-Bourg', 'cp' => '97170', 'commune' => '', 'code_commune' => '97118', 'arrondissement' => '0', 'canton' => '', 'amdi' => '0', 'population' => '0', 'surface' => '0', 'ski' => false, 'lng' => '45.0534', 'lat' => '-0.579948', 'departement_id' => '98', 'created' => '0000-00-00 00:00:00', 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '971', 'nom' => 'Guadeloupe', 'slug' => 'guadeloupe' ) ), '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(), '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] ) ) ), 'title' => '<b class="text-primary">Portail Famille Petit-Bourg (971)</b> : adresses locales et discussions', 'ville' => 'Petit-Bourg', 'urlCat' => 'ville/petit-bourg', 'baliseTitle' => 'Portail Famille Petit-Bourg (971) : 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="petit-bourg"' $lat = '-0.579948' $lng = '45.0534' $sql_distance = '(((acos(sin((-0.579948*pi()/180)) * sin((Ville.lat*pi()/180))+cos((-0.579948*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((45.0534- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $joinsSim = array( (int) 0 => array( 'table' => 'etablissements', 'alias' => 'Etablissement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Etablissement.ville_id = Ville.id' ) ) ) $maRecherche = 'Petit-Bourg' $http_response_header = array( (int) 0 => 'HTTP/1.0 200 OK', (int) 1 => 'Content-Type: application/xml; charset=utf-8', (int) 2 => 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate', (int) 3 => 'Pragma: no-cache', (int) 4 => 'Expires: Mon, 01 Jan 1990 00:00:00 GMT', (int) 5 => 'Date: Mon, 02 Oct 2023 08:45:03 GMT', (int) 6 => 'Strict-Transport-Security: max-age=31536000', (int) 7 => 'Content-Security-Policy: script-src 'report-sample' 'nonce-WRoNQD8YaNsxzP2hGJGLVA' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/DotsSplashUi/cspreport;worker-src 'self'', (int) 8 => 'Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/DotsSplashUi/cspreport', (int) 9 => 'Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factor, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version', (int) 10 => 'Cross-Origin-Opener-Policy: same-origin-allow-popups', (int) 11 => 'Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factor=*, ch-ua-platform=*, ch-ua-platform-version=*', (int) 12 => 'Cross-Origin-Resource-Policy: same-site', (int) 13 => 'Server: ESF', (int) 14 => 'X-XSS-Protection: 0', (int) 15 => 'X-Frame-Options: SAMEORIGIN', (int) 16 => 'X-Content-Type-Options: nosniff', (int) 17 => 'Set-Cookie: CONSENT=PENDING+051; expires=Wed, 01-Oct-2025 08:45:02 GMT; path=/; domain=.google.com; Secure', (int) 18 => 'P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."', (int) 19 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', (int) 20 => 'Accept-Ranges: none', (int) 21 => 'Vary: Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site,Accept-Encoding' )simplexml_load_file - [internal], line ?? VillesController::index() - APP/Controller/VillesController.php, line 137 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.FM</source></item><item><title>Martinique, Guadeloupe, Guyane : le point sur l [APP/Controller/VillesController.php, line 137]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 = 'petit-bourg' $joins = array( (int) 0 => array( 'table' => 'departements', 'alias' => 'Departement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Ville.departement_id = Departement.id' ) ) ) $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '36794', 'dep' => '97', 'slug' => 'petit-bourg', 'nom' => 'Petit-Bourg', 'cp' => '97170', 'commune' => '', 'code_commune' => '97118', 'arrondissement' => '0', 'canton' => '', 'amdi' => '0', 'population' => '0', 'surface' => '0', 'ski' => false, 'lng' => '45.0534', 'lat' => '-0.579948', 'departement_id' => '98', 'created' => '0000-00-00 00:00:00', 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '971', 'nom' => 'Guadeloupe', 'slug' => 'guadeloupe' ) ), '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(), '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] ) ) ), 'title' => '<b class="text-primary">Portail Famille Petit-Bourg (971)</b> : adresses locales et discussions', 'ville' => 'Petit-Bourg', 'urlCat' => 'ville/petit-bourg', 'baliseTitle' => 'Portail Famille Petit-Bourg (971) : 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="petit-bourg"' $lat = '-0.579948' $lng = '45.0534' $sql_distance = '(((acos(sin((-0.579948*pi()/180)) * sin((Ville.lat*pi()/180))+cos((-0.579948*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((45.0534- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $joinsSim = array( (int) 0 => array( 'table' => 'etablissements', 'alias' => 'Etablissement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Etablissement.ville_id = Ville.id' ) ) ) $maRecherche = 'Petit-Bourg' $http_response_header = array( (int) 0 => 'HTTP/1.0 200 OK', (int) 1 => 'Content-Type: application/xml; charset=utf-8', (int) 2 => 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate', (int) 3 => 'Pragma: no-cache', (int) 4 => 'Expires: Mon, 01 Jan 1990 00:00:00 GMT', (int) 5 => 'Date: Mon, 02 Oct 2023 08:45:03 GMT', (int) 6 => 'Strict-Transport-Security: max-age=31536000', (int) 7 => 'Content-Security-Policy: script-src 'report-sample' 'nonce-WRoNQD8YaNsxzP2hGJGLVA' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/DotsSplashUi/cspreport;worker-src 'self'', (int) 8 => 'Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/DotsSplashUi/cspreport', (int) 9 => 'Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factor, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version', (int) 10 => 'Cross-Origin-Opener-Policy: same-origin-allow-popups', (int) 11 => 'Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factor=*, ch-ua-platform=*, ch-ua-platform-version=*', (int) 12 => 'Cross-Origin-Resource-Policy: same-site', (int) 13 => 'Server: ESF', (int) 14 => 'X-XSS-Protection: 0', (int) 15 => 'X-Frame-Options: SAMEORIGIN', (int) 16 => 'X-Content-Type-Options: nosniff', (int) 17 => 'Set-Cookie: CONSENT=PENDING+051; expires=Wed, 01-Oct-2025 08:45:02 GMT; path=/; domain=.google.com; Secure', (int) 18 => 'P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."', (int) 19 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', (int) 20 => 'Accept-Ranges: none', (int) 21 => 'Vary: Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site,Accept-Encoding' )simplexml_load_file - [internal], line ?? VillesController::index() - APP/Controller/VillesController.php, line 137 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>]: ^ [APP/Controller/VillesController.php, line 137]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 = 'petit-bourg' $joins = array( (int) 0 => array( 'table' => 'departements', 'alias' => 'Departement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Ville.departement_id = Departement.id' ) ) ) $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '36794', 'dep' => '97', 'slug' => 'petit-bourg', 'nom' => 'Petit-Bourg', 'cp' => '97170', 'commune' => '', 'code_commune' => '97118', 'arrondissement' => '0', 'canton' => '', 'amdi' => '0', 'population' => '0', 'surface' => '0', 'ski' => false, 'lng' => '45.0534', 'lat' => '-0.579948', 'departement_id' => '98', 'created' => '0000-00-00 00:00:00', 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '971', 'nom' => 'Guadeloupe', 'slug' => 'guadeloupe' ) ), '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(), '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] ) ) ), 'title' => '<b class="text-primary">Portail Famille Petit-Bourg (971)</b> : adresses locales et discussions', 'ville' => 'Petit-Bourg', 'urlCat' => 'ville/petit-bourg', 'baliseTitle' => 'Portail Famille Petit-Bourg (971) : 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="petit-bourg"' $lat = '-0.579948' $lng = '45.0534' $sql_distance = '(((acos(sin((-0.579948*pi()/180)) * sin((Ville.lat*pi()/180))+cos((-0.579948*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((45.0534- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $joinsSim = array( (int) 0 => array( 'table' => 'etablissements', 'alias' => 'Etablissement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Etablissement.ville_id = Ville.id' ) ) ) $maRecherche = 'Petit-Bourg' $http_response_header = array( (int) 0 => 'HTTP/1.0 200 OK', (int) 1 => 'Content-Type: application/xml; charset=utf-8', (int) 2 => 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate', (int) 3 => 'Pragma: no-cache', (int) 4 => 'Expires: Mon, 01 Jan 1990 00:00:00 GMT', (int) 5 => 'Date: Mon, 02 Oct 2023 08:45:03 GMT', (int) 6 => 'Strict-Transport-Security: max-age=31536000', (int) 7 => 'Content-Security-Policy: script-src 'report-sample' 'nonce-WRoNQD8YaNsxzP2hGJGLVA' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/DotsSplashUi/cspreport;worker-src 'self'', (int) 8 => 'Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/DotsSplashUi/cspreport', (int) 9 => 'Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factor, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version', (int) 10 => 'Cross-Origin-Opener-Policy: same-origin-allow-popups', (int) 11 => 'Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factor=*, ch-ua-platform=*, ch-ua-platform-version=*', (int) 12 => 'Cross-Origin-Resource-Policy: same-site', (int) 13 => 'Server: ESF', (int) 14 => 'X-XSS-Protection: 0', (int) 15 => 'X-Frame-Options: SAMEORIGIN', (int) 16 => 'X-Content-Type-Options: nosniff', (int) 17 => 'Set-Cookie: CONSENT=PENDING+051; expires=Wed, 01-Oct-2025 08:45:02 GMT; path=/; domain=.google.com; Secure', (int) 18 => 'P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."', (int) 19 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', (int) 20 => 'Accept-Ranges: none', (int) 21 => 'Vary: Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site,Accept-Encoding' )simplexml_load_file - [internal], line ?? VillesController::index() - APP/Controller/VillesController.php, line 137 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>]: https://news.google.com/rss/search?q=Petit-Bourg+after:2023-01-01&ceid=FR:fr&hl=fr&gl=FR:1: parser error : Premature end of data in tag title line 1 [APP/Controller/VillesController.php, line 137]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 = 'petit-bourg' $joins = array( (int) 0 => array( 'table' => 'departements', 'alias' => 'Departement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Ville.departement_id = Departement.id' ) ) ) $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '36794', 'dep' => '97', 'slug' => 'petit-bourg', 'nom' => 'Petit-Bourg', 'cp' => '97170', 'commune' => '', 'code_commune' => '97118', 'arrondissement' => '0', 'canton' => '', 'amdi' => '0', 'population' => '0', 'surface' => '0', 'ski' => false, 'lng' => '45.0534', 'lat' => '-0.579948', 'departement_id' => '98', 'created' => '0000-00-00 00:00:00', 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '971', 'nom' => 'Guadeloupe', 'slug' => 'guadeloupe' ) ), '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(), '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] ) ) ), 'title' => '<b class="text-primary">Portail Famille Petit-Bourg (971)</b> : adresses locales et discussions', 'ville' => 'Petit-Bourg', 'urlCat' => 'ville/petit-bourg', 'baliseTitle' => 'Portail Famille Petit-Bourg (971) : 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="petit-bourg"' $lat = '-0.579948' $lng = '45.0534' $sql_distance = '(((acos(sin((-0.579948*pi()/180)) * sin((Ville.lat*pi()/180))+cos((-0.579948*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((45.0534- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $joinsSim = array( (int) 0 => array( 'table' => 'etablissements', 'alias' => 'Etablissement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Etablissement.ville_id = Ville.id' ) ) ) $maRecherche = 'Petit-Bourg' $http_response_header = array( (int) 0 => 'HTTP/1.0 200 OK', (int) 1 => 'Content-Type: application/xml; charset=utf-8', (int) 2 => 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate', (int) 3 => 'Pragma: no-cache', (int) 4 => 'Expires: Mon, 01 Jan 1990 00:00:00 GMT', (int) 5 => 'Date: Mon, 02 Oct 2023 08:45:03 GMT', (int) 6 => 'Strict-Transport-Security: max-age=31536000', (int) 7 => 'Content-Security-Policy: script-src 'report-sample' 'nonce-WRoNQD8YaNsxzP2hGJGLVA' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/DotsSplashUi/cspreport;worker-src 'self'', (int) 8 => 'Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/DotsSplashUi/cspreport', (int) 9 => 'Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factor, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version', (int) 10 => 'Cross-Origin-Opener-Policy: same-origin-allow-popups', (int) 11 => 'Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factor=*, ch-ua-platform=*, ch-ua-platform-version=*', (int) 12 => 'Cross-Origin-Resource-Policy: same-site', (int) 13 => 'Server: ESF', (int) 14 => 'X-XSS-Protection: 0', (int) 15 => 'X-Frame-Options: SAMEORIGIN', (int) 16 => 'X-Content-Type-Options: nosniff', (int) 17 => 'Set-Cookie: CONSENT=PENDING+051; expires=Wed, 01-Oct-2025 08:45:02 GMT; path=/; domain=.google.com; Secure', (int) 18 => 'P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."', (int) 19 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', (int) 20 => 'Accept-Ranges: none', (int) 21 => 'Vary: Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site,Accept-Encoding' )simplexml_load_file - [internal], line ?? VillesController::index() - APP/Controller/VillesController.php, line 137 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.FM</source></item><item><title>Martinique, Guadeloupe, Guyane : le point sur l [APP/Controller/VillesController.php, line 137]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 = 'petit-bourg' $joins = array( (int) 0 => array( 'table' => 'departements', 'alias' => 'Departement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Ville.departement_id = Departement.id' ) ) ) $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '36794', 'dep' => '97', 'slug' => 'petit-bourg', 'nom' => 'Petit-Bourg', 'cp' => '97170', 'commune' => '', 'code_commune' => '97118', 'arrondissement' => '0', 'canton' => '', 'amdi' => '0', 'population' => '0', 'surface' => '0', 'ski' => false, 'lng' => '45.0534', 'lat' => '-0.579948', 'departement_id' => '98', 'created' => '0000-00-00 00:00:00', 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '971', 'nom' => 'Guadeloupe', 'slug' => 'guadeloupe' ) ), '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(), '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] ) ) ), 'title' => '<b class="text-primary">Portail Famille Petit-Bourg (971)</b> : adresses locales et discussions', 'ville' => 'Petit-Bourg', 'urlCat' => 'ville/petit-bourg', 'baliseTitle' => 'Portail Famille Petit-Bourg (971) : 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="petit-bourg"' $lat = '-0.579948' $lng = '45.0534' $sql_distance = '(((acos(sin((-0.579948*pi()/180)) * sin((Ville.lat*pi()/180))+cos((-0.579948*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((45.0534- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $joinsSim = array( (int) 0 => array( 'table' => 'etablissements', 'alias' => 'Etablissement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Etablissement.ville_id = Ville.id' ) ) ) $maRecherche = 'Petit-Bourg' $http_response_header = array( (int) 0 => 'HTTP/1.0 200 OK', (int) 1 => 'Content-Type: application/xml; charset=utf-8', (int) 2 => 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate', (int) 3 => 'Pragma: no-cache', (int) 4 => 'Expires: Mon, 01 Jan 1990 00:00:00 GMT', (int) 5 => 'Date: Mon, 02 Oct 2023 08:45:03 GMT', (int) 6 => 'Strict-Transport-Security: max-age=31536000', (int) 7 => 'Content-Security-Policy: script-src 'report-sample' 'nonce-WRoNQD8YaNsxzP2hGJGLVA' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/DotsSplashUi/cspreport;worker-src 'self'', (int) 8 => 'Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/DotsSplashUi/cspreport', (int) 9 => 'Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factor, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version', (int) 10 => 'Cross-Origin-Opener-Policy: same-origin-allow-popups', (int) 11 => 'Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factor=*, ch-ua-platform=*, ch-ua-platform-version=*', (int) 12 => 'Cross-Origin-Resource-Policy: same-site', (int) 13 => 'Server: ESF', (int) 14 => 'X-XSS-Protection: 0', (int) 15 => 'X-Frame-Options: SAMEORIGIN', (int) 16 => 'X-Content-Type-Options: nosniff', (int) 17 => 'Set-Cookie: CONSENT=PENDING+051; expires=Wed, 01-Oct-2025 08:45:02 GMT; path=/; domain=.google.com; Secure', (int) 18 => 'P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."', (int) 19 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', (int) 20 => 'Accept-Ranges: none', (int) 21 => 'Vary: Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site,Accept-Encoding' )simplexml_load_file - [internal], line ?? VillesController::index() - APP/Controller/VillesController.php, line 137 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>]: ^ [APP/Controller/VillesController.php, line 137]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 = 'petit-bourg' $joins = array( (int) 0 => array( 'table' => 'departements', 'alias' => 'Departement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Ville.departement_id = Departement.id' ) ) ) $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '36794', 'dep' => '97', 'slug' => 'petit-bourg', 'nom' => 'Petit-Bourg', 'cp' => '97170', 'commune' => '', 'code_commune' => '97118', 'arrondissement' => '0', 'canton' => '', 'amdi' => '0', 'population' => '0', 'surface' => '0', 'ski' => false, 'lng' => '45.0534', 'lat' => '-0.579948', 'departement_id' => '98', 'created' => '0000-00-00 00:00:00', 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '971', 'nom' => 'Guadeloupe', 'slug' => 'guadeloupe' ) ), '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(), '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] ) ) ), 'title' => '<b class="text-primary">Portail Famille Petit-Bourg (971)</b> : adresses locales et discussions', 'ville' => 'Petit-Bourg', 'urlCat' => 'ville/petit-bourg', 'baliseTitle' => 'Portail Famille Petit-Bourg (971) : 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="petit-bourg"' $lat = '-0.579948' $lng = '45.0534' $sql_distance = '(((acos(sin((-0.579948*pi()/180)) * sin((Ville.lat*pi()/180))+cos((-0.579948*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((45.0534- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $joinsSim = array( (int) 0 => array( 'table' => 'etablissements', 'alias' => 'Etablissement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Etablissement.ville_id = Ville.id' ) ) ) $maRecherche = 'Petit-Bourg' $http_response_header = array( (int) 0 => 'HTTP/1.0 200 OK', (int) 1 => 'Content-Type: application/xml; charset=utf-8', (int) 2 => 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate', (int) 3 => 'Pragma: no-cache', (int) 4 => 'Expires: Mon, 01 Jan 1990 00:00:00 GMT', (int) 5 => 'Date: Mon, 02 Oct 2023 08:45:03 GMT', (int) 6 => 'Strict-Transport-Security: max-age=31536000', (int) 7 => 'Content-Security-Policy: script-src 'report-sample' 'nonce-WRoNQD8YaNsxzP2hGJGLVA' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/DotsSplashUi/cspreport;worker-src 'self'', (int) 8 => 'Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/DotsSplashUi/cspreport', (int) 9 => 'Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factor, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version', (int) 10 => 'Cross-Origin-Opener-Policy: same-origin-allow-popups', (int) 11 => 'Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factor=*, ch-ua-platform=*, ch-ua-platform-version=*', (int) 12 => 'Cross-Origin-Resource-Policy: same-site', (int) 13 => 'Server: ESF', (int) 14 => 'X-XSS-Protection: 0', (int) 15 => 'X-Frame-Options: SAMEORIGIN', (int) 16 => 'X-Content-Type-Options: nosniff', (int) 17 => 'Set-Cookie: CONSENT=PENDING+051; expires=Wed, 01-Oct-2025 08:45:02 GMT; path=/; domain=.google.com; Secure', (int) 18 => 'P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."', (int) 19 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', (int) 20 => 'Accept-Ranges: none', (int) 21 => 'Vary: Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site,Accept-Encoding' )simplexml_load_file - [internal], line ?? VillesController::index() - APP/Controller/VillesController.php, line 137 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>]: https://news.google.com/rss/search?q=Petit-Bourg+after:2023-01-01&ceid=FR:fr&hl=fr&gl=FR:1: parser error : Premature end of data in tag item line 1 [APP/Controller/VillesController.php, line 137]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 = 'petit-bourg' $joins = array( (int) 0 => array( 'table' => 'departements', 'alias' => 'Departement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Ville.departement_id = Departement.id' ) ) ) $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '36794', 'dep' => '97', 'slug' => 'petit-bourg', 'nom' => 'Petit-Bourg', 'cp' => '97170', 'commune' => '', 'code_commune' => '97118', 'arrondissement' => '0', 'canton' => '', 'amdi' => '0', 'population' => '0', 'surface' => '0', 'ski' => false, 'lng' => '45.0534', 'lat' => '-0.579948', 'departement_id' => '98', 'created' => '0000-00-00 00:00:00', 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '971', 'nom' => 'Guadeloupe', 'slug' => 'guadeloupe' ) ), '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(), '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] ) ) ), 'title' => '<b class="text-primary">Portail Famille Petit-Bourg (971)</b> : adresses locales et discussions', 'ville' => 'Petit-Bourg', 'urlCat' => 'ville/petit-bourg', 'baliseTitle' => 'Portail Famille Petit-Bourg (971) : 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="petit-bourg"' $lat = '-0.579948' $lng = '45.0534' $sql_distance = '(((acos(sin((-0.579948*pi()/180)) * sin((Ville.lat*pi()/180))+cos((-0.579948*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((45.0534- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $joinsSim = array( (int) 0 => array( 'table' => 'etablissements', 'alias' => 'Etablissement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Etablissement.ville_id = Ville.id' ) ) ) $maRecherche = 'Petit-Bourg' $http_response_header = array( (int) 0 => 'HTTP/1.0 200 OK', (int) 1 => 'Content-Type: application/xml; charset=utf-8', (int) 2 => 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate', (int) 3 => 'Pragma: no-cache', (int) 4 => 'Expires: Mon, 01 Jan 1990 00:00:00 GMT', (int) 5 => 'Date: Mon, 02 Oct 2023 08:45:03 GMT', (int) 6 => 'Strict-Transport-Security: max-age=31536000', (int) 7 => 'Content-Security-Policy: script-src 'report-sample' 'nonce-WRoNQD8YaNsxzP2hGJGLVA' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/DotsSplashUi/cspreport;worker-src 'self'', (int) 8 => 'Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/DotsSplashUi/cspreport', (int) 9 => 'Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factor, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version', (int) 10 => 'Cross-Origin-Opener-Policy: same-origin-allow-popups', (int) 11 => 'Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factor=*, ch-ua-platform=*, ch-ua-platform-version=*', (int) 12 => 'Cross-Origin-Resource-Policy: same-site', (int) 13 => 'Server: ESF', (int) 14 => 'X-XSS-Protection: 0', (int) 15 => 'X-Frame-Options: SAMEORIGIN', (int) 16 => 'X-Content-Type-Options: nosniff', (int) 17 => 'Set-Cookie: CONSENT=PENDING+051; expires=Wed, 01-Oct-2025 08:45:02 GMT; path=/; domain=.google.com; Secure', (int) 18 => 'P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."', (int) 19 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', (int) 20 => 'Accept-Ranges: none', (int) 21 => 'Vary: Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site,Accept-Encoding' )simplexml_load_file - [internal], line ?? VillesController::index() - APP/Controller/VillesController.php, line 137 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.FM</source></item><item><title>Martinique, Guadeloupe, Guyane : le point sur l [APP/Controller/VillesController.php, line 137]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 = 'petit-bourg' $joins = array( (int) 0 => array( 'table' => 'departements', 'alias' => 'Departement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Ville.departement_id = Departement.id' ) ) ) $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '36794', 'dep' => '97', 'slug' => 'petit-bourg', 'nom' => 'Petit-Bourg', 'cp' => '97170', 'commune' => '', 'code_commune' => '97118', 'arrondissement' => '0', 'canton' => '', 'amdi' => '0', 'population' => '0', 'surface' => '0', 'ski' => false, 'lng' => '45.0534', 'lat' => '-0.579948', 'departement_id' => '98', 'created' => '0000-00-00 00:00:00', 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '971', 'nom' => 'Guadeloupe', 'slug' => 'guadeloupe' ) ), '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(), '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] ) ) ), 'title' => '<b class="text-primary">Portail Famille Petit-Bourg (971)</b> : adresses locales et discussions', 'ville' => 'Petit-Bourg', 'urlCat' => 'ville/petit-bourg', 'baliseTitle' => 'Portail Famille Petit-Bourg (971) : 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="petit-bourg"' $lat = '-0.579948' $lng = '45.0534' $sql_distance = '(((acos(sin((-0.579948*pi()/180)) * sin((Ville.lat*pi()/180))+cos((-0.579948*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((45.0534- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $joinsSim = array( (int) 0 => array( 'table' => 'etablissements', 'alias' => 'Etablissement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Etablissement.ville_id = Ville.id' ) ) ) $maRecherche = 'Petit-Bourg' $http_response_header = array( (int) 0 => 'HTTP/1.0 200 OK', (int) 1 => 'Content-Type: application/xml; charset=utf-8', (int) 2 => 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate', (int) 3 => 'Pragma: no-cache', (int) 4 => 'Expires: Mon, 01 Jan 1990 00:00:00 GMT', (int) 5 => 'Date: Mon, 02 Oct 2023 08:45:03 GMT', (int) 6 => 'Strict-Transport-Security: max-age=31536000', (int) 7 => 'Content-Security-Policy: script-src 'report-sample' 'nonce-WRoNQD8YaNsxzP2hGJGLVA' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/DotsSplashUi/cspreport;worker-src 'self'', (int) 8 => 'Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/DotsSplashUi/cspreport', (int) 9 => 'Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factor, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version', (int) 10 => 'Cross-Origin-Opener-Policy: same-origin-allow-popups', (int) 11 => 'Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factor=*, ch-ua-platform=*, ch-ua-platform-version=*', (int) 12 => 'Cross-Origin-Resource-Policy: same-site', (int) 13 => 'Server: ESF', (int) 14 => 'X-XSS-Protection: 0', (int) 15 => 'X-Frame-Options: SAMEORIGIN', (int) 16 => 'X-Content-Type-Options: nosniff', (int) 17 => 'Set-Cookie: CONSENT=PENDING+051; expires=Wed, 01-Oct-2025 08:45:02 GMT; path=/; domain=.google.com; Secure', (int) 18 => 'P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."', (int) 19 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', (int) 20 => 'Accept-Ranges: none', (int) 21 => 'Vary: Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site,Accept-Encoding' )simplexml_load_file - [internal], line ?? VillesController::index() - APP/Controller/VillesController.php, line 137 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>]: ^ [APP/Controller/VillesController.php, line 137]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 = 'petit-bourg' $joins = array( (int) 0 => array( 'table' => 'departements', 'alias' => 'Departement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Ville.departement_id = Departement.id' ) ) ) $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '36794', 'dep' => '97', 'slug' => 'petit-bourg', 'nom' => 'Petit-Bourg', 'cp' => '97170', 'commune' => '', 'code_commune' => '97118', 'arrondissement' => '0', 'canton' => '', 'amdi' => '0', 'population' => '0', 'surface' => '0', 'ski' => false, 'lng' => '45.0534', 'lat' => '-0.579948', 'departement_id' => '98', 'created' => '0000-00-00 00:00:00', 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '971', 'nom' => 'Guadeloupe', 'slug' => 'guadeloupe' ) ), '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(), '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] ) ) ), 'title' => '<b class="text-primary">Portail Famille Petit-Bourg (971)</b> : adresses locales et discussions', 'ville' => 'Petit-Bourg', 'urlCat' => 'ville/petit-bourg', 'baliseTitle' => 'Portail Famille Petit-Bourg (971) : 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="petit-bourg"' $lat = '-0.579948' $lng = '45.0534' $sql_distance = '(((acos(sin((-0.579948*pi()/180)) * sin((Ville.lat*pi()/180))+cos((-0.579948*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((45.0534- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $joinsSim = array( (int) 0 => array( 'table' => 'etablissements', 'alias' => 'Etablissement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Etablissement.ville_id = Ville.id' ) ) ) $maRecherche = 'Petit-Bourg' $http_response_header = array( (int) 0 => 'HTTP/1.0 200 OK', (int) 1 => 'Content-Type: application/xml; charset=utf-8', (int) 2 => 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate', (int) 3 => 'Pragma: no-cache', (int) 4 => 'Expires: Mon, 01 Jan 1990 00:00:00 GMT', (int) 5 => 'Date: Mon, 02 Oct 2023 08:45:03 GMT', (int) 6 => 'Strict-Transport-Security: max-age=31536000', (int) 7 => 'Content-Security-Policy: script-src 'report-sample' 'nonce-WRoNQD8YaNsxzP2hGJGLVA' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/DotsSplashUi/cspreport;worker-src 'self'', (int) 8 => 'Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/DotsSplashUi/cspreport', (int) 9 => 'Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factor, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version', (int) 10 => 'Cross-Origin-Opener-Policy: same-origin-allow-popups', (int) 11 => 'Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factor=*, ch-ua-platform=*, ch-ua-platform-version=*', (int) 12 => 'Cross-Origin-Resource-Policy: same-site', (int) 13 => 'Server: ESF', (int) 14 => 'X-XSS-Protection: 0', (int) 15 => 'X-Frame-Options: SAMEORIGIN', (int) 16 => 'X-Content-Type-Options: nosniff', (int) 17 => 'Set-Cookie: CONSENT=PENDING+051; expires=Wed, 01-Oct-2025 08:45:02 GMT; path=/; domain=.google.com; Secure', (int) 18 => 'P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."', (int) 19 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', (int) 20 => 'Accept-Ranges: none', (int) 21 => 'Vary: Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site,Accept-Encoding' )simplexml_load_file - [internal], line ?? VillesController::index() - APP/Controller/VillesController.php, line 137 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>]: https://news.google.com/rss/search?q=Petit-Bourg+after:2023-01-01&ceid=FR:fr&hl=fr&gl=FR:1: parser error : Premature end of data in tag channel line 1 [APP/Controller/VillesController.php, line 137]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 = 'petit-bourg' $joins = array( (int) 0 => array( 'table' => 'departements', 'alias' => 'Departement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Ville.departement_id = Departement.id' ) ) ) $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '36794', 'dep' => '97', 'slug' => 'petit-bourg', 'nom' => 'Petit-Bourg', 'cp' => '97170', 'commune' => '', 'code_commune' => '97118', 'arrondissement' => '0', 'canton' => '', 'amdi' => '0', 'population' => '0', 'surface' => '0', 'ski' => false, 'lng' => '45.0534', 'lat' => '-0.579948', 'departement_id' => '98', 'created' => '0000-00-00 00:00:00', 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '971', 'nom' => 'Guadeloupe', 'slug' => 'guadeloupe' ) ), '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(), '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] ) ) ), 'title' => '<b class="text-primary">Portail Famille Petit-Bourg (971)</b> : adresses locales et discussions', 'ville' => 'Petit-Bourg', 'urlCat' => 'ville/petit-bourg', 'baliseTitle' => 'Portail Famille Petit-Bourg (971) : 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="petit-bourg"' $lat = '-0.579948' $lng = '45.0534' $sql_distance = '(((acos(sin((-0.579948*pi()/180)) * sin((Ville.lat*pi()/180))+cos((-0.579948*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((45.0534- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $joinsSim = array( (int) 0 => array( 'table' => 'etablissements', 'alias' => 'Etablissement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Etablissement.ville_id = Ville.id' ) ) ) $maRecherche = 'Petit-Bourg' $http_response_header = array( (int) 0 => 'HTTP/1.0 200 OK', (int) 1 => 'Content-Type: application/xml; charset=utf-8', (int) 2 => 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate', (int) 3 => 'Pragma: no-cache', (int) 4 => 'Expires: Mon, 01 Jan 1990 00:00:00 GMT', (int) 5 => 'Date: Mon, 02 Oct 2023 08:45:03 GMT', (int) 6 => 'Strict-Transport-Security: max-age=31536000', (int) 7 => 'Content-Security-Policy: script-src 'report-sample' 'nonce-WRoNQD8YaNsxzP2hGJGLVA' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/DotsSplashUi/cspreport;worker-src 'self'', (int) 8 => 'Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/DotsSplashUi/cspreport', (int) 9 => 'Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factor, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version', (int) 10 => 'Cross-Origin-Opener-Policy: same-origin-allow-popups', (int) 11 => 'Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factor=*, ch-ua-platform=*, ch-ua-platform-version=*', (int) 12 => 'Cross-Origin-Resource-Policy: same-site', (int) 13 => 'Server: ESF', (int) 14 => 'X-XSS-Protection: 0', (int) 15 => 'X-Frame-Options: SAMEORIGIN', (int) 16 => 'X-Content-Type-Options: nosniff', (int) 17 => 'Set-Cookie: CONSENT=PENDING+051; expires=Wed, 01-Oct-2025 08:45:02 GMT; path=/; domain=.google.com; Secure', (int) 18 => 'P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."', (int) 19 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', (int) 20 => 'Accept-Ranges: none', (int) 21 => 'Vary: Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site,Accept-Encoding' )simplexml_load_file - [internal], line ?? VillesController::index() - APP/Controller/VillesController.php, line 137 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.FM</source></item><item><title>Martinique, Guadeloupe, Guyane : le point sur l [APP/Controller/VillesController.php, line 137]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 = 'petit-bourg' $joins = array( (int) 0 => array( 'table' => 'departements', 'alias' => 'Departement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Ville.departement_id = Departement.id' ) ) ) $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '36794', 'dep' => '97', 'slug' => 'petit-bourg', 'nom' => 'Petit-Bourg', 'cp' => '97170', 'commune' => '', 'code_commune' => '97118', 'arrondissement' => '0', 'canton' => '', 'amdi' => '0', 'population' => '0', 'surface' => '0', 'ski' => false, 'lng' => '45.0534', 'lat' => '-0.579948', 'departement_id' => '98', 'created' => '0000-00-00 00:00:00', 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '971', 'nom' => 'Guadeloupe', 'slug' => 'guadeloupe' ) ), '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(), '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] ) ) ), 'title' => '<b class="text-primary">Portail Famille Petit-Bourg (971)</b> : adresses locales et discussions', 'ville' => 'Petit-Bourg', 'urlCat' => 'ville/petit-bourg', 'baliseTitle' => 'Portail Famille Petit-Bourg (971) : 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="petit-bourg"' $lat = '-0.579948' $lng = '45.0534' $sql_distance = '(((acos(sin((-0.579948*pi()/180)) * sin((Ville.lat*pi()/180))+cos((-0.579948*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((45.0534- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $joinsSim = array( (int) 0 => array( 'table' => 'etablissements', 'alias' => 'Etablissement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Etablissement.ville_id = Ville.id' ) ) ) $maRecherche = 'Petit-Bourg' $http_response_header = array( (int) 0 => 'HTTP/1.0 200 OK', (int) 1 => 'Content-Type: application/xml; charset=utf-8', (int) 2 => 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate', (int) 3 => 'Pragma: no-cache', (int) 4 => 'Expires: Mon, 01 Jan 1990 00:00:00 GMT', (int) 5 => 'Date: Mon, 02 Oct 2023 08:45:03 GMT', (int) 6 => 'Strict-Transport-Security: max-age=31536000', (int) 7 => 'Content-Security-Policy: script-src 'report-sample' 'nonce-WRoNQD8YaNsxzP2hGJGLVA' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/DotsSplashUi/cspreport;worker-src 'self'', (int) 8 => 'Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/DotsSplashUi/cspreport', (int) 9 => 'Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factor, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version', (int) 10 => 'Cross-Origin-Opener-Policy: same-origin-allow-popups', (int) 11 => 'Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factor=*, ch-ua-platform=*, ch-ua-platform-version=*', (int) 12 => 'Cross-Origin-Resource-Policy: same-site', (int) 13 => 'Server: ESF', (int) 14 => 'X-XSS-Protection: 0', (int) 15 => 'X-Frame-Options: SAMEORIGIN', (int) 16 => 'X-Content-Type-Options: nosniff', (int) 17 => 'Set-Cookie: CONSENT=PENDING+051; expires=Wed, 01-Oct-2025 08:45:02 GMT; path=/; domain=.google.com; Secure', (int) 18 => 'P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."', (int) 19 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', (int) 20 => 'Accept-Ranges: none', (int) 21 => 'Vary: Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site,Accept-Encoding' )simplexml_load_file - [internal], line ?? VillesController::index() - APP/Controller/VillesController.php, line 137 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>]: ^ [APP/Controller/VillesController.php, line 137]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 = 'petit-bourg' $joins = array( (int) 0 => array( 'table' => 'departements', 'alias' => 'Departement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Ville.departement_id = Departement.id' ) ) ) $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '36794', 'dep' => '97', 'slug' => 'petit-bourg', 'nom' => 'Petit-Bourg', 'cp' => '97170', 'commune' => '', 'code_commune' => '97118', 'arrondissement' => '0', 'canton' => '', 'amdi' => '0', 'population' => '0', 'surface' => '0', 'ski' => false, 'lng' => '45.0534', 'lat' => '-0.579948', 'departement_id' => '98', 'created' => '0000-00-00 00:00:00', 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '971', 'nom' => 'Guadeloupe', 'slug' => 'guadeloupe' ) ), '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(), '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] ) ) ), 'title' => '<b class="text-primary">Portail Famille Petit-Bourg (971)</b> : adresses locales et discussions', 'ville' => 'Petit-Bourg', 'urlCat' => 'ville/petit-bourg', 'baliseTitle' => 'Portail Famille Petit-Bourg (971) : 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="petit-bourg"' $lat = '-0.579948' $lng = '45.0534' $sql_distance = '(((acos(sin((-0.579948*pi()/180)) * sin((Ville.lat*pi()/180))+cos((-0.579948*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((45.0534- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $joinsSim = array( (int) 0 => array( 'table' => 'etablissements', 'alias' => 'Etablissement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Etablissement.ville_id = Ville.id' ) ) ) $maRecherche = 'Petit-Bourg' $http_response_header = array( (int) 0 => 'HTTP/1.0 200 OK', (int) 1 => 'Content-Type: application/xml; charset=utf-8', (int) 2 => 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate', (int) 3 => 'Pragma: no-cache', (int) 4 => 'Expires: Mon, 01 Jan 1990 00:00:00 GMT', (int) 5 => 'Date: Mon, 02 Oct 2023 08:45:03 GMT', (int) 6 => 'Strict-Transport-Security: max-age=31536000', (int) 7 => 'Content-Security-Policy: script-src 'report-sample' 'nonce-WRoNQD8YaNsxzP2hGJGLVA' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/DotsSplashUi/cspreport;worker-src 'self'', (int) 8 => 'Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/DotsSplashUi/cspreport', (int) 9 => 'Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factor, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version', (int) 10 => 'Cross-Origin-Opener-Policy: same-origin-allow-popups', (int) 11 => 'Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factor=*, ch-ua-platform=*, ch-ua-platform-version=*', (int) 12 => 'Cross-Origin-Resource-Policy: same-site', (int) 13 => 'Server: ESF', (int) 14 => 'X-XSS-Protection: 0', (int) 15 => 'X-Frame-Options: SAMEORIGIN', (int) 16 => 'X-Content-Type-Options: nosniff', (int) 17 => 'Set-Cookie: CONSENT=PENDING+051; expires=Wed, 01-Oct-2025 08:45:02 GMT; path=/; domain=.google.com; Secure', (int) 18 => 'P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."', (int) 19 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', (int) 20 => 'Accept-Ranges: none', (int) 21 => 'Vary: Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site,Accept-Encoding' )simplexml_load_file - [internal], line ?? VillesController::index() - APP/Controller/VillesController.php, line 137 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>]: https://news.google.com/rss/search?q=Petit-Bourg+after:2023-01-01&ceid=FR:fr&hl=fr&gl=FR:1: parser error : Premature end of data in tag rss line 1 [APP/Controller/VillesController.php, line 137]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 = 'petit-bourg' $joins = array( (int) 0 => array( 'table' => 'departements', 'alias' => 'Departement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Ville.departement_id = Departement.id' ) ) ) $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '36794', 'dep' => '97', 'slug' => 'petit-bourg', 'nom' => 'Petit-Bourg', 'cp' => '97170', 'commune' => '', 'code_commune' => '97118', 'arrondissement' => '0', 'canton' => '', 'amdi' => '0', 'population' => '0', 'surface' => '0', 'ski' => false, 'lng' => '45.0534', 'lat' => '-0.579948', 'departement_id' => '98', 'created' => '0000-00-00 00:00:00', 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '971', 'nom' => 'Guadeloupe', 'slug' => 'guadeloupe' ) ), '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(), '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] ) ) ), 'title' => '<b class="text-primary">Portail Famille Petit-Bourg (971)</b> : adresses locales et discussions', 'ville' => 'Petit-Bourg', 'urlCat' => 'ville/petit-bourg', 'baliseTitle' => 'Portail Famille Petit-Bourg (971) : 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="petit-bourg"' $lat = '-0.579948' $lng = '45.0534' $sql_distance = '(((acos(sin((-0.579948*pi()/180)) * sin((Ville.lat*pi()/180))+cos((-0.579948*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((45.0534- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $joinsSim = array( (int) 0 => array( 'table' => 'etablissements', 'alias' => 'Etablissement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Etablissement.ville_id = Ville.id' ) ) ) $maRecherche = 'Petit-Bourg' $http_response_header = array( (int) 0 => 'HTTP/1.0 200 OK', (int) 1 => 'Content-Type: application/xml; charset=utf-8', (int) 2 => 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate', (int) 3 => 'Pragma: no-cache', (int) 4 => 'Expires: Mon, 01 Jan 1990 00:00:00 GMT', (int) 5 => 'Date: Mon, 02 Oct 2023 08:45:03 GMT', (int) 6 => 'Strict-Transport-Security: max-age=31536000', (int) 7 => 'Content-Security-Policy: script-src 'report-sample' 'nonce-WRoNQD8YaNsxzP2hGJGLVA' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/DotsSplashUi/cspreport;worker-src 'self'', (int) 8 => 'Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/DotsSplashUi/cspreport', (int) 9 => 'Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factor, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version', (int) 10 => 'Cross-Origin-Opener-Policy: same-origin-allow-popups', (int) 11 => 'Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factor=*, ch-ua-platform=*, ch-ua-platform-version=*', (int) 12 => 'Cross-Origin-Resource-Policy: same-site', (int) 13 => 'Server: ESF', (int) 14 => 'X-XSS-Protection: 0', (int) 15 => 'X-Frame-Options: SAMEORIGIN', (int) 16 => 'X-Content-Type-Options: nosniff', (int) 17 => 'Set-Cookie: CONSENT=PENDING+051; expires=Wed, 01-Oct-2025 08:45:02 GMT; path=/; domain=.google.com; Secure', (int) 18 => 'P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."', (int) 19 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', (int) 20 => 'Accept-Ranges: none', (int) 21 => 'Vary: Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site,Accept-Encoding' )simplexml_load_file - [internal], line ?? VillesController::index() - APP/Controller/VillesController.php, line 137 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.FM</source></item><item><title>Martinique, Guadeloupe, Guyane : le point sur l [APP/Controller/VillesController.php, line 137]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 = 'petit-bourg' $joins = array( (int) 0 => array( 'table' => 'departements', 'alias' => 'Departement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Ville.departement_id = Departement.id' ) ) ) $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '36794', 'dep' => '97', 'slug' => 'petit-bourg', 'nom' => 'Petit-Bourg', 'cp' => '97170', 'commune' => '', 'code_commune' => '97118', 'arrondissement' => '0', 'canton' => '', 'amdi' => '0', 'population' => '0', 'surface' => '0', 'ski' => false, 'lng' => '45.0534', 'lat' => '-0.579948', 'departement_id' => '98', 'created' => '0000-00-00 00:00:00', 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '971', 'nom' => 'Guadeloupe', 'slug' => 'guadeloupe' ) ), '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(), '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] ) ) ), 'title' => '<b class="text-primary">Portail Famille Petit-Bourg (971)</b> : adresses locales et discussions', 'ville' => 'Petit-Bourg', 'urlCat' => 'ville/petit-bourg', 'baliseTitle' => 'Portail Famille Petit-Bourg (971) : 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="petit-bourg"' $lat = '-0.579948' $lng = '45.0534' $sql_distance = '(((acos(sin((-0.579948*pi()/180)) * sin((Ville.lat*pi()/180))+cos((-0.579948*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((45.0534- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $joinsSim = array( (int) 0 => array( 'table' => 'etablissements', 'alias' => 'Etablissement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Etablissement.ville_id = Ville.id' ) ) ) $maRecherche = 'Petit-Bourg' $http_response_header = array( (int) 0 => 'HTTP/1.0 200 OK', (int) 1 => 'Content-Type: application/xml; charset=utf-8', (int) 2 => 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate', (int) 3 => 'Pragma: no-cache', (int) 4 => 'Expires: Mon, 01 Jan 1990 00:00:00 GMT', (int) 5 => 'Date: Mon, 02 Oct 2023 08:45:03 GMT', (int) 6 => 'Strict-Transport-Security: max-age=31536000', (int) 7 => 'Content-Security-Policy: script-src 'report-sample' 'nonce-WRoNQD8YaNsxzP2hGJGLVA' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/DotsSplashUi/cspreport;worker-src 'self'', (int) 8 => 'Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/DotsSplashUi/cspreport', (int) 9 => 'Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factor, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version', (int) 10 => 'Cross-Origin-Opener-Policy: same-origin-allow-popups', (int) 11 => 'Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factor=*, ch-ua-platform=*, ch-ua-platform-version=*', (int) 12 => 'Cross-Origin-Resource-Policy: same-site', (int) 13 => 'Server: ESF', (int) 14 => 'X-XSS-Protection: 0', (int) 15 => 'X-Frame-Options: SAMEORIGIN', (int) 16 => 'X-Content-Type-Options: nosniff', (int) 17 => 'Set-Cookie: CONSENT=PENDING+051; expires=Wed, 01-Oct-2025 08:45:02 GMT; path=/; domain=.google.com; Secure', (int) 18 => 'P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."', (int) 19 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', (int) 20 => 'Accept-Ranges: none', (int) 21 => 'Vary: Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site,Accept-Encoding' )simplexml_load_file - [internal], line ?? VillesController::index() - APP/Controller/VillesController.php, line 137 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>]: ^ [APP/Controller/VillesController.php, line 137]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 = 'petit-bourg' $joins = array( (int) 0 => array( 'table' => 'departements', 'alias' => 'Departement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Ville.departement_id = Departement.id' ) ) ) $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '36794', 'dep' => '97', 'slug' => 'petit-bourg', 'nom' => 'Petit-Bourg', 'cp' => '97170', 'commune' => '', 'code_commune' => '97118', 'arrondissement' => '0', 'canton' => '', 'amdi' => '0', 'population' => '0', 'surface' => '0', 'ski' => false, 'lng' => '45.0534', 'lat' => '-0.579948', 'departement_id' => '98', 'created' => '0000-00-00 00:00:00', 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '971', 'nom' => 'Guadeloupe', 'slug' => 'guadeloupe' ) ), '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(), '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] ) ) ), 'title' => '<b class="text-primary">Portail Famille Petit-Bourg (971)</b> : adresses locales et discussions', 'ville' => 'Petit-Bourg', 'urlCat' => 'ville/petit-bourg', 'baliseTitle' => 'Portail Famille Petit-Bourg (971) : 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="petit-bourg"' $lat = '-0.579948' $lng = '45.0534' $sql_distance = '(((acos(sin((-0.579948*pi()/180)) * sin((Ville.lat*pi()/180))+cos((-0.579948*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((45.0534- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $joinsSim = array( (int) 0 => array( 'table' => 'etablissements', 'alias' => 'Etablissement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Etablissement.ville_id = Ville.id' ) ) ) $maRecherche = 'Petit-Bourg' $http_response_header = array( (int) 0 => 'HTTP/1.0 200 OK', (int) 1 => 'Content-Type: application/xml; charset=utf-8', (int) 2 => 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate', (int) 3 => 'Pragma: no-cache', (int) 4 => 'Expires: Mon, 01 Jan 1990 00:00:00 GMT', (int) 5 => 'Date: Mon, 02 Oct 2023 08:45:03 GMT', (int) 6 => 'Strict-Transport-Security: max-age=31536000', (int) 7 => 'Content-Security-Policy: script-src 'report-sample' 'nonce-WRoNQD8YaNsxzP2hGJGLVA' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/DotsSplashUi/cspreport;worker-src 'self'', (int) 8 => 'Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/DotsSplashUi/cspreport', (int) 9 => 'Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factor, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version', (int) 10 => 'Cross-Origin-Opener-Policy: same-origin-allow-popups', (int) 11 => 'Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factor=*, ch-ua-platform=*, ch-ua-platform-version=*', (int) 12 => 'Cross-Origin-Resource-Policy: same-site', (int) 13 => 'Server: ESF', (int) 14 => 'X-XSS-Protection: 0', (int) 15 => 'X-Frame-Options: SAMEORIGIN', (int) 16 => 'X-Content-Type-Options: nosniff', (int) 17 => 'Set-Cookie: CONSENT=PENDING+051; expires=Wed, 01-Oct-2025 08:45:02 GMT; path=/; domain=.google.com; Secure', (int) 18 => 'P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."', (int) 19 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', (int) 20 => 'Accept-Ranges: none', (int) 21 => 'Vary: Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site,Accept-Encoding' )simplexml_load_file - [internal], line ?? VillesController::index() - APP/Controller/VillesController.php, line 137 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 140]Code Context$i = 1;
$d['infos'] = array();
foreach ($xml->channel->item as $item):
$ville = 'petit-bourg' $joins = array( (int) 0 => array( 'table' => 'departements', 'alias' => 'Departement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Ville.departement_id = Departement.id' ) ) ) $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '36794', 'dep' => '97', 'slug' => 'petit-bourg', 'nom' => 'Petit-Bourg', 'cp' => '97170', 'commune' => '', 'code_commune' => '97118', 'arrondissement' => '0', 'canton' => '', 'amdi' => '0', 'population' => '0', 'surface' => '0', 'ski' => false, 'lng' => '45.0534', 'lat' => '-0.579948', 'departement_id' => '98', 'created' => '0000-00-00 00:00:00', 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '971', 'nom' => 'Guadeloupe', 'slug' => 'guadeloupe' ) ), '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(), '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] ) ) ), 'title' => '<b class="text-primary">Portail Famille Petit-Bourg (971)</b> : adresses locales et discussions', 'ville' => 'Petit-Bourg', 'urlCat' => 'ville/petit-bourg', 'baliseTitle' => 'Portail Famille Petit-Bourg (971) : 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="petit-bourg"' $lat = '-0.579948' $lng = '45.0534' $sql_distance = '(((acos(sin((-0.579948*pi()/180)) * sin((Ville.lat*pi()/180))+cos((-0.579948*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((45.0534- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $joinsSim = array( (int) 0 => array( 'table' => 'etablissements', 'alias' => 'Etablissement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Etablissement.ville_id = Ville.id' ) ) ) $maRecherche = 'Petit-Bourg' $xml = false $i = (int) 1 $http_response_header = array( (int) 0 => 'HTTP/1.0 200 OK', (int) 1 => 'Content-Type: application/xml; charset=utf-8', (int) 2 => 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate', (int) 3 => 'Pragma: no-cache', (int) 4 => 'Expires: Mon, 01 Jan 1990 00:00:00 GMT', (int) 5 => 'Date: Mon, 02 Oct 2023 08:45:03 GMT', (int) 6 => 'Strict-Transport-Security: max-age=31536000', (int) 7 => 'Content-Security-Policy: script-src 'report-sample' 'nonce-WRoNQD8YaNsxzP2hGJGLVA' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/DotsSplashUi/cspreport;worker-src 'self'', (int) 8 => 'Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/DotsSplashUi/cspreport', (int) 9 => 'Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factor, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version', (int) 10 => 'Cross-Origin-Opener-Policy: same-origin-allow-popups', (int) 11 => 'Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factor=*, ch-ua-platform=*, ch-ua-platform-version=*', (int) 12 => 'Cross-Origin-Resource-Policy: same-site', (int) 13 => 'Server: ESF', (int) 14 => 'X-XSS-Protection: 0', (int) 15 => 'X-Frame-Options: SAMEORIGIN', (int) 16 => 'X-Content-Type-Options: nosniff', (int) 17 => 'Set-Cookie: CONSENT=PENDING+051; expires=Wed, 01-Oct-2025 08:45:02 GMT; path=/; domain=.google.com; Secure', (int) 18 => 'P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."', (int) 19 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', (int) 20 => 'Accept-Ranges: none', (int) 21 => 'Vary: Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site,Accept-Encoding' )VillesController::index() - APP/Controller/VillesController.php, line 140 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 140]Code Context$i = 1;
$d['infos'] = array();
foreach ($xml->channel->item as $item):
$ville = 'petit-bourg' $joins = array( (int) 0 => array( 'table' => 'departements', 'alias' => 'Departement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Ville.departement_id = Departement.id' ) ) ) $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '36794', 'dep' => '97', 'slug' => 'petit-bourg', 'nom' => 'Petit-Bourg', 'cp' => '97170', 'commune' => '', 'code_commune' => '97118', 'arrondissement' => '0', 'canton' => '', 'amdi' => '0', 'population' => '0', 'surface' => '0', 'ski' => false, 'lng' => '45.0534', 'lat' => '-0.579948', 'departement_id' => '98', 'created' => '0000-00-00 00:00:00', 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '971', 'nom' => 'Guadeloupe', 'slug' => 'guadeloupe' ) ), '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(), '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] ) ) ), 'title' => '<b class="text-primary">Portail Famille Petit-Bourg (971)</b> : adresses locales et discussions', 'ville' => 'Petit-Bourg', 'urlCat' => 'ville/petit-bourg', 'baliseTitle' => 'Portail Famille Petit-Bourg (971) : 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="petit-bourg"' $lat = '-0.579948' $lng = '45.0534' $sql_distance = '(((acos(sin((-0.579948*pi()/180)) * sin((Ville.lat*pi()/180))+cos((-0.579948*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((45.0534- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $joinsSim = array( (int) 0 => array( 'table' => 'etablissements', 'alias' => 'Etablissement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Etablissement.ville_id = Ville.id' ) ) ) $maRecherche = 'Petit-Bourg' $xml = false $i = (int) 1 $http_response_header = array( (int) 0 => 'HTTP/1.0 200 OK', (int) 1 => 'Content-Type: application/xml; charset=utf-8', (int) 2 => 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate', (int) 3 => 'Pragma: no-cache', (int) 4 => 'Expires: Mon, 01 Jan 1990 00:00:00 GMT', (int) 5 => 'Date: Mon, 02 Oct 2023 08:45:03 GMT', (int) 6 => 'Strict-Transport-Security: max-age=31536000', (int) 7 => 'Content-Security-Policy: script-src 'report-sample' 'nonce-WRoNQD8YaNsxzP2hGJGLVA' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/DotsSplashUi/cspreport;worker-src 'self'', (int) 8 => 'Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/DotsSplashUi/cspreport', (int) 9 => 'Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factor, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version', (int) 10 => 'Cross-Origin-Opener-Policy: same-origin-allow-popups', (int) 11 => 'Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factor=*, ch-ua-platform=*, ch-ua-platform-version=*', (int) 12 => 'Cross-Origin-Resource-Policy: same-site', (int) 13 => 'Server: ESF', (int) 14 => 'X-XSS-Protection: 0', (int) 15 => 'X-Frame-Options: SAMEORIGIN', (int) 16 => 'X-Content-Type-Options: nosniff', (int) 17 => 'Set-Cookie: CONSENT=PENDING+051; expires=Wed, 01-Oct-2025 08:45:02 GMT; path=/; domain=.google.com; Secure', (int) 18 => 'P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."', (int) 19 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', (int) 20 => 'Accept-Ranges: none', (int) 21 => 'Vary: Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site,Accept-Encoding' )VillesController::index() - APP/Controller/VillesController.php, line 140 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 140]Code Context$i = 1;
$d['infos'] = array();
foreach ($xml->channel->item as $item):
$ville = 'petit-bourg' $joins = array( (int) 0 => array( 'table' => 'departements', 'alias' => 'Departement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Ville.departement_id = Departement.id' ) ) ) $d = array( 'dataVille' => array( 'Ville' => array( 'id' => '36794', 'dep' => '97', 'slug' => 'petit-bourg', 'nom' => 'Petit-Bourg', 'cp' => '97170', 'commune' => '', 'code_commune' => '97118', 'arrondissement' => '0', 'canton' => '', 'amdi' => '0', 'population' => '0', 'surface' => '0', 'ski' => false, 'lng' => '45.0534', 'lat' => '-0.579948', 'departement_id' => '98', 'created' => '0000-00-00 00:00:00', 'descriptif' => '', 'img' => '' ), 'Departement' => array( 'code' => '971', 'nom' => 'Guadeloupe', 'slug' => 'guadeloupe' ) ), '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(), '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] ) ) ), 'title' => '<b class="text-primary">Portail Famille Petit-Bourg (971)</b> : adresses locales et discussions', 'ville' => 'Petit-Bourg', 'urlCat' => 'ville/petit-bourg', 'baliseTitle' => 'Portail Famille Petit-Bourg (971) : 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="petit-bourg"' $lat = '-0.579948' $lng = '45.0534' $sql_distance = '(((acos(sin((-0.579948*pi()/180)) * sin((Ville.lat*pi()/180))+cos((-0.579948*pi()/180)) * cos((Ville.lat*pi()/180)) * cos(((45.0534- Ville.lng)*pi()/180))))*180/pi())*60*1.1515*1.609344*1000) as distance' $joinsSim = array( (int) 0 => array( 'table' => 'etablissements', 'alias' => 'Etablissement', 'type' => 'LEFT', 'conditions' => array( (int) 0 => 'Etablissement.ville_id = Ville.id' ) ) ) $maRecherche = 'Petit-Bourg' $xml = false $i = (int) 1 $http_response_header = array( (int) 0 => 'HTTP/1.0 200 OK', (int) 1 => 'Content-Type: application/xml; charset=utf-8', (int) 2 => 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate', (int) 3 => 'Pragma: no-cache', (int) 4 => 'Expires: Mon, 01 Jan 1990 00:00:00 GMT', (int) 5 => 'Date: Mon, 02 Oct 2023 08:45:03 GMT', (int) 6 => 'Strict-Transport-Security: max-age=31536000', (int) 7 => 'Content-Security-Policy: script-src 'report-sample' 'nonce-WRoNQD8YaNsxzP2hGJGLVA' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/DotsSplashUi/cspreport;worker-src 'self'', (int) 8 => 'Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/DotsSplashUi/cspreport', (int) 9 => 'Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factor, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version', (int) 10 => 'Cross-Origin-Opener-Policy: same-origin-allow-popups', (int) 11 => 'Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-form-factor=*, ch-ua-platform=*, ch-ua-platform-version=*', (int) 12 => 'Cross-Origin-Resource-Policy: same-site', (int) 13 => 'Server: ESF', (int) 14 => 'X-XSS-Protection: 0', (int) 15 => 'X-Frame-Options: SAMEORIGIN', (int) 16 => 'X-Content-Type-Options: nosniff', (int) 17 => 'Set-Cookie: CONSENT=PENDING+051; expires=Wed, 01-Oct-2025 08:45:02 GMT; path=/; domain=.google.com; Secure', (int) 18 => 'P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."', (int) 19 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', (int) 20 => 'Accept-Ranges: none', (int) 21 => 'Vary: Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site,Accept-Encoding' )VillesController::index() - APP/Controller/VillesController.php, line 140 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) 1696194301, '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 Petit-Bourg 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 Petit-Bourg, un espace de discussion ouvrira dans les prochaines semaines si le projet séduit.
Petit-Bourg : 15 établissements
Petit-Bourg : 3 établissements
Petit-Bourg : 3 établissements
Aucune structure santé ou sociale listée à Petit-Bourg. Peut-être une erreur de notre part ?