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 = '10211'
$slug = 'Boxe_championnat_du_monde_par_interim_des_mi_lourds_WBC_un_vrai_test_pour_Mehdi_Amar'
$news = array(
'News' => array(
'id' => '10211',
'media_id' => '6109',
'type_id' => '3',
'title' => 'Boxe championnat du monde ( par intérim) des mi-lourds WBC, un vrai test pour Mehdi Amar. ',
'text' => '<p>
C’est dans la nuit de vendredi à samedi que le marseillais licencié au Club Sportif Nouzonville Ardennais Mehdi Amar combat dans le mythique Madison Square Garden de New-York. Sur la route du marseillais, l’Ukrainien Oleksandr Gvozdyk invaincu chez les professionnels avec 14 victoires dont 12 par KO !!! Un vrai test pour Mehdi Amar.</p>
',
'sound1_id' => null,
'sound2_id' => null,
'important' => null,
'status' => '1',
'created' => '2018-03-16 08:49:46',
'updated' => '2018-03-16 08:50:55'
),
'Media' => 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' => '3',
'title' => 'Sport',
'alias' => 'sport',
'created' => '2016-10-24 16:29:20',
'updated' => '2017-02-13 09:26:18'
),
'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' => '2017-09-14 08:09:51',
'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