Code Context $og_image['url'] = 'https://' . $_SERVER['HTTP_HOST'] . $og_image['path'];
list($og_image['width'], $og_image['height']) = getimagesize(WWW_ROOT . ltrim($og_image['path'], '/'));
$id = '7041'
$slug = 'Ardennes_un_jeune_homme_de_38_ans_porte_disparu'
$news = array(
'News' => array(
'id' => '7041',
'media_id' => '1008',
'type_id' => '2',
'title' => 'Ardennes : un jeune homme de 38 ans porté disparu. ',
'text' => '<p>
David Louis, 38 ans a disparu de son domicile à Chestres dans la nuit de mercredi à jeudi. Malgré les moyens déployés par les gendarmes avec une équipe cynophile et un hélicoptère, le jeune homme reste introuvable.</p>
<p>
<strong>David Louis est mince, 75 kg, mesure 1,85 m, cheveux châtains très courts, yeux verts foncés, jean bleu foncé et sweat bleu avec bandes Adidas noires, lunettes ; il portait également lors de sa disparition une veste de motard.</strong></p>
<p>
Contacter la gendarmerie au 17 ou au 03 24 71 80 22.</p>
',
'sound1_id' => null,
'sound2_id' => null,
'important' => null,
'status' => '1',
'created' => '2016-10-13 18:17:01',
'updated' => '2016-10-14 09:13:30'
),
'Mmedia' => array(
'id' => null,
'folder_id' => null,
'title' => null,
'mime_type' => null,
'path' => null,
'updated' => null,
'updated_by' => null,
'created' => null,
'created_by' => null,
'status' => null
),
'NewsType' => array(
'id' => '2',
'title' => 'Infos',
'alias' => 'infos',
'created' => '2016-10-24 16:29:11',
'updated' => '2017-02-11 13:27:51'
),
'Sound1' => array(
'id' => null,
'folder_id' => null,
'title' => null,
'mime_type' => null,
'path' => null,
'updated' => null,
'updated_by' => null,
'created' => null,
'created_by' => null,
'status' => null
),
'Sound2' => array(
'id' => null,
'folder_id' => null,
'title' => null,
'mime_type' => null,
'path' => null,
'updated' => null,
'updated_by' => null,
'created' => null,
'created_by' => null,
'status' => null
),
'NewsReporters' => array(
(int) 0 => array(
'id' => '1',
'name' => 'René Ait Braham',
'status' => '1',
'created' => '2016-10-24 16:18:44',
'updated' => '2026-11-01 16:30:12',
'MidgesNewsReportersLink' => array(
[maximum depth reached]
)
)
)
)
$og_image = array(
'path' => false,
'url' => 'https://dev.radio8fm.com'
)
getimagesize - [internal], line ??
NewsController::view() - APP/Plugin/MidgesNews/Controller/NewsController.php, line 299
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 491
CroogoAppController::invokeAction() - APP/Vendor/croogo/croogo/Croogo/Controller/CroogoAppController.php, line 218
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 108
Commentaires
Pour poster un commentaire, vous devez Vous connecter ou Créer un compte