PHP notice

Undefined index: id_lucrare

/data/www/domeny/knaufpoint.cz/www/protected/views/site/lucrare.php(48)

36 
37     //spotreba = (value1 + value2) / (value1 * value2) * value3 * value4 * 1.5
38 
39   </script>
40 
41   <div id="pageWrapperOuter">
42     <div id="pageWrapperInner" class="clearfix">
43       <section class="viewport only txt flexibleHeight">
44         <div class="wrapperinner">
45           <?php
46 
47           if (!isset($_SESSION['id_lucrare'])) {
48             $_SESSION['id_lucrare'] = $_GET['id_lucrare'];
49           }
50 
51           $delka = 300;
52           $sirka = 300;
53           $tloustka = 5;
54           $spara = 5;
55           $plocha = 10;
56 
57           //spotreba = (value1 + value2) / (value1 * value2) * value3 * value4 * 1.5
58           $spotreba = ($delka + $sirka) / ($delka * $sirka) * $tloustka * $spara * 1.5 * $plocha;
59 
60           ?>

Stack Trace

#4
+
 /data/www/domeny/knaufpoint.cz/www/protected/controllers/SiteController.php(305): CController->render("lucrare", array("categoriiSolutii" => array(CategorieSolutie, CategorieSolutie, CategorieSolutie, CategorieSolutie), "model" => Lucrare, "suprafata" => 10, "grosime" => 10, ...))
300                 'suprafata'         => $suprafata,
301                 'grosime'           => $grosime,
302                 'produseDinCatalog' => $produseDinCatalog,
303                 'CatalogCategorie'  => $CatalogCategorie,
304             ]
305         );
306     }
307 
308     public function actionCatalog() {
309         // header('Content-Type: text/html; charset=utf-8');
310 
#17
+
 /data/www/domeny/knaufpoint.cz/www/index.php(44): CApplication->run()
39 }
40 
41 /* <-- HACK FOR RELATED CATEGORIES */
42 
43 require_once($yii);
44 Yii::createWebApplication($config)->run();
45 
46 $content = ob_get_contents();
47 
48 $content = str_replace('<span class="required">*</span>', '*', $content);
49 
2024-03-29 06:54:47 Apache Yii Framework/1.1.12