PHP warning

Use of undefined constant php - assumed 'php' (this will throw an Error in a future version of PHP)

/var/www/html/protected/views/site/_appliedtrainingcenter.php(379)

367                     <?php echo $form->labelEx($model, 'year_of_establishment'); ?>
368                 
369                     <?php echo $form->textField($model, 'year_of_establishment', array('class' => 'form-control', 'maxlength'=>4 )) ?>
370                     <?php echo $form->error($model, 'year_of_establishment'); ?>
371                 </div>
372                 
373                 <div class="col-md-6"><?php echo $form->labelEx($model, 'type_of_property'); ?>
374                 
375                      <?php echo $form->dropDownList($model, 'type_of_property', array('Owned' => 'Owned', 'Rented' => 'Rented'), array('empty' => 'Select Type Of Property', 'class' => 'form-control')) ?>
376                   <?php echo $form->error($model, 'type_of_property'); ?>
377                 </div>
378                    <!-- 
379                     <div class="col-md-6"><?php// echo $form->labelEx($model, 'proof_of_type'); ?>
380                 
381                      <?php //echo $form->dropDownList($model, 'proof_of_type', array('Electricity Bill' => 'Electricity Bill', 'Rent Agreement' => 'Rent Agreement','Title Deed' => 'Title Deed','NOC'=>'NOC'), array('empty' => 'Select Proof of Type', 'class' => 'form-control')) ?>
382                   <?php //echo $form->error($model, 'proof_of_type'); ?>
383                 </div>
384 
385                  <div class="col-md-6">
386                     <?php //echo $form->labelEx($model, 'proof_of_attachments'); ?>
387                     <?php //echo $form->fileField($model, 'proof_of_attachments', array('class' => 'form-control')) ?>
388                     <?php //echo $form->error($model, 'proof_of_attachments'); ?>
389                     <span class="text-danger">Attachment of Proof should be pdf | doc | docx | jpg | png and size upto 2MB.</span>
390                  </div>-->
391                  <div class="clearfix"></div>

Stack Trace

#3
+
 /var/www/html/protected/views/site/appliedtrainingcenter.php(25): CController->renderPartial("_appliedtrainingcenter", array("model" => TrainingCenter))
20             <?php if(isset($_GET['msg'])){ ?>
21             <div class="alert alert-success">
22               <strong>Success!</strong> Thank you for Applying. We will respond to you as soon as possible.
23             </div>
24             <?php } ?>
25             <?php $this->renderPartial('_appliedtrainingcenter', array('model'=>$model)); ?>
26           </div>
27     </div>
28 </div>
29 
30 <!-- jQuery -->
#8
+
 /var/www/html/protected/controllers/SiteController.php(11609): CController->render("appliedtrainingcenter", array("model" => TrainingCenter))
11604 
11605             
11606         }
11607 
11608         $this->render('appliedtrainingcenter', array(
11609             'model' => $model,
11610         ));
11611     }
11612 
11613 
11614     /*old public function actionGetJobRole() {
#16
+
 /var/www/html/index.php(13): CApplication->run()
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
2026-06-07 01:35:17 Apache/2.4.54 (Debian) Yii Framework/1.1.20