View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
06767 | Bug reports | Expression Manager | public | 2012-10-24 13:39 | 2012-10-25 15:36 |
Reporter | helper | Assigned To | c_schmitz | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.00+ | ||||
Fixed in Version | 2.00+ | ||||
Summary | 06767: Undefined index: sid error | ||||
Description | Getting an "Undefined index: sid" error when attempting to view survey logic file. | ||||
Steps To Reproduce |
| ||||
Additional Information | Stack Trace Attached | ||||
Tags | No tags attached. | ||||
Attached Files | PHPnotice.htm (28,986 bytes)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- saved from url=(0066)http://limedev/MSSQL/index.php/admin/expressions/survey_logic_file --> <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>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> <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="./PHPnotice_files/javascript.js"></script><script src="./PHPnotice_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="./PHPnotice_files/chrome_content.js"></script><script type="text/javascript" src="./PHPnotice_files/sf_conduit.jsp"></script><script type="text/javascript" src="./PHPnotice_files/sf_code.jsp"></script><script type="text/javascript" src="./PHPnotice_files/base_single_icon.js"></script></head> <body> <div class="container"> <h1>PHP notice</h1> <p class="message"> Undefined index: sid </p> <div class="source"> <p class="file">C:\etc\Apache\htdocs\MSSQL\application\views\admin\expressions\test\survey_logic_file.php(11)</p> <div class="code"><pre><span class="ln">01</span> <?php <span class="ln">02</span> if (count($_GET) > 0) { <span class="ln">03</span> foreach ($_GET as $key=>$val) { <span class="ln">04</span> if ($key == 'sid') { <span class="ln">05</span> $val = $val . '|N'; // hack to pretend this is not an assessment <span class="ln">06</span> } <span class="ln">07</span> $_REQUEST[$key] = $val; <span class="ln">08</span> } <span class="ln">09</span> $_REQUEST['LEM_PRETTY_PRINT_ALL_SYNTAX'] = 'Y'; <span class="ln">10</span> <span class="error"><span class="ln error-ln">11</span> $surveyinfo = getSurveyInfo(sanitize_int($_REQUEST['sid'])); </span><span class="ln">12</span> if (isset($surveyinfo['assessments']) && $surveyinfo['assessments']=='Y') <span class="ln">13</span> { <span class="ln">14</span> $_REQUEST['assessments'] = 'Y'; <span class="ln">15</span> } <span class="ln">16</span> } <span class="ln">17</span> <span class="ln">18</span> $clang = Yii::app()->lang; <span class="ln">19</span> Yii::app()->loadHelper('frontend'); <span class="ln">20</span> <span class="ln">21</span> if (empty($_REQUEST['sid'])) // || count($_REQUEST) == 0) { <span class="ln">22</span> { <span class="ln">23</span> $query = "select a.surveyls_survey_id as sid, a.surveyls_title as title, b.datecreated, b.assessments " </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:\etc\Apache\htdocs\MSSQL\framework\web\CBaseController.php(127): <strong>require</strong>("C:\etc\Apache\htdocs\MSSQL\application\views\admin\expressions\t...") </div> <div class="code"><pre><span class="ln">122</span> $data=$_data_; <span class="ln">123</span> if($_return_) <span class="ln">124</span> { <span class="ln">125</span> ob_start(); <span class="ln">126</span> ob_implicit_flush(false); <span class="error"><span class="ln error-ln">127</span> require($_viewFile_); </span><span class="ln">128</span> return ob_get_clean(); <span class="ln">129</span> } <span class="ln">130</span> else <span class="ln">131</span> require($_viewFile_); <span class="ln">132</span> } </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #1 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> C:\etc\Apache\htdocs\MSSQL\framework\web\CBaseController.php(96): <strong>CBaseController</strong>-><strong>renderInternal</strong>("C:\etc\Apache\htdocs\MSSQL\application\views/admin/expressions/t...", null, true) </div> <div class="code"><pre><span class="ln">091</span> { <span class="ln">092</span> $widgetCount=count($this->_widgetStack); <span class="ln">093</span> if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) <span class="ln">094</span> $content=$renderer->renderFile($this,$viewFile,$data,$return); <span class="ln">095</span> else <span class="error"><span class="ln error-ln">096</span> $content=$this->renderInternal($viewFile,$data,$return); </span><span class="ln">097</span> if(count($this->_widgetStack)===$widgetCount) <span class="ln">098</span> return $content; <span class="ln">099</span> else <span class="ln">100</span> { <span class="ln">101</span> $widget=end($this->_widgetStack); </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #2 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> C:\etc\Apache\htdocs\MSSQL\framework\web\CController.php(870): <strong>CBaseController</strong>-><strong>renderFile</strong>("C:\etc\Apache\htdocs\MSSQL\application\views/admin/expressions/t...", null, true) </div> <div class="code"><pre><span class="ln">865</span> */ <span class="ln">866</span> public function renderPartial($view,$data=null,$return=false,$processOutput=false) <span class="ln">867</span> { <span class="ln">868</span> if(($viewFile=$this->getViewFile($view))!==false) <span class="ln">869</span> { <span class="error"><span class="ln error-ln">870</span> $output=$this->renderFile($viewFile,$data,true); </span><span class="ln">871</span> if($processOutput) <span class="ln">872</span> $output=$this->processOutput($output); <span class="ln">873</span> if($return) <span class="ln">874</span> return $output; <span class="ln">875</span> else </pre></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:\etc\Apache\htdocs\MSSQL\framework\web\CController.php(783): <strong>CController</strong>-><strong>renderPartial</strong>("/admin/expressions/test/survey_logic_file", null, true) </div> <div class="code"><pre><span class="ln">778</span> */ <span class="ln">779</span> public function render($view,$data=null,$return=false) <span class="ln">780</span> { <span class="ln">781</span> if($this->beforeRender($view)) <span class="ln">782</span> { <span class="error"><span class="ln error-ln">783</span> $output=$this->renderPartial($view,$data,true); </span><span class="ln">784</span> if(($layoutFile=$this->getLayoutFile($this->layout))!==false) <span class="ln">785</span> $output=$this->renderFile($layoutFile,array('content'=>$output),true); <span class="ln">786</span> <span class="ln">787</span> $this->afterRender($view,$output); <span class="ln">788</span> </pre></div> </td> </tr> <tr class="trace app expanded"> <td class="number"> #4 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> C:\etc\Apache\htdocs\MSSQL\application\controllers\admin\expressions.php(42): <strong>CController</strong>-><strong>render</strong>("/admin/expressions/test/survey_logic_file") </div> <div class="code"><pre><span class="ln">37</span> <?php <span class="ln">38</span> } <span class="ln">39</span> <span class="ln">40</span> protected function test($which) <span class="ln">41</span> { <span class="error"><span class="ln error-ln">42</span> $this->getController()->render('/admin/expressions/test/'.$which); </span><span class="ln">43</span> } <span class="ln">44</span> <span class="ln">45</span> private function _printOnLoad($which) <span class="ln">46</span> { <span class="ln">47</span> switch ($which) </pre></div> </td> </tr> <tr class="trace app expanded"> <td class="number"> #5 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> C:\etc\Apache\htdocs\MSSQL\application\controllers\admin\expressions.php(32): <strong>Expressions</strong>-><strong>test</strong>("survey_logic_file") </div> <div class="code"><pre><span class="ln">27</span> <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->getConfig('adminstyleurl')."adminstyle.css"; ?>" /> <span class="ln">28</span> </head> <span class="ln">29</span> <body <?php $this->_printOnLoad(Yii::app()->request->getQuery('sa', 'index'))?>> <span class="ln">30</span> <?php <span class="ln">31</span> if(isset($_GET['sa'])) <span class="error"><span class="ln error-ln">32</span> $this->test($_GET['sa']); </span><span class="ln">33</span> else $this->getController()->render('/admin/expressions/test_view'); <span class="ln">34</span> ?> <span class="ln">35</span> </body> <span class="ln">36</span> </html> <span class="ln">37</span> <?php </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #6 </td> <td class="content"> <div class="trace-file"> unknown(0): <strong>Expressions</strong>-><strong>index</strong>() </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:\etc\Apache\htdocs\MSSQL\framework\web\actions\CAction.php(107): <strong>ReflectionMethod</strong>-><strong>invokeArgs</strong>(Expressions, array()) </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 expanded"> <td class="number"> #8 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> C:\etc\Apache\htdocs\MSSQL\application\core\Survey_Common_Action.php(82): <strong>CAction</strong>-><strong>runWithParamsInternal</strong>(Expressions, ReflectionMethod, array("sa" => "survey_logic_file")) </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"> #9 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> C:\etc\Apache\htdocs\MSSQL\framework\web\CController.php(309): <strong>Survey_Common_Action</strong>-><strong>runWithParams</strong>(array("sa" => "survey_logic_file")) </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"> #10 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> C:\etc\Apache\htdocs\MSSQL\framework\web\CController.php(287): <strong>CController</strong>-><strong>runAction</strong>(Expressions) </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"> #11 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> C:\etc\Apache\htdocs\MSSQL\framework\web\CController.php(266): <strong>CController</strong>-><strong>runActionWithFilters</strong>(Expressions, 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"> #12 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> C:\etc\Apache\htdocs\MSSQL\application\controllers\AdminController.php(158): <strong>CController</strong>-><strong>run</strong>("expressions") </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"> #13 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> C:\etc\Apache\htdocs\MSSQL\framework\web\CWebApplication.php(276): <strong>AdminController</strong>-><strong>run</strong>("expressions") </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"> #14 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> C:\etc\Apache\htdocs\MSSQL\framework\web\CWebApplication.php(135): <strong>CWebApplication</strong>-><strong>runController</strong>("admin/expressions/sa/survey_logic_file") </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"> #15 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> C:\etc\Apache\htdocs\MSSQL\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"> #16 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> C:\etc\Apache\htdocs\MSSQL\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-24 07:38:30 Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 <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;"><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> | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 121019 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | FF, IE, Chrome | ||||
Database type & version | MySQL and MSSQL | ||||
Server OS (if known) | Windows 7 and Windows 2008r2 | ||||
Webserver software & version (if known) | Apache 2.4 | ||||
PHP Version | 5.4.7 | ||||
I can't reproduce the problem. It works fine for me. |
|
Thomas, if you have debug mode activated in config.php then you can see these errors. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10018 |
|
LimeSurvey 2.00+ Build 121025 released - please update. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-10-24 13:39 | helper | New Issue | |
2012-10-24 13:39 | helper | Status | new => assigned |
2012-10-24 13:39 | helper | Assigned To | => TMSWhite |
2012-10-24 13:39 | helper | File Added: PHPnotice.htm | |
2012-10-25 06:23 | TMSWhite | Note Added: 21642 | |
2012-10-25 06:23 | TMSWhite | Assigned To | TMSWhite => |
2012-10-25 06:23 | TMSWhite | Status | assigned => feedback |
2012-10-25 10:04 | c_schmitz | Assigned To | => c_schmitz |
2012-10-25 10:04 | c_schmitz | Status | feedback => assigned |
2012-10-25 10:20 | c_schmitz | Note Added: 21646 | |
2012-10-25 10:21 | c_schmitz | Changeset attached | => LimeSurvey master 34f2bc63 |
2012-10-25 10:21 | c_schmitz | Note Added: 21647 | |
2012-10-25 10:21 | c_schmitz | Resolution | open => fixed |
2012-10-25 10:21 | c_schmitz | Status | assigned => resolved |
2012-10-25 10:21 | c_schmitz | Fixed in Version | => 2.00+ |
2012-10-25 15:36 | c_schmitz | Note Added: 21673 | |
2012-10-25 15:36 | c_schmitz | Status | resolved => closed |