View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
09147Bug reportsSurvey takingpublic2014-07-30 16:18
Reportermichaeljimenez23 Assigned Toc_schmitz  
PrioritynormalSeverityblock 
Status closedResolutionfixed 
Fixed in Version2.05+ 
Summary09147: 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

TagsNo 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 = &#039;text&#039;) {
<span class="ln">1721</span>         // There should not be any EOL in the string
<span class="ln">1722</span>         $encoded = preg_replace(&#039;/[\r\n]*/&#039;, &#039;&#039;, $str);
<span class="ln">1723</span> 
<span class="ln">1724</span>         switch (strtolower($position)) {
<span class="ln">1725</span>             case &#039;phrase&#039;:
<span class="error"><span class="ln error-ln">1726</span>                 $encoded = preg_replace(&quot;/([^A-Za-z0-9!*+\/ -])/e&quot;, &quot;&#039;=&#039;.sprintf(&#039;%02X&#039;, ord(&#039;\\1&#039;))&quot;, $encoded);
</span><span class="ln">1727</span>                 break;
<span class="ln">1728</span>             case &#039;comment&#039;:
<span class="ln">1729</span>                 $encoded = preg_replace(&quot;/([\(\)\&quot;])/e&quot;, &quot;&#039;=&#039;.sprintf(&#039;%02X&#039;, ord(&#039;\\1&#039;))&quot;, $encoded);
<span class="ln">1730</span>             case &#039;text&#039;:
<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(&#039;/([\000-\011\013\014\016-\037\075\077\137\177-\377])/e&#039;,
<span class="ln">1735</span>               &quot;&#039;=&#039;.sprintf(&#039;%02X&#039;, ord(&#039;\\1&#039;))&quot;, $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>
										&nbsp;/home/mdcs/public_html/limesurvey/application/third_party/phpmailer/class.phpmailer.php(1726): <strong>preg_replace</strong>(&quot;/([^A-Za-z0-9!*+\/ -])/e&quot;, &quot;&#039;=&#039;.sprintf(&#039;%02X&#039;, ord(&#039;\1&#039;))&quot;, &quot;Michael Jiménez&quot;)				</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(&#039;/[\r\n]*/&#039;, &#039;&#039;, $str);
<span class="ln">1723</span> 
<span class="ln">1724</span>         switch (strtolower($position)) {
<span class="ln">1725</span>             case &#039;phrase&#039;:
<span class="error"><span class="ln error-ln">1726</span>                 $encoded = preg_replace(&quot;/([^A-Za-z0-9!*+\/ -])/e&quot;, &quot;&#039;=&#039;.sprintf(&#039;%02X&#039;, ord(&#039;\\1&#039;))&quot;, $encoded);
</span><span class="ln">1727</span>                 break;
<span class="ln">1728</span>             case &#039;comment&#039;:
<span class="ln">1729</span>                 $encoded = preg_replace(&quot;/([\(\)\&quot;])/e&quot;, &quot;&#039;=&#039;.sprintf(&#039;%02X&#039;, ord(&#039;\\1&#039;))&quot;, $encoded);
<span class="ln">1730</span>             case &#039;text&#039;:
<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>
										&nbsp;/home/mdcs/public_html/limesurvey/application/third_party/phpmailer/class.phpmailer.php(1565): <strong>PHPMailer</strong>-><strong>EncodeQ</strong>(&quot;Michael Jiménez&quot;, &quot;phrase&quot;)				</div>

				<div class="code"><pre><span class="ln">1560</span>                 $maxlen -= $maxlen % 4;
<span class="ln">1561</span>                 $encoded = trim(chunk_split($encoded, $maxlen, &quot;\n&quot;));
<span class="ln">1562</span>             }
<span class="ln">1563</span>         } else {
<span class="ln">1564</span>             $encoding = &#039;Q&#039;;
<span class="error"><span class="ln error-ln">1565</span>             $encoded = $this-&gt;EncodeQ($str, $position);
</span><span class="ln">1566</span>             $encoded = $this-&gt;WrapText($encoded, $maxlen, true);
<span class="ln">1567</span>             $encoded = str_replace(&#039;=&#039;.$this-&gt;LE, &quot;\n&quot;, trim($encoded));
<span class="ln">1568</span>         }
<span class="ln">1569</span> 
<span class="ln">1570</span>         $encoded = preg_replace(&#039;/^(.*)$/m&#039;, &quot; =?&quot;.$this-&gt;CharSet.&quot;?$encoding?\\1?=&quot;, $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>
										&nbsp;/home/mdcs/public_html/limesurvey/application/third_party/phpmailer/class.phpmailer.php(917): <strong>PHPMailer</strong>-><strong>EncodeHeader</strong>(&quot;Michael Jiménez&quot;, &quot;phrase&quot;)				</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-&gt;SecureHeader($addr[0]);
<span class="ln">916</span>         } else {
<span class="error"><span class="ln error-ln">917</span>             return $this-&gt;EncodeHeader($this-&gt;SecureHeader($addr[1]), &#039;phrase&#039;) . &quot; &lt;&quot; . $this-&gt;SecureHeader($addr[0]) . &quot;&gt;&quot;;
</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>
										&nbsp;/home/mdcs/public_html/limesurvey/application/third_party/phpmailer/class.phpmailer.php(900): <strong>PHPMailer</strong>-><strong>AddrFormat</strong>(array(&quot;jimenez@una.cr&quot;, &quot;Michael Jiménez&quot;))				</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 . &#039;: &#039;;
<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-&gt;AddrFormat($a);
</span><span class="ln">901</span>         }
<span class="ln">902</span>         $addr_str .= implode(&#039;, &#039;, $addresses);
<span class="ln">903</span>         $addr_str .= $this-&gt;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>
										&nbsp;/home/mdcs/public_html/limesurvey/application/third_party/phpmailer/class.phpmailer.php(1105): <strong>PHPMailer</strong>-><strong>AddrAppend</strong>(&quot;From&quot;, array(array(&quot;jimenez@una.cr&quot;, &quot;Michael Jiménez&quot;)))				</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-&gt;From);
<span class="ln">1104</span>         $from[0][1] = $this-&gt;FromName;
<span class="error"><span class="ln error-ln">1105</span>         $result .= $this-&gt;AddrAppend(&#039;From&#039;, $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-&gt;cc) &gt; 0) {
<span class="ln">1109</span>             $result .= $this-&gt;AddrAppend(&#039;Cc&#039;, $this-&gt;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>
										&nbsp;/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-&gt;ContentType = &#039;multipart/alternative&#039;;
<span class="ln">554</span>             }
<span class="ln">555</span> 
<span class="ln">556</span>             $this-&gt;error_count = 0; // reset errors
<span class="ln">557</span>             $this-&gt;SetMessageType();
<span class="error"><span class="ln error-ln">558</span>             $header = $this-&gt;CreateHeader();
</span><span class="ln">559</span>             $body = $this-&gt;CreateBody();
<span class="ln">560</span> 
<span class="ln">561</span>             if (empty($this-&gt;Body)) {
<span class="ln">562</span>                 throw new phpmailerException($this-&gt;Lang(&#039;empty_message&#039;), 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>
										&nbsp;/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)!=&#039;&#039;) {$mail-&gt;Subject = &quot;=?$emailcharset?B?&quot; . base64_encode($subject) . &quot;?=&quot;;}
<span class="ln">4109</span>     if ($emailsmtpdebug&gt;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-&gt;Send();
</span><span class="ln">4113</span>     $maildebug=$mail-&gt;ErrorInfo;
<span class="ln">4114</span>     if ($emailsmtpdebug&gt;0) {
<span class="ln">4115</span>         $maildebug .= &#039;&lt;li&gt;&#039;. gT(&#039;SMTP debug output:&#039;).&#039;&lt;/li&gt;&lt;pre&gt;&#039;.strip_tags(ob_get_contents()).&#039;&lt;/pre&gt;&#039;;
<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>
										&nbsp;/home/mdcs/public_html/limesurvey/application/helpers/frontend_helper.php(749): <strong>SendEmailMessage</strong>(&quot;Hola!

Una nueva respuesta ha sido concluida en su encuesta &#039;MDR...&quot;, &quot;Envío de respuestas de la encuesta MDR Bloque IV - Trim III 201...&quot;, &quot;jimenez@una.cr&quot;, &quot;Michael Jiménez &lt;jimenez@una.cr&gt;&quot;, ...)				</div>

				<div class="code"><pre><span class="ln">744</span>     {
<span class="ln">745</span>         $sMessage=templatereplace($thissurvey[&#039;email_admin_notification&#039;],$aReplacementVars,$redata,&#039;frontend_helper[1398]&#039;,($thissurvey[&#039;anonymized&#039;] == &quot;Y&quot;),NULL, array(), true);
<span class="ln">746</span>         $sSubject=templatereplace($thissurvey[&#039;email_admin_notification_subj&#039;],$aReplacementVars,$redata,&#039;frontend_helper[1399]&#039;,($thissurvey[&#039;anonymized&#039;] == &quot;Y&quot;),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&gt;0)
<span class="ln">752</span>                 {
<span class="ln">753</span>                     echo &#039;&lt;br /&gt;Email could not be sent. Reason: &#039;.$maildebug.&#039;&lt;br/&gt;&#039;;
<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>
										&nbsp;/home/mdcs/public_html/limesurvey/application/helpers/SurveyRuntimeHelper.php(609): <strong>sendSubmitNotifications</strong>(&quot;251179&quot;)				</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 = &#039;&#039;;
<span class="ln">613</span> 
<span class="ln">614</span>                     $content .= templatereplace(file_get_contents($sTemplatePath.&quot;startpage.pstpl&quot;), array(), $redata, &#039;SubmitStartpage&#039;, 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>
										&nbsp;/home/mdcs/public_html/limesurvey/application/controllers/survey/index.php(565): <strong>SurveyRuntimeHelper</strong>-><strong>run</strong>(&quot;251179&quot;, array(&quot;surveyid&quot; =&gt; &quot;251179&quot;, &quot;thissurvey&quot; =&gt; array(&quot;sid&quot; =&gt; &quot;251179&quot;, &quot;owner_id&quot; =&gt; &quot;1&quot;, &quot;admin&quot; =&gt; &quot;Michael Jiménez&quot;, &quot;active&quot; =&gt; &quot;Y&quot;, ...), &quot;thisstep&quot; =&gt; &quot;2&quot;, &quot;tokensexist&quot; =&gt; 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(&#039;application.helpers.SurveyRuntimeHelper&#039;);
<span class="ln">564</span>         $tmp = new SurveyRuntimeHelper();
<span class="error"><span class="ln error-ln">565</span>         $tmp-&gt;run($surveyid,$redata);
</span><span class="ln">566</span> 
<span class="ln">567</span>         if (isset($_POST[&#039;saveall&#039;]) || isset($flashmessage))
<span class="ln">568</span>         {
<span class="ln">569</span>             echo &quot;&lt;script type=&#039;text/javascript&#039;&gt; $(document).ready( function() { alert(&#039;&quot;.$clang-&gt;gT(&quot;Your responses were successfully saved.&quot;,&quot;js&quot;).&quot;&#039;);}) &lt;/script&gt;&quot;;
<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>
										&nbsp;/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()-&gt;getClientScript()-&gt;render($buffer);
<span class="ln">42</span>             App()-&gt;getClientScript()-&gt;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-&gt;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>
										&nbsp;/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, &#039;run&#039;);
<span class="ln">73</span>         if($method-&gt;getNumberOfParameters()&gt;0)
<span class="ln">74</span>             return $this-&gt;runWithParamsInternal($this, $method, $params);
<span class="ln">75</span>         else
<span class="error"><span class="ln error-ln">76</span>             return $this-&gt;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>
										&nbsp;/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-&gt;_action;
<span class="ln">305</span>         $this-&gt;_action=$action;
<span class="ln">306</span>         if($this-&gt;beforeAction($action))
<span class="ln">307</span>         {
<span class="error"><span class="ln error-ln">308</span>             if($action-&gt;runWithParams($this-&gt;getActionParams())===false)
</span><span class="ln">309</span>                 $this-&gt;invalidActionParams($action);
<span class="ln">310</span>             else
<span class="ln">311</span>                 $this-&gt;afterAction($action);
<span class="ln">312</span>         }
<span class="ln">313</span>         $this-&gt;_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>
										&nbsp;/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-&gt;runAction($action);
</span><span class="ln">287</span>         else
<span class="ln">288</span>         {
<span class="ln">289</span>             $priorAction=$this-&gt;_action;
<span class="ln">290</span>             $this-&gt;_action=$action;
<span class="ln">291</span>             CFilterChain::create($this,$action,$filters)-&gt;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>
										&nbsp;/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-&gt;getModule())===null)
<span class="ln">262</span>                 $parent=Yii::app();
<span class="ln">263</span>             if($parent-&gt;beforeControllerAction($this,$action))
<span class="ln">264</span>             {
<span class="error"><span class="ln error-ln">265</span>                 $this-&gt;runActionWithFilters($action,$this-&gt;filters());
</span><span class="ln">266</span>                 $parent-&gt;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-&gt;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>
										&nbsp;/home/mdcs/public_html/limesurvey/framework/web/CWebApplication.php(282): <strong>CController</strong>-><strong>run</strong>(&quot;index&quot;)				</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-&gt;_controller;
<span class="ln">280</span>             $this-&gt;_controller=$controller;
<span class="ln">281</span>             $controller-&gt;init();
<span class="error"><span class="ln error-ln">282</span>             $controller-&gt;run($actionID);
</span><span class="ln">283</span>             $this-&gt;_controller=$oldController;
<span class="ln">284</span>         }
<span class="ln">285</span>         else
<span class="ln">286</span>             throw new CHttpException(404,Yii::t(&#039;yii&#039;,&#039;Unable to resolve the request &quot;{route}&quot;.&#039;,
<span class="ln">287</span>                 array(&#039;{route}&#039;=&gt;$route===&#039;&#039;?$this-&gt;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>
										&nbsp;/home/mdcs/public_html/limesurvey/framework/web/CWebApplication.php(141): <strong>CWebApplication</strong>-><strong>runController</strong>(&quot;survey/index&quot;)				</div>

				<div class="code"><pre><span class="ln">136</span>             foreach(array_splice($this-&gt;catchAllRequest,1) as $name=&gt;$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-&gt;getUrlManager()-&gt;parseUrl($this-&gt;getRequest());
<span class="error"><span class="ln error-ln">141</span>         $this-&gt;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>
										&nbsp;/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-&gt;hasEventHandler(&#039;onBeginRequest&#039;))
<span class="ln">178</span>             $this-&gt;onBeginRequest(new CEvent($this));
<span class="ln">179</span>         register_shutdown_function(array($this,&#039;end&#039;),0,false);
<span class="error"><span class="ln error-ln">180</span>         $this-&gt;processRequest();
</span><span class="ln">181</span>         if($this-&gt;hasEventHandler(&#039;onEndRequest&#039;))
<span class="ln">182</span>             $this-&gt;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>
										&nbsp;/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(&#039;%s should be writable by the webserver (755 or 775).&#039;, $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(&#039;LSYii_Application&#039;, $config)-&gt;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>
PHP error.htm (30,236 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)140717
I will donate to the project if issue is resolvedNo
BrowserFirefox
Database type & versionMariaDB 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 Version5.5.6

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2014-07-23 09:50

developer   ~30316

Last edited: 2014-07-23 09:52

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

michaeljimenez23

michaeljimenez23

2014-07-23 22:24

reporter   ~30333

debug=0 in config.php resolve the problem

DenisChenu

DenisChenu

2014-07-24 15:44

developer   ~30343

http://php.net/manual/en/migration55.deprecated.php

c_schmitz

c_schmitz

2014-07-25 17:29

administrator   ~30360

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=14344

c_schmitz

c_schmitz

2014-07-30 16:18

administrator   ~30370

2.05+ Build 140730 released

Related Changesets

LimeSurvey: master fbb7ae7b

2014-07-25 15:26:46

c_schmitz

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 File
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 File
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

Issue History

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