reisen/Kambodscha PHP warning

PHP warning

Cannot modify header information - headers already sent by (output started at /www/htdocs/w00ec255/its-your-trip.com/protected/controllers/SearchController.php:219)

/www/htdocs/w00ec255/its-your-trip.com/protected/views/search/index.php(9)

01 <?php
02 $page_load_key = "first_time";
03 $page_load_val = "";
04 $lazy = "";
05 if(!isset($_COOKIE[$page_load_key])) 
06 {
07   $lazy = "loading='lazy'";
08   $page_load_val = "yes";
09   setcookie($page_load_key, $page_load_val, time() + (86400 * 30), "/"); // 86400 = 1 day
10 }
11 else
12 {
13   $lazy = "";
14   $page_load_val = "no";
15   setcookie($page_load_key, $page_load_val, time() + (86400 * 30), "/"); // 86400 = 1 day
16 }
17 ?>
18 <style>
19 .summary
20 {
21     display:inline;

Stack Trace

#0
+
 /www/htdocs/w00ec255/its-your-trip.com/protected/views/search/index.php(9): setcookie("first_time", "yes", 1755370715, "/")
04 $lazy = "";
05 if(!isset($_COOKIE[$page_load_key])) 
06 {
07   $lazy = "loading='lazy'";
08   $page_load_val = "yes";
09   setcookie($page_load_key, $page_load_val, time() + (86400 * 30), "/"); // 86400 = 1 day
10 }
11 else
12 {
13   $lazy = "";
14   $page_load_val = "no";
#5
+
 /www/htdocs/w00ec255/its-your-trip.com/protected/controllers/SearchController.php(674): CController->render("index", array("dataProvider" => CSqlDataProvider, "treeSort" => array(array(array("text" => "<input checked=\"checked\" type="checkbox">Alle Länder", "expanded" => false, "id" => "allC", "children" => array(array("text" => "<input class="select" name="Kambodscha" checked=\"checked\" type..."))))), "count" => "11", "countries" => array(Country), ...))
669             'region_text_continent' => $search_text_continent,
670             'region_text_country' => $search_text_country,
671             'region_text_category' => $search_text_category,
672             'cat_google_de' => $cat_google_de,
673             'searchEntrys' => $searchEntrys,
674         ));
675         
676         Yii::app()->session['_country'] = array();
677         Yii::app()->session['_activity'] = array();
678     }
679     
#13
+
 /www/htdocs/w00ec255/its-your-trip.com/index.php(16): CApplication->run()
11 defined('YII_DEBUG') or define('YII_DEBUG',true);
12 // specify how many levels of call stack should be shown in each log message
13 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
14 
15 require_once($yii);
16 Yii::createWebApplication($config)->run();
2025-07-17 20:58:35 Apache Yii Framework/1.1.10