ParseError

syntax error, unexpected '>'

/mnt/data/shnoulle/nginx/www/develop/application/controllers/admin/dataentry.php(1504)

1492             // First Check if the survey uses tokens and if a token has been provided
1493             if ($tokenTableExists && (!$_POST['token'])) {
1494                 $errormsg = CHtml::tag('div', array('class'=>'warningheader'), gT("Error"));
1495                 $errormsg .= CHtml::tag('p', array(), gT("This is a closed-access survey, so you must supply a access code.  Please contact the administrator for assistance."));
1496             } elseif ($tokenTableExists && $lastanswfortoken == 'UnknownToken') {
1497                 $errormsg = CHtml::tag('div', array('class'=>'warningheader'), gT("Error"));
1498                 $errormsg .= CHtml::tag('p', array(), gT("The access code have provided is not valid or has already been used."));
1499             } elseif ($tokenTableExists && $lastanswfortoken != '') {
1500                 $errormsg = CHtml::tag('div', array('class'=>'warningheader'), gT("Error"));
1501                 $errormsg .= CHtml::tag('p', array(), gT("There is already a recorded answer for this access code
1502 
1503                 if ($lastanswfortoken != 'PrivacyProtected') {
1504                     $errormsg .= "<br /><br />".gT("Follow the following link to update it").":\n";
1505                     $errormsg .= CHtml::link("[id:$lastanswfortoken]",
1506                         $this->getController()->createUrl('/admin/dataentry/sa/editdata/subaction/edit/id/'.$lastanswfortoken.'/surveyid/'.$surveyid),
1507                         array('title' => gT("Edit this entry")));
1508                     $errormsg .= "<br/><br/>";
1509                 } else {
1510                     $errormsg .= "<br /><br />".gT("This surveys uses anonymized responses, so you can't update your response.")."\n";
1511                 }
1512             } else {
1513 
1514                 if (isset($_POST['save']) && $_POST['save'] == "on") {
1515                     $aData['save'] = true;
1516                     $saver = [];

Stack Trace

#4
+
 /mnt/data/shnoulle/nginx/www/develop/application/controllers/AdminController.php(163): CController->run("dataentry")
158         }
159 
160         $this->runModuleController($action);
161 
162 
163         return parent::run($action);
164     }
165 
166     /**
167      * Starting with LS4, 3rd party developper can extends any of the LimeSurve controllers.
168      */
#8
+
 /mnt/data/shnoulle/nginx/www/develop/index.php(195): CApplication->run()
190 require_once APPPATH . 'core/LSYii_Application' . EXT;
191 
192 $config = require_once(APPPATH . 'config/internal' . EXT);
193 
194 Yii::$enableIncludePath = false;
195 Yii::createApplication('LSYii_Application', $config)->run();
196 
197 /* End of file index.php */
198 /* Location: ./index.php */
2019-10-04 13:09:20 nginx/1.16.1 Yii Framework/1.1.21