Multisite plugin error


(martini1) #1

Hi,

the Mulitisite plugin produces broken HTML after clicking “all websites” link. This is a part of it (its quite a lot):

<div style='word-wrap: break-word; border: 3px solid red; padding:4px; width:70%; background-color:#FFFF96;'><b>Notice:</b> <i>Undefined index:  arrowDown</i> in <b>/vrmd/com/piwik/tmp/templates_c/%%9A^9A3^9A34FA06%%index.tpl.php</b> on line <b>99</b>
<br><br>Backtrace --><DIV style='font-family:Courier;font-size:10pt'>#0  Piwik_ErrorHandler(8, Undefined index:  arrowDown, /vrmd/homepages/u40785/com/piwik/tmp/templates_c/%%9A^9A3^9A34FA06%%index.tpl.php, 99, Array ([this] => Piwik_Smarty Object ([template_dir] => Array ([0] => 

....

</div><br><br>
</pre></div><br>X-Powered-By: PHP/5.2.10
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Content-Type: text/html; charset=utf-8
Pragma:
Cache-Control: no-store, must-revalidate

<!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">
<head>
<title>Piwik &rsaquo; Web Analytics Reports</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Piwik 0.5.3" />

.....

<script type="text/javascript">
prepareRows(allSites, params, 'names');
</script>
</div>
</div>
</body>
</html>

Looks like there is some code before the HTML head section.

Does anyone understand this? Any ideas appreciated.

Martin


(vipsoft) #2

Sorry. Will be fixed in the next update.

You can apply this patch if you can’t wait. http://dev.piwik.org/trac/changeset/1717


(martini1) #3

Thank you! Worked fine for me!

Martin