<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><font size="+1">Dear colleagues</font></p>
<span>there is a</span> <span>bug</span> <span>in the</span> <span>file</span>
<span><b><font face="Courier New">/htdocs/iah/scripts/iah.xis</font></b>
that affects the function of sending a result from the OPAC iah
via email<br>
this feature worked well until version 2.6, but </span><span>in
version</span> <span>3.1.x</span> <span>for</span> <span>ABCD
has a problem<br>
</span><span>For some reason</span> <span>it does not solve</span>
<span>correctly the</span> <span>environment</span> <span>variable</span>
<span>PATH_TRANSLATED</span><br>
<span>The simplest</span> <span>solution is to modify</span> <span>the
file iah.xis</span> <span>from</span> <span>line</span> <span>360
(aprox.)</span><span></span> <span>as follows</span><span>;<br>
The example is for Linux environment<br>
</span><br>
<hr size="2" width="100%"> <font face="Courier New, Courier,
monospace" size="+1"> <label>SEND</label><br>
<file action="close"
type="output"><pft>v6214</pft></file><br>
<field action="replace"
tag="6213"><pft>replace(v6213,'@<a
href="http://bireme.br" target="_blank">bireme.br</a>','@<a
href="http://brm.bireme.br" target="_blank">brm.bireme.br</a>')</pft></field><br>
<br>
<!-- <font color="#cc0000"> <br>
<<b>field action="replace" tag="9"
split="occ"><pft>cat(getenv('PATH_TRANSLATED'),'sendmail.conf')</pft></field></b><b><br>
</b><b><field action="replace" tag="9"><pft>(if
left(v9,instr(v9,'=')-1) : 'EXECUTE' then
mid(v9,instr(v9,'=')+1,size(v9))
fi/)</pft></field></b></font><br>
--><br>
<font color="#000099"><b> <field action="replace"
tag="9"><pft>'/<font color="#33cc00"><font
face="Courier New, Courier, monospace">my<font
face="Courier New, Courier, monospace">server</font></font>/<font
face="Courier New, Courier, monospace">abcd</font>/cgi-bin/email.sh</font>
<mailto> <file> '</pft></field></b><b><br>
</b><b> <field action="replace"
tag="9"><pft>replace(replace(v9,'<mailto>',v6213),'<file>',v6214)</pft></field></b><b><br>
</b><b>
<display><pft>system(v9)</pft></display></b></font><br>
...</font><br>
<hr size="2" width="100%"><span>Comment out</span> <span>(or</span>
<span>cancel)</span> <span>lines</span> <span>in red and</span>
add <span>blue</span> <span>lines</span><span></span><br>
<span>pay attention</span> that <span>green</span> line shoud be <span>the
absolute address</span> <span>on your</span> <span>server where
is the</span> <span>script</span> <span></span><font
face="Courier New, Courier, monospace"><b><span>email.sh</span></b></font><br>
<br>
regards<br>
Ernesto Spinak<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
.^. .^.
( ) ( )
=== ===
=[=]================================[=]=
| | Ernesto Spinak | |
| | <a class="moz-txt-link-abbreviated" href="mailto:spinaker@adinet.com.uy">spinaker@adinet.com.uy</a> | |
| | Montevideo, Uruguay | |
| | tel/fax (598) 2622-3352 | |
| | celular (598) 99612238 | |
=[=]================================[=]=
=== ===
( ) ( )
V V </pre>
</body>
</html>