Notice (8): Undefined index: swineflu [APP/controllers/pages_controller.php, line 613]
Code |
Context$depts = array(
"fir" => "first",
"hom" => "local",
"univ" => "university",
"int" => "world",
"eco" => "economy",
"zawaya" => "oped",
"spo" => "sport",
"var" => "life",
"cul" => "culture",
"cul1" => "culture",
"fea" => "feature",
"spe" => "",
"opi" => "oped",
"env" => "environment",
"bea" => "environment",
"las1" => "lasth",
"las" => "last",
"press" => "press",
"press1" => "press"
)
$oldPath = "swineflu"
$oldPath = $this->params['dept'];
$newPath = $depts[$oldPath];
PagesController::translate() - APP/controllers/pages_controller.php, line 613
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88
Warning (2): Cannot modify header information - headers already sent by (output started at /home/awan/public_html/cake/basics.php:109) [APP/controllers/pages_controller.php, line 625]
Code |
Context$depts = array(
"fir" => "first",
"hom" => "local",
"univ" => "university",
"int" => "world",
"eco" => "economy",
"zawaya" => "oped",
"spo" => "sport",
"var" => "life",
"cul" => "culture",
"cul1" => "culture",
"fea" => "feature",
"spe" => "",
"opi" => "oped",
"env" => "environment",
"bea" => "environment",
"las1" => "lasth",
"las" => "last",
"press" => "press",
"press1" => "press"
)
$oldPath = "swineflu"
$newPath = null
$date = "207041"
$url = "/207041/"
header - [internal], line ??
PagesController::translate() - APP/controllers/pages_controller.php, line 625
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88
Warning (2): Cannot modify header information - headers already sent by (output started at /home/awan/public_html/cake/basics.php:109) [APP/controllers/pages_controller.php, line 626]
Code |
Context$depts = array(
"fir" => "first",
"hom" => "local",
"univ" => "university",
"int" => "world",
"eco" => "economy",
"zawaya" => "oped",
"spo" => "sport",
"var" => "life",
"cul" => "culture",
"cul1" => "culture",
"fea" => "feature",
"spe" => "",
"opi" => "oped",
"env" => "environment",
"bea" => "environment",
"las1" => "lasth",
"las" => "last",
"press" => "press",
"press1" => "press"
)
$oldPath = "swineflu"
$newPath = null
$date = "207041"
$url = "/207041/"
header - [internal], line ??
PagesController::translate() - APP/controllers/pages_controller.php, line 626
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88