Fehler #122
geschlossenFehlermeldungen makeAppointment
100%
Beschreibung
Lokal: Wenn kein Elternsprechtag eingetragen ist, wird eine Fehlermeldung geworfen.
Invalid argument supplied for foreach()
Stacktrace:
/home/cehringfeld/public_html/est/trunk/src/framework/web/CBaseController.php(173): CJuiTabs->run()
#1
–
/home/cehringfeld/public_html/est/trunk/src/protected/views/appointment/makeAppointment.php(73): CBaseController->widget("zii.widgets.jui.CJuiTabs", array("tabs" => null, "options" => array("collapsible" => false), "htmlOptions" => array("style" => "border:none;"), "cssFile" => false))
68 ),
69 'htmlOptions' => array(
70 'style'=>'border:none;'
71 ),
72 'cssFile' => false,
73 ));
74 ?>
75 </div>
76 <div class="row js_hide">
77 78 switch (count($arr_tabs)) {
#2
+
/home/cehringfeld/public_html/est/trunk/src/framework/web/CBaseController.php(126): require("/home/cehringfeld/public_html/est/trunk/src/protected/views/appo...")
#3
–
/home/cehringfeld/public_html/est/trunk/src/protected/extensions/yii-debug-toolbar/components/YiiDebugViewRenderer.php(47): CBaseController->renderInternal("/home/cehringfeld/public_html/est/trunk/src/protected/views/appo...", array("model" => Appointment), true)
42
43 if (false !== $this->getIsProxy())
44 {
45 return $this->instance->renderFile($context,$sourceFile,$data,$return);
46 }
47 return $context->renderInternal($sourceFile,$data,$return);
48 }
49
50 public function generateViewFile($sourceFile, $viewFile)
51 {
52 if (false !== $this->getIsProxy())
#4
/home/cehringfeld/public_html/est/trunk/src/framework/web/CBaseController.php(93): YiiDebugViewRenderer->renderFile(AppointmentController, "/home/cehringfeld/public_html/est/trunk/src/protected/views/appo...", array("model" => Appointment), true)
#5
/home/cehringfeld/public_html/est/trunk/src/framework/web/CController.php(869): CBaseController->renderFile("/home/cehringfeld/public_html/est/trunk/src/protected/views/appo...", array("model" => Appointment), true)
#6
+
/home/cehringfeld/public_html/est/trunk/src/framework/web/CController.php(782): CController->renderPartial("makeAppointment", array("model" => Appointment), true)
#7
–
/home/cehringfeld/public_html/est/trunk/src/protected/controllers/AppointmentController.php(129): CController->render("makeAppointment", array("model" => Appointment))
124 if ($model->save()) {
125 Yii::app()->user->setFlash('success', 'Ihr Termin wurde erfolgreich gebucht.');
126 $this->redirect(array('index'));
127 }
128 }
129 $this->render('makeAppointment', array('model' => $model));
130 }
131
132 /**
133 * Updates a particular model.
134 * If update is successful, the browser will be redirected to the 'view' page.
#8
unknown(0): AppointmentController->actionMakeAppointment("3")
#9
/home/cehringfeld/public_html/est/trunk/src/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(AppointmentController, array("3"))
#10
/home/cehringfeld/public_html/est/trunk/src/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(AppointmentController, ReflectionMethod, array("r" => "Appointment/makeAppointment", "teacher" => "3"))
#11
/home/cehringfeld/public_html/est/trunk/src/framework/web/CController.php(308): CInlineAction->runWithParams(array("r" => "Appointment/makeAppointment", "teacher" => "3"))
#12
/home/cehringfeld/public_html/est/trunk/src/framework/web/filters/CFilterChain.php(133): CController->runAction(CInlineAction)
#13
/home/cehringfeld/public_html/est/trunk/src/framework/web/filters/CFilter.php(40): CFilterChain->run()
#14
/home/cehringfeld/public_html/est/trunk/src/framework/web/CController.php(1145): CFilter->filter(CFilterChain)
#15
/home/cehringfeld/public_html/est/trunk/src/framework/web/filters/CInlineFilter.php(58): CController->filterAccessControl(CFilterChain)
#16
/home/cehringfeld/public_html/est/trunk/src/framework/web/filters/CFilterChain.php(130): CInlineFilter->filter(CFilterChain)
#17
/home/cehringfeld/public_html/est/trunk/src/framework/web/CController.php(291): CFilterChain->run()
#18
/home/cehringfeld/public_html/est/trunk/src/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array("accessControl"))
#19
/home/cehringfeld/public_html/est/trunk/src/framework/web/CWebApplication.php(282): CController->run("makeAppointment")
#20
/home/cehringfeld/public_html/est/trunk/src/framework/web/CWebApplication.php(141): CWebApplication->runController("Appointment/makeAppointment")
#21
/home/cehringfeld/public_html/est/trunk/src/framework/base/CApplication.php(169): CWebApplication->processRequest()
#22
/home/cehringfeld/public_html/est/trunk/src/index.php(29): CApplication->run()
Auf dem Server aktuell, da fehlt wohl en Default Zweig im Switch Case wenn mehr als 3 Tage eingetragen sind:
PHP notice
Undefined variable: column_count
/home/est/public_html/est_trunk/protected/views/appointment/makeAppointment.php(91)
079 case 1:
080 $column_count = 'twelve';
081 break;
082 case 2:
083 $column_count = 'six';
084 break;
085 case 3:
086 $column_count = 'four';
087 break;
088 }
089 foreach ($arr_tabs as $key => $value) {
090 ?>
091 <div class=" columns">
092 <h4 class="subheader text-center"></h4>
093
094 </div>
https://h1963533.stratoserver.net/~est/est_trunk/index.php?r=Appointment/makeAppointment&teacher=34
Von Christian Ehringfeld vor fast 12 Jahren aktualisiert
- Thema wurde von Wenn kein Elternsprechtag eingetragen ist, wird eine Fehlermeldung geworfen zu Fehlermeldungen makeAppointment geändert
- Beschreibung aktualisiert (Vergleich)
Von David Mock vor fast 12 Jahren aktualisiert
- Status wurde von Neu zu Erledigt geändert
- % erledigt wurde von 0 zu 100 geändert
Sollte raus sein. Ich bins jedenfalls.