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

Renate Morgenstern rmorgenstern at iway.na
Sun Jun 26 09:57:51 CEST 2016


Hi Ernesto,

I did the changes, but I do not have a file named 'email.sh' on my
system in the /opt/ABCD/www/cgi-bin directory.
Could you send us that file please.

When sending a search result, it says it was sent, but it never arrives.
Renate

> 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','@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 
> _______________________________________________
> isis-users mailing list
> isis-users at iccisis.org
> To manage your own subscription options go to: http://lists.iccisis.org/listinfo/isis-users
> Or contact Henk Rutten: hlrutten at xs4all.nl



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


More information about the isis-users mailing list