<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
In order to get statistics about the hits on the summary page of the
publications, and following this documentation (<i><b><tt><a
href="https://wiki.eprints.org/w/IRStats_2_Technical_Documentation"><a class="moz-txt-link-freetext" href="https://wiki.eprints.org/w/IRStats_2_Technical_Documentation">https://wiki.eprints.org/w/IRStats_2_Technical_Documentation</a></a></tt></b></i>),
I added the following lines to our "z_irstats2.pl" config file :<br>
<blockquote type="cite"><b><tt>epviews => {</tt></b><b><tt><br>
</tt></b><b><tt> items => [</tt></b><b><tt><br>
</tt></b><b><tt> { </tt></b><b><tt><br>
</tt></b><b><tt> plugin => 'ReportHeader'</tt></b><b><tt><br>
</tt></b><b><tt> },</tt></b><b><tt><br>
</tt></b><b><tt> {</tt></b><b><tt><br>
</tt></b><b><tt> plugin => 'Google::Graph',</tt></b><b><tt><br>
</tt></b><b><tt> datatype => 'views',</tt></b><b><tt><br>
</tt></b><b><tt> options => {</tt></b><b><tt><br>
</tt></b><b><tt> date_resolution => 'month',</tt></b><b><tt><br>
</tt></b><b><tt> graph_type => 'column',</tt></b><b><tt><br>
</tt></b><b><tt> },</tt></b><b><tt><br>
</tt></b><b><tt> },</tt></b><b><tt><br>
</tt></b><b><tt> {</tt></b><b><tt><br>
</tt></b><b><tt> plugin => 'Table',</tt></b><b><tt><br>
</tt></b><b><tt> datatype => 'views',</tt></b><b><tt><br>
</tt></b><b><tt> options => {</tt></b><b><tt><br>
</tt></b><b><tt> limit => 10,</tt></b><b><tt><br>
</tt></b><b><tt> top => 'eprint',</tt></b><b><tt><br>
</tt></b><b><tt> title => 'Top Views'</tt></b><b><tt><br>
</tt></b><b><tt> },</tt></b><b><tt><br>
</tt></b><b><tt> },</tt></b><b><tt><br>
</tt></b><b><tt> ],</tt></b><b><tt><br>
</tt></b><b><tt> category => 'advanced'</tt></b><b><tt><br>
</tt></b><b><tt>};</tt></b><br>
</blockquote>
But when I try to reach the following URL :<br>
<i><b><tt><a class="moz-txt-link-freetext"
href="http://publications.ut-capitole.fr/cgi/stats/report/epviews">http://publications.ut-capitole.fr/cgi/stats/report/epviews</a></tt></b></i><br>
<br>
I received the following error message :<br>
<blockquote type="cite">
<h1 class="ep_tm_pagetitle" style="color: rgb(153, 0, 0);
font-weight: bold; margin: 0px 0px 10px; font-size: 16.64px;
text-align: center; font-style: normal; font-variant: normal;
font-stretch: normal; line-height: normal; font-family: Arial,
sans-serif; letter-spacing: normal; orphans: auto; text-indent:
0px; text-transform: none; white-space: normal; widows: 1;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">["lib/irstats2:report:epviews"
not defined]</h1>
<div class="ep_msg_error" id="m1" style="margin-top: 10px;
margin-bottom: 10px; color: rgb(0, 0, 0); font-family:
sans-serif; font-size: 12.8px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">
<div class="ep_msg_error_content" style="border: 1px solid
rgb(255, 192, 192); background-image:
url("images/bar_solid_48px.png"); background-color:
rgb(255, 192, 192); background-repeat: repeat-x;">
<table>
<tbody>
<tr>
<td><img shrinktofit="true" class="ep_msg_error_icon"
src="cid:part3.08020007.07030904@ut-capitole.fr"
alt="Error" style="border: 0px; padding: 10px;"></td>
<td>Report does not exist.</td>
</tr>
</tbody>
</table>
</div>
</div>
</blockquote>
<br>
Any idea ?<br>
Laurent Cloarec<br>
</body>
</html>