[Isis-users] [Abcd-users] sos fulltext

Renato Toshiyuki Murasaki renato.murasaki at bireme.org
Thu Oct 13 14:51:24 CEST 2011


Try to change lines 46 and 58 as follows 


Line 46: 
current 
if ( ! preg ( "/$" , $path_to_file )) $path_to_file = $path_to_file . "/" ; 


to fix the problem 
if ( ! preg_match ( "/$/" , $path_to_file )) $path_to_file = $path_to_file . "/" ; 


Line 58: 

current $name = preg_replace ( "[^a-z0-9._]" , "" , 

to fix the problem $name = preg_replace ( "/[^a-z0-9._]/" , "" , 



Script htdocs\central\dataentry\upload.php also had this problem and was fixed in version 1.1beta1. See http://reddes.bvsalud.org/projects/abcd/changeset/1128 


Let us know if also works for upload_img.php script. 


Regards, 


Renato 


De: "bhowa tg" <bhowatg at gmail.com> 
Para: "abcd-users" <abcd-users at listas.bireme.br>, "isis-users" <isis-users at iccisis.org> 
Enviadas: Quarta-feira, 12 de Outubro de 2011 4:04:09 
Assunto: [Abcd-users] sos fulltext 

Colleagues' 

Fatal error : Call to undefined function preg() in C:\ABCD\www\htdocs\central\dataentry\upload_img.php on line 46 

solution please... 
-- 
bhowa tg 
Infoprenuer, zimisis 
bhowatg at gmail.com skypeID: bhowatg 
blog: http://bhowatg.blogspot.com 
http://facebook/bhowa.tg ; http://twitter.com/bhowatg 
www.zimisis.co.cc 


"there are two equally dangerous extremes- 
to shut reason out and to let nothing else in" 
Pascal, 1670 




_______________________________________________ 
Abcd-users mailing list 
Abcd-users at listas.bireme.br 
http://listas.bireme.br/mailman/listinfo/abcd-users 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20111013/34b9a05f/attachment.html>


More information about the isis-users mailing list