<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Christer,<br>
      <br>
      And thanks for your answer! Sorry it took me so long to reply, but
      I was very busy. I tried your solution of commenting out the
      &lt;epc&gt; from my summary_pagel.xml and adding the appropriate
      stuff in my z_irstats2.pl and it seems to work a bit better, but
      I'm still getting some warnings when generating abstracts:<br>
      <br>
      Use of uninitialized value $sec in numeric ge (&gt;=) at
      /usr/share/perl/5.20/Time/Local.pm line 119.<br>
      Use of uninitialized value $sec in numeric lt (&lt;) at
      /usr/share/perl/5.20/Time/Local.pm line 119.<br>
      Use of uninitialized value $sec in addition (+) at
      /usr/share/perl/5.20/Time/Local.pm line 134.<br>
      Use of uninitialized value $sec in numeric ge (&gt;=) at
      /usr/share/perl/5.20/Time/Local.pm line 119.<br>
      Use of uninitialized value $sec in numeric lt (&lt;) at
      /usr/share/perl/5.20/Time/Local.pm line 119.<br>
      Use of uninitialized value $sec in addition (+) at
      /usr/share/perl/5.20/Time/Local.pm line 134.<br>
      <br>
      And the stats shown are not the same as those in my
      /cgi/stats/report. At least, though, in one desposit that has 2
      downloads in my report (due to the fact that it has two files that
      I downloaded), the download section of the summary shows 1. The
      rest (which are have a download value of 1 in my report because
      it's a test repo where I only have access to) are shown to have 0
      downloads, so I guess that something is very wrong in my config.<br>
      <br>
      Thanks again for your help and any other help is more than
      welcome!<br>
      <br>
      George.<br>
      <br>
      On 04/12/2015 11:49 πμ, Christer Enkvist wrote:<br>
    </div>
    <blockquote
cite="mid:EMEW3|1440bf001c05ccfe05333999b2484940rB39oO14eprints-tech-bounces|ecs.soton.ac.uk|9560c89ced844a35b57b680a798828c9@exch2-4.slu.se"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D"
            lang="EN-GB">Hi,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D"
            lang="EN-GB">I encountered the same problem when adding
            &lt;epc&gt; into abstr.xml, an alternative is adding:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:&quot;Courier New&quot;"
            lang="EN-GB">$c-&gt;{plugins}-&gt;{"Screen::EPrint::Box::Stats"}-&gt;{params}-&gt;{disable}
            = 0; #enable Stats boxes<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:&quot;Courier New&quot;"
            lang="EN-GB">$c-&gt;{plugins}-&gt;{"Screen::EPrint::Box::Stats"}-&gt;{appears}-&gt;{summary_bottom}
            = 100; # show them at the bottom of the summary page (in
            position '100' - see the link below for more details)<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:&quot;Courier New&quot;"
            lang="EN-GB">$c-&gt;{plugins}-&gt;{"Screen::EPrint::Box::Stats"}-&gt;{appears}-&gt;{summary_right}
            = undef; # not in their default location on the right<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:&quot;Courier New&quot;"
            lang="EN-GB">$c-&gt;{plugins}-&gt;{"Screen::EPrint::Box::Stats"}-&gt;{params}-&gt;{render_collapsed}
            = 1; #by default hide content with<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D"
            lang="EN-GB">Into the cfg/cfg.d/z_irstats2.pl file populates
            a nice download box at the bottom of every summary page.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D"
            lang="EN-GB">/christer<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D"
            lang="EN-GB"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext"
                  lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext"
                lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a>
                [<a class="moz-txt-link-freetext" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">mailto:eprints-tech-bounces@ecs.soton.ac.uk</a>] <b>On
                  Behalf Of </b>George Mamalakis<br>
                <b>Sent:</b> den 30 november 2015 16:24<br>
                <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a><br>
                <b>Subject:</b> [EP-tech] IRStats2 embedding stats in
                abstract?<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Hi all,<br>
          <br>
          I'm following the wiki wrt IRStats2 configuration and I have a
          few questions. The one that is concerning me right now is that
          I don't seem to manage displaying the stats in my abstract
          page (aka embedding stats in summary page). I've followed the
          "Embedding Stats on Abstract Pages" section where it says to
          include:<br>
          <br>
          &lt;epc:phrase
          ref="lib/irstats2:embedded:summary_page:eprint:downloads"/&gt;<br>
          <br>
          somewhere at the bottom of summary_page.xml, I've done it but,
          I restarted apache, regenerated abstracts, etc., and when I
          access my pages I see a new "Downloads" section, that -sadly-
          only contains the phrase "Downloads per month over past year"
          without any numbers in it. When regenerating abstracts
          (manually) I get the message:<br>
          <br>
          missing parameter "eprintid" when making phrase
          "lib/irstats2:embedded:summary_page:eprint:downloads"<br>
          <br>
          which is kind of strange, but I'm not even sure that the
          irstats2 database is correctly populated, since even though I
          specifically access eprints and their documents in order to
          change stats and run the script manually to update them, I see
          no differences in my cgi/stats/report/ which makes me think
          that something goes terribly wrong...but that's my other
          question... :).<br>
          <br>
          Thanks for any help in advance,<br>
          <br>
          George<br>
          <br>
          PS. It's an EPrints 3.3.14 installation on a Debian box,
          IRStats2 is installed via the bazaar package, as instructed in
          the wiki and irstats2 github page (going by the book).<br>
          PS2. I haven't change IRstats2 default config in cfg/cfg.d yet<br>
          <br>
          <o:p></o:p></p>
        <pre>-- <o:p></o:p></pre>
        <pre>George Mamalakis<o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre>IT and Security Officer, <o:p></o:p></pre>
        <pre>Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki),<o:p></o:p></pre>
        <pre>PhD (Aristotle Univ. of Thessaloniki),<o:p></o:p></pre>
        <pre>MSc (Imperial College of London)<o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre>School of Electrical and Computer Engineering<o:p></o:p></pre>
        <pre>Aristotle University of Thessaloniki<o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre>phone number : +30 (2310) 994379<o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre><o:p> </o:p></pre>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="moz-txt-link-freetext" href="http://forum.eprints.org/">http://forum.eprints.org/</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
George Mamalakis

IT and Security Officer, 
Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki),
PhD (Aristotle Univ. of Thessaloniki),
MSc (Imperial College of London)

School of Electrical and Computer Engineering
Aristotle University of Thessaloniki

phone number : +30 (2310) 994379


</pre>
  </body>
</html>