<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div style="padding-bottom: 10px; padding-top: 5px;">
<div style="padding:12px; border:1px solid #8D3970; background-color:#F7F9FA; color:#8D3970; font-size:14px; line-height:22px; font-family: Calibri, Arial, Helvetica, sans-serif;">
<strong>CAUTION:</strong> This e-mail originated outside the University of Southampton.
</div>
</div>
<div>
<div dir="ltr">Dear David
<div><br>
</div>
<div>Should I apply the change and re-run the script?</div>
<div><br>
</div>
<div>I already ran it for 2 days?</div>
<div><br>
</div>
<div>Is there any different&nbsp;stat after I apply the change?</div>
<div><br>
</div>
<div>Regards</div>
<div><br clear="all">
<div>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div dir="ltr"><b>Izwan</b></div>
<div><b>UiTM Digital Library<br>
</b><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fir.uitm.edu.my%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4adff4493eb94e39d93308d95e53a309%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637644537211911634%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=BMVfSCvM9u8guuU3XLX4NaAQgrfzYdqyk1u9Yx4TYmo%3D&amp;reserved=0" originalSrc="http://ir.uitm.edu.my/" shash="qJsTWTmeP2SSHpH5j5Fu6uC30Vh75u7wjwszxAWnr42qtvNpr+C0ltff/IJ/yRFBh8QmZrztGGIjyL1f2kcrSWCLwKRfjDH60CiVj4RO2JYe2TRIYJg0M/XXb+wVSfe1jK2ytRRFGxPNWCuEM6mVrAX3/daaSqIrgeemCpK2rmc=" target="_blank">https://ir.uitm.edu.my/</a></div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Aug 13, 2021 at 4:45 PM David R Newman &lt;<a href="mailto:drn@ecs.soton.ac.uk">drn@ecs.soton.ac.uk</a>&gt; wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Hi Izwan,</p>
<p>Looking at the line of code that has the error:</p>
<p>if( $hostname eq $self-&gt;{host} )</p>
<p>One of the these to variables is not set.&nbsp; As there is a comparison involving $hostname further up in the file, it must be $self-&gt;{host} that is not set.&nbsp; This is earlier set from line 24:</p>
<p>$self-&gt;{host} = $self-&gt;{session}-&gt;config( &quot;host&quot; );</p>
<p>My suspicion is that you have reconfigured your repository to be HTTPS only and there only set $c-&gt;{securehost} and not $c-&gt;{host} in your archive's cfg/cfg.d/<a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10_core.pl%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4adff4493eb94e39d93308d95e53a309%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637644537211911634%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=e4ftXhJRgROS3eIT%2BeSpxreLEglA3WNSfbae5%2B7jaZI%3D&amp;reserved=0" originalSrc="http://10_core.pl/" shash="wusp8CJbGwMou/AlBy2JVu8DW/PdNaiyEDG83t3a8O3O8Lg1VkurpNI7POO3J9F+qLsvCWhxbwJOqYvLzKkKOtiCQ2cwEpyMFJFwhxeyeKmDf+pyfAg8v+tATU4F8bhYjrdyZTBqXbyju9e0NEUP3sHTyzaVixcjRGNGAIJ8EIE=" target="_blank">10_core.pl</a> (or some other config file in the same
 directory).&nbsp; If $c-&gt;{host} is set to undef this would also return the same error message here.&nbsp; To resolve this problem you should go to line 24 of /usr/share/eprints/lib/plugins/EPrints/Plugin/Stats/Processor/Access/Referrer.pm and add the following line
 after it:</p>
<p>$self-&gt;{host} ||= $self-&gt;{session}-&gt;config( &quot;securehost&quot; );</p>
<p>This will set $self-&gt;{host} to the config value of securehost if there is no value set for host.&nbsp; I have had to make various amendments to EPrints to support the no $c-&gt;{host} set means HTTPS only, so that it does not break things that expect it to always
 be set.&nbsp; However, not setting $c-&gt;{host} seemed like the most intuitive way to allow system administrators to know they have configured their repository for HTTPS only.&nbsp;
<br>
</p>
<p>Unfortunately, there has not been a new release of IRStats 2 since these changes were baked into recent versions of EPrints 3.4.&nbsp; In part due to this only affecting those who configured there repositories for HTTPS only in this way.</p>
<p>Regards</p>
<p>David Newman<br>
</p>
<div>On 13/08/2021 09:26, MOHD.IZWAN SALIM via Eprints-tech wrote:<br>
</div>
<blockquote type="cite">
<div style="padding-bottom:10px;padding-top:5px">
<div style="padding:12px;border:1px solid rgb(141,57,112);background-color:rgb(247,249,250);color:rgb(141,57,112);font-size:14px;line-height:22px;font-family:Calibri,Arial,Helvetica,sans-serif">
<strong>CAUTION:</strong> This e-mail originated outside the University of Southampton.
</div>
</div>
<div>
<div dir="ltr">Dear all, I just&nbsp;migrated and upgraded EPrints 3.3.16 to 3.4.3. Everything worked fine until I ran the process_stat --setup for IRSTAT2.
<div><br>
</div>
<div>The statistic is running (i guess) but it only shows message</div>
Use of uninitialized value in string eq at /usr/share/eprints/lib/plugins/EPrints/Plugin/Stats/Processor/Access/Referrer.pm line 84.
<div>Use of uninitialized value in string eq at /usr/share/eprints/lib/plugins/EPrints/Plugin/Stats/Processor/Access/Referrer.pm line 84.</div>
<div>Use of uninitialized value in string eq at /usr/share/eprints/lib/plugins/EPrints/Plugin/Stats/Processor/Access/Referrer.pm line 84.<br>
Access: incremental commit to DB<br>
<div><br>
</div>
<div>I'm using mysql 8. I want to get rid of that message.</div>
<div><br>
</div>
<div>Regards</div>
<div><br clear="all">
<div>
<div dir="ltr">
<div dir="ltr"><b>Izwan</b></div>
<div><b>UiTM Digital Library<br>
</b><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fir.uitm.edu.my%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4adff4493eb94e39d93308d95e53a309%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637644537211911634%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=BMVfSCvM9u8guuU3XLX4NaAQgrfzYdqyk1u9Yx4TYmo%3D&amp;reserved=0" originalSrc="http://ir.uitm.edu.my/" shash="qJsTWTmeP2SSHpH5j5Fu6uC30Vh75u7wjwszxAWnr42qtvNpr+C0ltff/IJ/yRFBh8QmZrztGGIjyL1f2kcrSWCLwKRfjDH60CiVj4RO2JYe2TRIYJg0M/XXb+wVSfe1jK2ytRRFGxPNWCuEM6mVrAX3/daaSqIrgeemCpK2rmc=" target="_blank">http://ir.uitm.edu.my/</a><b><br>
</b></div>
</div>
</div>
</div>
</div>
</div>
<br>
<p><b><font size="3">PENAFIAN: </font></b><font size="2">E-mel ini dan apa-apa fail yang dihantar bersama-samanya (&quot;Mesej&quot;) adalah dihasratkan hanya untuk kegunaan penerima yang dinyatakan di atas dan mungkin mengandungi maklumat yang tidak umum, bermilik,
 istimewa, sulit dan dikecualikan dari penzahiran di bawah undang-undang yang terpakai termasuklah Akta Rahsia Rasmi 1972.
<a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4adff4493eb94e39d93308d95e53a309%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637644537211921589%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=P%2FqBLnfeZ7LHMQZZau0rcDGFaszy6jP5TW9Qt5wQYDQ%3D&amp;reserved=0" originalSrc="https://mail.uitm.edu.my/index.php/component/content/article?id=2&Itemid=103" shash="MPjuvvN4Na5YQmcikTn8mH5bzjAMHcFaXfQtdcCB33Fz8MMfXJKWWeihUO8BCEOSbrTSdZFdNZe+Xxv1GUP3ya0gwSpgXl3MjjVuB//O1RguZwg+eml4063uuJeq5GqCUm9rkxU30T1vOvcjiYdWjc1AWYBQAUiwBpuny3X9YzY=" target="_blank">
<font style="background-color:red" color="#ffffff">BACA SELANJUTNYA...</font></a></font></p>
<hr>
<font style="font-style:italic" size="3"><b>DISCLAIMER :</b></font><font size="2"><i> This e-mail and any files transmitted with it (&quot;Message&quot;) is intended only for the use of the recipient(s) named above and may contain information that is non-public,&nbsp; proprietary,&nbsp;
 privileged,&nbsp; confidential&nbsp; and&nbsp; exempt&nbsp; from&nbsp; disclosure under applicable law including the Official Secrets Act 1972.
</i><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4adff4493eb94e39d93308d95e53a309%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637644537211921589%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=P%2FqBLnfeZ7LHMQZZau0rcDGFaszy6jP5TW9Qt5wQYDQ%3D&amp;reserved=0" originalSrc="https://mail.uitm.edu.my/index.php/component/content/article?id=2&Itemid=103" shash="MPjuvvN4Na5YQmcikTn8mH5bzjAMHcFaXfQtdcCB33Fz8MMfXJKWWeihUO8BCEOSbrTSdZFdNZe+Xxv1GUP3ya0gwSpgXl3MjjVuB//O1RguZwg+eml4063uuJeq5GqCUm9rkxU30T1vOvcjiYdWjc1AWYBQAUiwBpuny3X9YzY=" target="_blank"><font style="background-color:red" color="#ffffff">READ
 MORE...</font></a></font></div>
<br>
<fieldset></fieldset>
<pre>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4adff4493eb94e39d93308d95e53a309%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637644537211921589%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=%2FXFepCgp7JP9e2Kqhb1wugNAT0OOI41wUTaD7qRXGnw%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="ZxGM4ArVsehavnPq83o+W9ktLvz1nKna/t4OsprYZJ4k5gtSjO/7PZm8pe8jGrwutm5myDEmfF3GAUjUHzT96v3DwL8wvcgMkvUyBC5IPKoFJ1gHn9ddx08D/VQeIGW2FDtDT9jAQXodtlV0rs/LjaBsSRGqoFWEtj5qms/F7DA=" target="_blank">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4adff4493eb94e39d93308d95e53a309%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637644537211931545%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=O7xuY328FLF4MJB5own7V9l4dSKwal7sSEYUdYblnTE%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="wEwZ96AlmJ6CxeJ3V5V91K9TypRG9n/84dIc1aKBcN0DJMsTxbCT99SXxjFmcXJozqzXn/iNaG0AeR50mnOpul3nAtYvlfae9QcSBK9cUz46bFr2lFRexOcysfr56RqwC2YHreQ4R6tRowob31mRBs2HhMjBowEdoVettYj1cno=" target="_blank">http://wiki.eprints.org/</a></pre>
</blockquote>
<div id="gmail-m_-3878419567797611229DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid rgb(211,212,222)">
<tbody>
<tr>
<td style="width:55px;padding-top:13px"><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4adff4493eb94e39d93308d95e53a309%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637644537211931545%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=tJxnvyyrxFVBX9ilTRFlYjqXh1oVwFG%2F0nv%2BeOvjqRI%3D&amp;reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="uMhQDfSVcH/cCgaLVmVSoa3PzAAtUR3PjHhpL8vMjKHtvUrnI9OBPFFXGDQKWcOC4wXkoJ/u3zJBsvvH8Z1aAYWbK1c/mrykrxNBJW2msOkC1ZYEY5hU5hfo93stdYcNhVkznba31D8WsxmTaZAR6wUKXt3ks3sOM3aPInfONVc=" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
<td style="width:470px;padding-top:12px;color:rgb(65,66,78);font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">
Virus-free. <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4adff4493eb94e39d93308d95e53a309%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637644537211931545%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=tJxnvyyrxFVBX9ilTRFlYjqXh1oVwFG%2F0nv%2BeOvjqRI%3D&amp;reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="uMhQDfSVcH/cCgaLVmVSoa3PzAAtUR3PjHhpL8vMjKHtvUrnI9OBPFFXGDQKWcOC4wXkoJ/u3zJBsvvH8Z1aAYWbK1c/mrykrxNBJW2msOkC1ZYEY5hU5hfo93stdYcNhVkznba31D8WsxmTaZAR6wUKXt3ks3sOM3aPInfONVc=" style="color:rgb(68,83,234)" target="_blank">
www.avg.com</a> </td>
</tr>
</tbody>
</table>
<a href="#m_-3878419567797611229_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>
</div>
</blockquote>
</div>
<br>
<p><b><font size="3">PENAFIAN: </font></b><font size="2">E-mel ini dan apa-apa fail yang dihantar bersama-samanya (&quot;Mesej&quot;) adalah dihasratkan hanya untuk kegunaan penerima yang dinyatakan di atas dan mungkin mengandungi maklumat yang tidak umum, bermilik,
 istimewa, sulit dan dikecualikan dari penzahiran di bawah undang-undang yang terpakai termasuklah Akta Rahsia Rasmi 1972.
<a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4adff4493eb94e39d93308d95e53a309%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637644537211941503%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=TfdNX7rpSHX6L2cqlTDZzyrSCOPUzgPl8ahFufMiB%2FU%3D&amp;reserved=0" originalSrc="https://mail.uitm.edu.my/index.php/component/content/article?id=2&Itemid=103" shash="zRTCFN36stc0AAB7uElXMm/iREyMKHKQFgBJNnvgiBzZRB4LdeoF1Tsha0GiC6krMFIkOm+9wZnwukDDEB1DTmI+O8NnVdyYG7kiqLGee6WtJj1QKWV9sQSGNQv/0Dgih10Jtm1/E1XdVN6NIg7nqJwKqJIja/qBTq7lAw13/yc=" target="_blank">
<font color="#ffffff" style="background-color:red">BACA SELANJUTNYA...</font></a></font></p>
<hr>
<font size="3" style="font-style:italic"><b>DISCLAIMER :</b></font><font size="2"><i> This e-mail and any files transmitted with it (&quot;Message&quot;) is intended only for the use of the recipient(s) named above and may contain information that is non-public,&nbsp; proprietary,&nbsp;
 privileged,&nbsp; confidential&nbsp; and&nbsp; exempt&nbsp; from&nbsp; disclosure under applicable law including the Official Secrets Act 1972.
</i><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4adff4493eb94e39d93308d95e53a309%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637644537211941503%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=TfdNX7rpSHX6L2cqlTDZzyrSCOPUzgPl8ahFufMiB%2FU%3D&amp;reserved=0" originalSrc="https://mail.uitm.edu.my/index.php/component/content/article?id=2&Itemid=103" shash="zRTCFN36stc0AAB7uElXMm/iREyMKHKQFgBJNnvgiBzZRB4LdeoF1Tsha0GiC6krMFIkOm+9wZnwukDDEB1DTmI+O8NnVdyYG7kiqLGee6WtJj1QKWV9sQSGNQv/0Dgih10Jtm1/E1XdVN6NIg7nqJwKqJIja/qBTq7lAw13/yc=" target="_blank"><font color="#ffffff" style="background-color:red">READ MORE...</font></a></font></div>
</body>
</html>