[Isis-users] bug in IAH 3.x mailing feature

spinaker spinaker at adinet.com.uy
Sat Jun 25 20:11:24 CEST 2016


Dear colleagues

there is a bug in the file */htdocs/iah/scripts/iah.xis* that affects 
the function of sending a result from the OPAC iah via email
this feature worked well until version 2.6, but in version 3.1.x for 
ABCD has a problem
For some reason it does not solve correctly the environment variable 
PATH_TRANSLATED
The simplest solution is to modify the file iah.xis from line 360 
(aprox.)as follows;
The example is for Linux environment

------------------------------------------------------------------------
<label>SEND</label>
         <file action="close" type="output"><pft>v6214</pft></file>
         <field action="replace" 
tag="6213"><pft>replace(v6213,'@bireme.br 
<http://bireme.br>','@brm.bireme.br <http://brm.bireme.br>')</pft></field>

<!--
<*field action="replace" tag="9" 
split="occ"><pft>cat(getenv('PATH_TRANSLATED'),'sendmail.conf')</pft></field>**
**<field action="replace" tag="9"><pft>(if left(v9,instr(v9,'=')-1) : 
'EXECUTE' then mid(v9,instr(v9,'=')+1,size(v9)) fi/)</pft></field>*
-->
*        <field action="replace" 
tag="9"><pft>'/myserver/abcd/cgi-bin/email.sh <mailto> <file> 
'</pft></field>**
**        <field action="replace" 
tag="9"><pft>replace(replace(v9,'<mailto>',v6213),'<file>',v6214)</pft></field>**
**<display><pft>system(v9)</pft></display>*
...
------------------------------------------------------------------------
Comment out (or cancel) lines in red and add blue lines
pay attention that green line shoud be the absolute address on your 
server where is the script *email.sh*

regards
Ernesto Spinak


-- 
   .^.                                .^.
   ( )                                ( )
   ===                                ===
  =[=]================================[=]=
   | |  Ernesto Spinak                | |
   | |  spinaker at adinet.com.uy        | |
   | |  Montevideo, Uruguay           | |
   | |  tel/fax  (598) 2622-3352      | |
   | |  celular  (598) 99612238      | |
  =[=]================================[=]=
   ===                                ===
   ( )                                ( )
    V                                  V

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20160625/f4b55b11/attachment.html>


More information about the isis-users mailing list