View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 09147 | Bug reports | Survey taking | public | 2014-07-22 22:35 | 2014-07-30 16:18 |
| Reporter | michaeljimenez23 | Assigned To | c_schmitz | ||
| Priority | normal | Severity | block | ||
| Status | closed | Resolution | fixed | ||
| Fixed in Version | 2.05+ | ||||
| Summary | 09147: PHP 5.5 : deprecated function in phpmailer | ||||
| Description | In a text field I write for example "árbol" and "útil", after pressing the submit button show the PHP error | ||||
| Tags | No tags attached. | ||||
| Attached Files | PHP error.htm (30,236 bytes)
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<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 error</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>
</head>
<body>
<div class="container">
<h1>PHP error</h1>
<p class="message">
preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead </p>
<div class="source">
<p class="file">/home/mdcs/public_html/limesurvey/application/third_party/phpmailer/class.phpmailer.php(1726)</p>
<div class="code"><pre><span class="ln">1714</span> * @link http://tools.ietf.org/html/rfc2047
<span class="ln">1715</span> * @param string $str the text to encode
<span class="ln">1716</span> * @param string $position Where the text is going to be used, see the RFC for what that means
<span class="ln">1717</span> * @access public
<span class="ln">1718</span> * @return string
<span class="ln">1719</span> */
<span class="ln">1720</span> public function EncodeQ ($str, $position = 'text') {
<span class="ln">1721</span> // There should not be any EOL in the string
<span class="ln">1722</span> $encoded = preg_replace('/[\r\n]*/', '', $str);
<span class="ln">1723</span>
<span class="ln">1724</span> switch (strtolower($position)) {
<span class="ln">1725</span> case 'phrase':
<span class="error"><span class="ln error-ln">1726</span> $encoded = preg_replace("/([^A-Za-z0-9!*+\/ -])/e", "'='.sprintf('%02X', ord('\\1'))", $encoded);
</span><span class="ln">1727</span> break;
<span class="ln">1728</span> case 'comment':
<span class="ln">1729</span> $encoded = preg_replace("/([\(\)\"])/e", "'='.sprintf('%02X', ord('\\1'))", $encoded);
<span class="ln">1730</span> case 'text':
<span class="ln">1731</span> default:
<span class="ln">1732</span> // Replace every high ascii, control =, ? and _ characters
<span class="ln">1733</span> //TODO using /e (equivalent to eval()) is probably not a good idea
<span class="ln">1734</span> $encoded = preg_replace('/([\000-\011\013\014\016-\037\075\077\137\177-\377])/e',
<span class="ln">1735</span> "'='.sprintf('%02X', ord('\\1'))", $encoded);
<span class="ln">1736</span> break;
<span class="ln">1737</span> }
<span class="ln">1738</span>
</pre></div> </div>
<div class="traces">
<h2>Stack Trace</h2>
<table style="width:100%;">
<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>
/home/mdcs/public_html/limesurvey/application/third_party/phpmailer/class.phpmailer.php(1726): <strong>preg_replace</strong>("/([^A-Za-z0-9!*+\/ -])/e", "'='.sprintf('%02X', ord('\1'))", "Michael Jiménez") </div>
<div class="code"><pre><span class="ln">1721</span> // There should not be any EOL in the string
<span class="ln">1722</span> $encoded = preg_replace('/[\r\n]*/', '', $str);
<span class="ln">1723</span>
<span class="ln">1724</span> switch (strtolower($position)) {
<span class="ln">1725</span> case 'phrase':
<span class="error"><span class="ln error-ln">1726</span> $encoded = preg_replace("/([^A-Za-z0-9!*+\/ -])/e", "'='.sprintf('%02X', ord('\\1'))", $encoded);
</span><span class="ln">1727</span> break;
<span class="ln">1728</span> case 'comment':
<span class="ln">1729</span> $encoded = preg_replace("/([\(\)\"])/e", "'='.sprintf('%02X', ord('\\1'))", $encoded);
<span class="ln">1730</span> case 'text':
<span class="ln">1731</span> default:
</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>
/home/mdcs/public_html/limesurvey/application/third_party/phpmailer/class.phpmailer.php(1565): <strong>PHPMailer</strong>-><strong>EncodeQ</strong>("Michael Jiménez", "phrase") </div>
<div class="code"><pre><span class="ln">1560</span> $maxlen -= $maxlen % 4;
<span class="ln">1561</span> $encoded = trim(chunk_split($encoded, $maxlen, "\n"));
<span class="ln">1562</span> }
<span class="ln">1563</span> } else {
<span class="ln">1564</span> $encoding = 'Q';
<span class="error"><span class="ln error-ln">1565</span> $encoded = $this->EncodeQ($str, $position);
</span><span class="ln">1566</span> $encoded = $this->WrapText($encoded, $maxlen, true);
<span class="ln">1567</span> $encoded = str_replace('='.$this->LE, "\n", trim($encoded));
<span class="ln">1568</span> }
<span class="ln">1569</span>
<span class="ln">1570</span> $encoded = preg_replace('/^(.*)$/m', " =?".$this->CharSet."?$encoding?\\1?=", $encoded);
</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>
/home/mdcs/public_html/limesurvey/application/third_party/phpmailer/class.phpmailer.php(917): <strong>PHPMailer</strong>-><strong>EncodeHeader</strong>("Michael Jiménez", "phrase") </div>
<div class="code"><pre><span class="ln">912</span> */
<span class="ln">913</span> public function AddrFormat($addr) {
<span class="ln">914</span> if (empty($addr[1])) {
<span class="ln">915</span> return $this->SecureHeader($addr[0]);
<span class="ln">916</span> } else {
<span class="error"><span class="ln error-ln">917</span> return $this->EncodeHeader($this->SecureHeader($addr[1]), 'phrase') . " <" . $this->SecureHeader($addr[0]) . ">";
</span><span class="ln">918</span> }
<span class="ln">919</span> }
<span class="ln">920</span>
<span class="ln">921</span> /**
<span class="ln">922</span> * Wraps message for use with mailers that do not
</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>
/home/mdcs/public_html/limesurvey/application/third_party/phpmailer/class.phpmailer.php(900): <strong>PHPMailer</strong>-><strong>AddrFormat</strong>(array("jimenez@una.cr", "Michael Jiménez")) </div>
<div class="code"><pre><span class="ln">895</span> */
<span class="ln">896</span> public function AddrAppend($type, $addr) {
<span class="ln">897</span> $addr_str = $type . ': ';
<span class="ln">898</span> $addresses = array();
<span class="ln">899</span> foreach ($addr as $a) {
<span class="error"><span class="ln error-ln">900</span> $addresses[] = $this->AddrFormat($a);
</span><span class="ln">901</span> }
<span class="ln">902</span> $addr_str .= implode(', ', $addresses);
<span class="ln">903</span> $addr_str .= $this->LE;
<span class="ln">904</span>
<span class="ln">905</span> return $addr_str;
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#4 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/mdcs/public_html/limesurvey/application/third_party/phpmailer/class.phpmailer.php(1105): <strong>PHPMailer</strong>-><strong>AddrAppend</strong>("From", array(array("jimenez@una.cr", "Michael Jiménez"))) </div>
<div class="code"><pre><span class="ln">1100</span> }
<span class="ln">1101</span>
<span class="ln">1102</span> $from = array();
<span class="ln">1103</span> $from[0][0] = trim($this->From);
<span class="ln">1104</span> $from[0][1] = $this->FromName;
<span class="error"><span class="ln error-ln">1105</span> $result .= $this->AddrAppend('From', $from);
</span><span class="ln">1106</span>
<span class="ln">1107</span> // sendmail and mail() extract Cc from the header before sending
<span class="ln">1108</span> if(count($this->cc) > 0) {
<span class="ln">1109</span> $result .= $this->AddrAppend('Cc', $this->cc);
<span class="ln">1110</span> }
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#5 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/mdcs/public_html/limesurvey/application/third_party/phpmailer/class.phpmailer.php(558): <strong>PHPMailer</strong>-><strong>CreateHeader</strong>() </div>
<div class="code"><pre><span class="ln">553</span> $this->ContentType = 'multipart/alternative';
<span class="ln">554</span> }
<span class="ln">555</span>
<span class="ln">556</span> $this->error_count = 0; // reset errors
<span class="ln">557</span> $this->SetMessageType();
<span class="error"><span class="ln error-ln">558</span> $header = $this->CreateHeader();
</span><span class="ln">559</span> $body = $this->CreateBody();
<span class="ln">560</span>
<span class="ln">561</span> if (empty($this->Body)) {
<span class="ln">562</span> throw new phpmailerException($this->Lang('empty_message'), self::STOP_CRITICAL);
<span class="ln">563</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>
/home/mdcs/public_html/limesurvey/application/helpers/common_helper.php(4112): <strong>PHPMailer</strong>-><strong>Send</strong>() </div>
<div class="code"><pre><span class="ln">4107</span>
<span class="ln">4108</span> if (trim($subject)!='') {$mail->Subject = "=?$emailcharset?B?" . base64_encode($subject) . "?=";}
<span class="ln">4109</span> if ($emailsmtpdebug>0) {
<span class="ln">4110</span> ob_start();
<span class="ln">4111</span> }
<span class="error"><span class="ln error-ln">4112</span> $sent=$mail->Send();
</span><span class="ln">4113</span> $maildebug=$mail->ErrorInfo;
<span class="ln">4114</span> if ($emailsmtpdebug>0) {
<span class="ln">4115</span> $maildebug .= '<li>'. gT('SMTP debug output:').'</li><pre>'.strip_tags(ob_get_contents()).'</pre>';
<span class="ln">4116</span> ob_end_clean();
<span class="ln">4117</span> }
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#7 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/mdcs/public_html/limesurvey/application/helpers/frontend_helper.php(749): <strong>SendEmailMessage</strong>("Hola!
Una nueva respuesta ha sido concluida en su encuesta 'MDR...", "Envío de respuestas de la encuesta MDR Bloque IV - Trim III 201...", "jimenez@una.cr", "Michael Jiménez <jimenez@una.cr>", ...) </div>
<div class="code"><pre><span class="ln">744</span> {
<span class="ln">745</span> $sMessage=templatereplace($thissurvey['email_admin_notification'],$aReplacementVars,$redata,'frontend_helper[1398]',($thissurvey['anonymized'] == "Y"),NULL, array(), true);
<span class="ln">746</span> $sSubject=templatereplace($thissurvey['email_admin_notification_subj'],$aReplacementVars,$redata,'frontend_helper[1399]',($thissurvey['anonymized'] == "Y"),NULL, array(), true);
<span class="ln">747</span> foreach ($aEmailNotificationTo as $sRecipient)
<span class="ln">748</span> {
<span class="error"><span class="ln error-ln">749</span> if (!SendEmailMessage($sMessage, $sSubject, $sRecipient, $sFrom, $sitename, true, getBounceEmail($surveyid), $aRelevantAttachments))
</span><span class="ln">750</span> {
<span class="ln">751</span> if ($debug>0)
<span class="ln">752</span> {
<span class="ln">753</span> echo '<br />Email could not be sent. Reason: '.$maildebug.'<br/>';
<span class="ln">754</span> }
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#8 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/mdcs/public_html/limesurvey/application/helpers/SurveyRuntimeHelper.php(609): <strong>sendSubmitNotifications</strong>("251179") </div>
<div class="code"><pre><span class="ln">604</span> submittokens();
<span class="ln">605</span> }
<span class="ln">606</span>
<span class="ln">607</span> //Send notifications
<span class="ln">608</span>
<span class="error"><span class="ln error-ln">609</span> sendSubmitNotifications($surveyid);
</span><span class="ln">610</span>
<span class="ln">611</span>
<span class="ln">612</span> $content = '';
<span class="ln">613</span>
<span class="ln">614</span> $content .= templatereplace(file_get_contents($sTemplatePath."startpage.pstpl"), array(), $redata, 'SubmitStartpage', false, NULL, array(), true );
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#9 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/mdcs/public_html/limesurvey/application/controllers/survey/index.php(565): <strong>SurveyRuntimeHelper</strong>-><strong>run</strong>("251179", array("surveyid" => "251179", "thissurvey" => array("sid" => "251179", "owner_id" => "1", "admin" => "Michael Jiménez", "active" => "Y", ...), "thisstep" => "2", "tokensexist" => 0, ...)) </div>
<div class="code"><pre><span class="ln">560</span> //Send local variables to the appropriate survey type
<span class="ln">561</span> unset($redata);
<span class="ln">562</span> $redata = compact(array_keys(get_defined_vars()));
<span class="ln">563</span> Yii::import('application.helpers.SurveyRuntimeHelper');
<span class="ln">564</span> $tmp = new SurveyRuntimeHelper();
<span class="error"><span class="ln error-ln">565</span> $tmp->run($surveyid,$redata);
</span><span class="ln">566</span>
<span class="ln">567</span> if (isset($_POST['saveall']) || isset($flashmessage))
<span class="ln">568</span> {
<span class="ln">569</span> echo "<script type='text/javascript'> $(document).ready( function() { alert('".$clang->gT("Your responses were successfully saved.","js")."');}) </script>";
<span class="ln">570</span> }
</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>
/home/mdcs/public_html/limesurvey/application/controllers/survey/index.php(46): <strong>index</strong>-><strong>action</strong>() </div>
<div class="code"><pre><span class="ln">41</span> App()->getClientScript()->render($buffer);
<span class="ln">42</span> App()->getClientScript()->reset();
<span class="ln">43</span> return $buffer;
<span class="ln">44</span> });
<span class="ln">45</span> ob_implicit_flush(false);
<span class="error"><span class="ln error-ln">46</span> $this->action();
</span><span class="ln">47</span> ob_flush();
<span class="ln">48</span> }
<span class="ln">49</span>
<span class="ln">50</span> function action()
<span class="ln">51</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>
/home/mdcs/public_html/limesurvey/framework/web/actions/CAction.php(76): <strong>index</strong>-><strong>run</strong>() </div>
<div class="code"><pre><span class="ln">71</span> {
<span class="ln">72</span> $method=new ReflectionMethod($this, 'run');
<span class="ln">73</span> if($method->getNumberOfParameters()>0)
<span class="ln">74</span> return $this->runWithParamsInternal($this, $method, $params);
<span class="ln">75</span> else
<span class="error"><span class="ln error-ln">76</span> return $this->run();
</span><span class="ln">77</span> }
<span class="ln">78</span>
<span class="ln">79</span> /**
<span class="ln">80</span> * Executes a method of an object with the supplied named parameters.
<span class="ln">81</span> * This method is internally used.
</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>
/home/mdcs/public_html/limesurvey/framework/web/CController.php(308): <strong>CAction</strong>-><strong>runWithParams</strong>(array()) </div>
<div class="code"><pre><span class="ln">303</span> {
<span class="ln">304</span> $priorAction=$this->_action;
<span class="ln">305</span> $this->_action=$action;
<span class="ln">306</span> if($this->beforeAction($action))
<span class="ln">307</span> {
<span class="error"><span class="ln error-ln">308</span> if($action->runWithParams($this->getActionParams())===false)
</span><span class="ln">309</span> $this->invalidActionParams($action);
<span class="ln">310</span> else
<span class="ln">311</span> $this->afterAction($action);
<span class="ln">312</span> }
<span class="ln">313</span> $this->_action=$priorAction;
</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>
/home/mdcs/public_html/limesurvey/framework/web/CController.php(286): <strong>CController</strong>-><strong>runAction</strong>(index) </div>
<div class="code"><pre><span class="ln">281</span> * @see runAction
<span class="ln">282</span> */
<span class="ln">283</span> public function runActionWithFilters($action,$filters)
<span class="ln">284</span> {
<span class="ln">285</span> if(empty($filters))
<span class="error"><span class="ln error-ln">286</span> $this->runAction($action);
</span><span class="ln">287</span> else
<span class="ln">288</span> {
<span class="ln">289</span> $priorAction=$this->_action;
<span class="ln">290</span> $this->_action=$action;
<span class="ln">291</span> CFilterChain::create($this,$action,$filters)->run();
</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>
/home/mdcs/public_html/limesurvey/framework/web/CController.php(265): <strong>CController</strong>-><strong>runActionWithFilters</strong>(index, array()) </div>
<div class="code"><pre><span class="ln">260</span> {
<span class="ln">261</span> if(($parent=$this->getModule())===null)
<span class="ln">262</span> $parent=Yii::app();
<span class="ln">263</span> if($parent->beforeControllerAction($this,$action))
<span class="ln">264</span> {
<span class="error"><span class="ln error-ln">265</span> $this->runActionWithFilters($action,$this->filters());
</span><span class="ln">266</span> $parent->afterControllerAction($this,$action);
<span class="ln">267</span> }
<span class="ln">268</span> }
<span class="ln">269</span> else
<span class="ln">270</span> $this->missingAction($actionID);
</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>
/home/mdcs/public_html/limesurvey/framework/web/CWebApplication.php(282): <strong>CController</strong>-><strong>run</strong>("index") </div>
<div class="code"><pre><span class="ln">277</span> {
<span class="ln">278</span> list($controller,$actionID)=$ca;
<span class="ln">279</span> $oldController=$this->_controller;
<span class="ln">280</span> $this->_controller=$controller;
<span class="ln">281</span> $controller->init();
<span class="error"><span class="ln error-ln">282</span> $controller->run($actionID);
</span><span class="ln">283</span> $this->_controller=$oldController;
<span class="ln">284</span> }
<span class="ln">285</span> else
<span class="ln">286</span> throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".',
<span class="ln">287</span> array('{route}'=>$route===''?$this->defaultController:$route)));
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#16 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/mdcs/public_html/limesurvey/framework/web/CWebApplication.php(141): <strong>CWebApplication</strong>-><strong>runController</strong>("survey/index") </div>
<div class="code"><pre><span class="ln">136</span> foreach(array_splice($this->catchAllRequest,1) as $name=>$value)
<span class="ln">137</span> $_GET[$name]=$value;
<span class="ln">138</span> }
<span class="ln">139</span> else
<span class="ln">140</span> $route=$this->getUrlManager()->parseUrl($this->getRequest());
<span class="error"><span class="ln error-ln">141</span> $this->runController($route);
</span><span class="ln">142</span> }
<span class="ln">143</span>
<span class="ln">144</span> /**
<span class="ln">145</span> * Registers the core application components.
<span class="ln">146</span> * This method overrides the parent implementation by registering additional core components.
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#17 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/mdcs/public_html/limesurvey/framework/base/CApplication.php(180): <strong>CWebApplication</strong>-><strong>processRequest</strong>() </div>
<div class="code"><pre><span class="ln">175</span> public function run()
<span class="ln">176</span> {
<span class="ln">177</span> if($this->hasEventHandler('onBeginRequest'))
<span class="ln">178</span> $this->onBeginRequest(new CEvent($this));
<span class="ln">179</span> register_shutdown_function(array($this,'end'),0,false);
<span class="error"><span class="ln error-ln">180</span> $this->processRequest();
</span><span class="ln">181</span> if($this->hasEventHandler('onEndRequest'))
<span class="ln">182</span> $this->onEndRequest(new CEvent($this));
<span class="ln">183</span> }
<span class="ln">184</span>
<span class="ln">185</span> /**
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#18 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/mdcs/public_html/limesurvey/index.php(200): <strong>CApplication</strong>-><strong>run</strong>() </div>
<div class="code"><pre><span class="ln">195</span> die (sprintf('%s should be writable by the webserver (755 or 775).', $runtimePath));
<span class="ln">196</span> }
<span class="ln">197</span> }
<span class="ln">198</span>
<span class="ln">199</span>
<span class="error"><span class="ln error-ln">200</span> Yii::createApplication('LSYii_Application', $config)->run();
</span><span class="ln">201</span>
<span class="ln">202</span> /* End of file index.php */
<span class="ln">203</span> /* Location: ./index.php */
</pre></div> </td>
</tr>
</table>
</div>
<div class="version">
2014-07-22 20:18:22 Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/1.0.1e-fips DAV/2 mod_bwlimited/1.4 <a href="http://www.yiiframework.com/">Yii Framework</a>/1.1.14 </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>
</body>
</html>
| ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 140717 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Firefox | ||||
| Database type & version | MariaDB 5.5.37 | ||||
| Server OS (if known) | CentOS 6.5 | ||||
| Webserver software & version (if known) | Apache/2.2.26 (Unix) mod_ssl/2.2.26 | ||||
| PHP Version | 5.5.6 | ||||
|
Can you provide a little lss file ? Because here : its' something in email, then need to have the email text (maybe). PS: and PUT debug=0 in config.php please. PS2: surely have to update external : https://github.com/Synchro/PHPMailer/releases . We are at Version 5.1.0 |
|
|
debug=0 in config.php resolve the problem |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=14344 |
|
|
2.05+ Build 140730 released |
|
|
LimeSurvey: master fbb7ae7b 2014-07-25 17:26 Details Diff |
Fixed issue 09147: Deprecated notice on PHP 5.5 when emailing invitations Dev Updater PHPMailer to 5.2.8 |
Affected Issues 09147 |
|
| mod - application/third_party/phpmailer/LICENSE | Diff File | ||
| add - application/third_party/phpmailer/PHPMailerAutoload.php | Diff File | ||
| add - application/third_party/phpmailer/README.md | Diff File | ||
| rm - application/third_party/phpmailer/README.php | Diff | ||
| mod - application/third_party/phpmailer/class.phpmailer.php | Diff File | ||
| mod - application/third_party/phpmailer/class.smtp.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-ar.php | Diff File | ||
| add - application/third_party/phpmailer/language/phpmailer.lang-be.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-br.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-ca.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-ch.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-cz.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-de.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-dk.php | Diff File | ||
| add - application/third_party/phpmailer/language/phpmailer.lang-el.php | Diff File | ||
| rm - application/third_party/phpmailer/language/phpmailer.lang-en.php | Diff | ||
| add - application/third_party/phpmailer/language/phpmailer.lang-eo.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-es.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-et.php | Diff File | ||
| add - application/third_party/phpmailer/language/phpmailer.lang-fa.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-fi.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-fo.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-fr.php | Diff File | ||
| add - application/third_party/phpmailer/language/phpmailer.lang-gl.php | Diff File | ||
| add - application/third_party/phpmailer/language/phpmailer.lang-he.php | Diff File | ||
| add - application/third_party/phpmailer/language/phpmailer.lang-hr.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-hu.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-it.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-ja.php | Diff File | ||
| add - application/third_party/phpmailer/language/phpmailer.lang-ka.php | Diff File | ||
| add - application/third_party/phpmailer/language/phpmailer.lang-lt.php | Diff File | ||
| add - application/third_party/phpmailer/language/phpmailer.lang-lv.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-nl.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-no.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-pl.php | Diff File | ||
| add - application/third_party/phpmailer/language/phpmailer.lang-pt.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-ro.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-ru.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-se.php | Diff File | ||
| add - application/third_party/phpmailer/language/phpmailer.lang-sk.php | Diff File | ||
| add - application/third_party/phpmailer/language/phpmailer.lang-sr.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-tr.php | Diff File | ||
| add - application/third_party/phpmailer/language/phpmailer.lang-uk.php | Diff File | ||
| add - application/third_party/phpmailer/language/phpmailer.lang-vi.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-zh.php | Diff File | ||
| mod - application/third_party/phpmailer/language/phpmailer.lang-zh_cn.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-07-22 22:35 | michaeljimenez23 | New Issue | |
| 2014-07-22 22:35 | michaeljimenez23 | File Added: PHP error.htm | |
| 2014-07-23 09:50 | DenisChenu | Note Added: 30316 | |
| 2014-07-23 09:50 | DenisChenu | Note Edited: 30316 | |
| 2014-07-23 09:52 | DenisChenu | Note Edited: 30316 | |
| 2014-07-23 22:24 | michaeljimenez23 | Note Added: 30333 | |
| 2014-07-24 15:44 | DenisChenu | Summary | Special characters => PHP 5.5 : deprecated function in phpmailer |
| 2014-07-24 15:44 | DenisChenu | Note Added: 30343 | |
| 2014-07-25 17:29 | c_schmitz | Assigned To | => c_schmitz |
| 2014-07-25 17:29 | c_schmitz | Status | new => assigned |
| 2014-07-25 17:29 | c_schmitz | Changeset attached | => LimeSurvey master fbb7ae7b |
| 2014-07-25 17:29 | c_schmitz | Note Added: 30360 | |
| 2014-07-25 17:29 | c_schmitz | Resolution | open => fixed |
| 2014-07-25 17:29 | c_schmitz | Status | assigned => resolved |
| 2014-07-25 17:29 | c_schmitz | Fixed in Version | => 2.05+ |
| 2014-07-30 16:18 | c_schmitz | Note Added: 30370 | |
| 2014-07-30 16:18 | c_schmitz | Status | resolved => closed |