C:\etc\Apache\htdocs\MSSQL\framework\db\schema\CDbCommandBuilder.php(686)
674 675 for($i=0;$i<$n;++$i) 676 { 677 if(isset($values[$i][$name])) 678 { 679 $value=$table->columns[$name]->typecast($values[$i][$name]); 680 if(is_string($value)) 681 $values[$i][$name]=$db->quoteValue($value); 682 else 683 $values[$i][$name]=$value; 684 } 685 else 686 throw new CDbException(Yii::t('yii','The value for the column "{column}" is not supplied when querying the table "{table}".', 687 array('{table}'=>$table->name,'{column}'=>$name))); 688 } 689 } 690 if(count($values)===1) 691 { 692 $entries=array(); 693 foreach($values[0] as $name=>$value) 694 $entries[]=$prefix.$table->columns[$name]->rawName.($value===null?' IS NULL':'='.$value); 695 return implode(' AND ',$entries); 696 } 697 698 return $this->createCompositeInCondition($table,$values,$prefix);
#0 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\db\schema\CDbCommandBuilder.php(498): CDbCommandBuilder->createInCondition(CMysqlTableSchema, array("gid", "language"), array(array("gid" => null, "language" => null)), null) 493 $prefix=$this->_schema->quoteTableName($criteria->alias).'.'; 494 if(!is_array($pk)) // single key 495 $pk=array($pk); 496 if(is_array($table->primaryKey) && !isset($pk[0]) && $pk!==array()) // single composite key 497 $pk=array($pk); 498 $condition=$this->createInCondition($table,$table->primaryKey,$pk,$prefix); 499 if($criteria->condition!='') 500 $criteria->condition=$condition.' AND ('.$criteria->condition.')'; 501 else 502 $criteria->condition=$condition; 503 |
#1 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\db\ar\CActiveRecord.php(1679): CDbCommandBuilder->createPkCriteria(CMysqlTableSchema, array("gid" => null, "language" => null), "", array()) 1674 public function updateByPk($pk,$attributes,$condition='',$params=array()) 1675 { 1676 Yii::trace(get_class($this).'.updateByPk()','system.db.ar.CActiveRecord'); 1677 $builder=$this->getCommandBuilder(); 1678 $table=$this->getTableSchema(); 1679 $criteria=$builder->createPkCriteria($table,$pk,$condition,$params); 1680 $command=$builder->createUpdateCommand($table,$attributes,$criteria); 1681 return $command->execute(); 1682 } 1683 1684 /** |
#2 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\db\ar\CActiveRecord.php(1061): CActiveRecord->updateByPk(array("gid"
=> null, "language" => null), array("comptes inactifs :
{INSERTANS:133667X320X2906}" => null, "Comptes inactifs " =>
null)) 1056 if($this->beforeSave()) 1057 { 1058 Yii::trace(get_class($this).'.update()','system.db.ar.CActiveRecord'); 1059 if($this->_pk===null) 1060 $this->_pk=$this->getPrimaryKey(); 1061 $this->updateByPk($this->getOldPrimaryKey(),$this->getAttributes($attributes)); 1062 $this->_pk=$this->getPrimaryKey(); 1063 $this->afterSave(); 1064 return true; 1065 } 1066 else |
#3 |
+
–
C:\etc\Apache\htdocs\MSSQL\application\helpers\common_helper.php(6285): CActiveRecord->update(array("description"
=> "comptes inactifs : {INSERTANS:133667X320X2906}", "group_name"
=> "Comptes inactifs "), array("gid" => "322", "language" =>
"fr")) 6280 $where = array( 6281 'gid' => $gid, 6282 'language' => $language 6283 ); 6284 6285 Groups::model()->update($data,$where); 6286 6287 } // Enf if modified 6288 } // end while qentry 6289 6290 # translate 'question' and 'help' INSERTANS tags in questions |
#4 |
+
–
C:\etc\Apache\htdocs\MSSQL\application\helpers\admin\import_helper.php(3956): translateInsertansTags("133667",
"254891", array("254891X7X120" => "133667X320X2906", "254891X7"
=> "133667X320", "254891X8X121SQ001" => "133667X321X2907SQ001",
"254891X8X121" => "133667X321X2907", ...)) 3951 // Set survey rights 3952 Survey_permissions::model()->giveAllSurveyPermissions(Yii::app()->session['loginID'],$iNewSID); 3953 $aOldNewFieldmap=reverseTranslateFieldNames($iOldSID,$iNewSID,$aGIDReplacements,$aQIDReplacements); 3954 $results['FieldReMap']=$aOldNewFieldmap; 3955 LimeExpressionManager::SetSurveyId($iNewSID); 3956 translateInsertansTags($iNewSID,$iOldSID,$aOldNewFieldmap); 3957 LimeExpressionManager::RevertUpgradeConditionsToRelevance($iNewSID); 3958 LimeExpressionManager::UpgradeConditionsToRelevance($iNewSID); 3959 return $results; 3960 } 3961 |
#5 |
+
–
C:\etc\Apache\htdocs\MSSQL\application\helpers\admin\import_helper.php(3322): XMLImportSurvey("C:\etc\Apache\htdocs\MSSQL\tmp\srxrx3azeki58zdgsd2v_limesurvey_s...", null, null, null, ...) 3317 { 3318 return CSVImportSurvey($sFullFilepath, $DestSurveyID, $bTranslateLinksFields); 3319 } 3320 elseif (isset($sExtension) && strtolower($sExtension) == 'lss') 3321 { 3322 return XMLImportSurvey($sFullFilepath, null, $sNewSurveyName, $DestSurveyID, $bTranslateLinksFields); 3323 } 3324 elseif (isset($sExtension) && strtolower($sExtension) == 'txt') 3325 { 3326 return TSVImportSurvey($sFullFilepath); 3327 } |
#6 |
+
–
C:\etc\Apache\htdocs\MSSQL\application\controllers\admin\surveyadmin.php(969): importSurveyFile("C:\etc\Apache\htdocs\MSSQL\tmp\srxrx3azeki58zdgsd2v_limesurvey_s...", true) 964 // Now, we have the survey : start importing 965 Yii::app()->loadHelper('admin/import'); 966 967 if ($action == 'importsurvey' && !$aData['bFailed']) 968 { 969 $aImportResults=importSurveyFile($sFullFilepath,(isset($_POST['translinksfields']))); 970 if (is_null($aImportResults)) $importerror = true; 971 } 972 elseif ($action == 'copysurvey' && !$aData['bFailed']) 973 { 974 $aImportResults = XMLImportSurvey('', $copysurveydata, $sNewSurveyName); |
#7 |
unknown(0): SurveyAdmin->copy()
|
#8 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\web\actions\CAction.php(107): ReflectionMethod->invokeArgs(SurveyAdmin, array()) 102 else if($param->isDefaultValueAvailable()) 103 $ps[]=$param->getDefaultValue(); 104 else 105 return false; 106 } 107 $method->invokeArgs($object,$ps); 108 return true; 109 } 110 } |
#9 |
+
–
C:\etc\Apache\htdocs\MSSQL\application\core\Survey_Common_Action.php(100): CAction->runWithParamsInternal(SurveyAdmin, ReflectionMethod, array("sa" => "copy")) 095 $oMethod = new ReflectionMethod($this, $sDefault); 096 } 097 098 // We're all good to go, let's execute it 099 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 100 return parent::runWithParamsInternal($this, $oMethod, $params); 101 } 102 103 /** 104 * Some functions have different parameters, which are just an alias of the 105 * usual parameters we're getting in the url. This function just populates |
#10 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\web\CController.php(309): Survey_Common_Action->runWithParams(array("sa" => "copy")) 304 { 305 $priorAction=$this->_action; 306 $this->_action=$action; 307 if($this->beforeAction($action)) 308 { 309 if($action->runWithParams($this->getActionParams())===false) 310 $this->invalidActionParams($action); 311 else 312 $this->afterAction($action); 313 } 314 $this->_action=$priorAction; |
#11 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\web\CController.php(287): CController->runAction(SurveyAdmin) 282 * @see runAction 283 */ 284 public function runActionWithFilters($action,$filters) 285 { 286 if(empty($filters)) 287 $this->runAction($action); 288 else 289 { 290 $priorAction=$this->_action; 291 $this->_action=$action; 292 CFilterChain::create($this,$action,$filters)->run(); |
#12 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\web\CController.php(266): CController->runActionWithFilters(SurveyAdmin, array()) 261 { 262 if(($parent=$this->getModule())===null) 263 $parent=Yii::app(); 264 if($parent->beforeControllerAction($this,$action)) 265 { 266 $this->runActionWithFilters($action,$this->filters()); 267 $parent->afterControllerAction($this,$action); 268 } 269 } 270 else 271 $this->missingAction($actionID); |
#13 |
+
–
C:\etc\Apache\htdocs\MSSQL\application\controllers\AdminController.php(169): CController->run("survey") 164 $this->redirect($this->createUrl('/admin/authentication/sa/login')); 165 } 166 167 } 168 169 return parent::run($action); 170 } 171 172 /** 173 * Routes all the actions to their respective places 174 * |
#14 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\web\CWebApplication.php(276): AdminController->run("survey") 271 { 272 list($controller,$actionID)=$ca; 273 $oldController=$this->_controller; 274 $this->_controller=$controller; 275 $controller->init(); 276 $controller->run($actionID); 277 $this->_controller=$oldController; 278 } 279 else 280 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 281 array('{route}'=>$route===''?$this->defaultController:$route))); |
#15 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\web\CWebApplication.php(135): CWebApplication->runController("admin/survey/sa/copy") 130 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 131 $_GET[$name]=$value; 132 } 133 else 134 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 135 $this->runController($route); 136 } 137 138 /** 139 * Registers the core application components. 140 * This method overrides the parent implementation by registering additional core components. |
#16 |
+
–
C:\etc\Apache\htdocs\MSSQL\framework\base\CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
#17 |
+
–
C:\etc\Apache\htdocs\MSSQL\index.php(178): CApplication->run() 173 * 174 */ 175 require_once BASEPATH . 'yii' . EXT; 176 require_once APPPATH . 'core/LSYii_Application' . EXT; 177 178 Yii::createApplication('LSYii_Application', APPPATH . 'config/config' . EXT)->run(); 179 180 /* End of file index.php */ 181 /* Location: ./index.php */ |