FAO Home

WebAGRIS 2.1 Updates and Error Fixes

The WebAGRIS version 2.1 has integrated numerous updates and error fixes. Most of the changes and improvements incorporated in this version are included as a result of problems encountered by users and suggestions from earlier releases. However, since the release of the 2.1 version (09.09.2009), a number of issues were raised by the users community and the relevant updates were consolidated in a patch that is distributed under ftp://ext-ftp.fao.org/GI/Reserved/Agris/Software/WebAgris/version21/updates/.

Install the patch

The unique preliminary requisite to install the patch is to have installed WebAGRIS 2.1.
To check which is the WebAGRIS release you are using, go to the data Entry and, at the top left of your browser, you should see the text: WEBAGRIS Ver. 2.1.
 

1a) For English version - copy files included in the patch from:
Agris\*.*    to    …\webpages\agris\*.*
(e.g. in case of Xitami as the web server – to C:\Xitami\webpages\agris\*.*)
Overwrite the existing files.
 
1b) For Spanish version - copy files included in the patch from:
Agris_sp\*.*    to    …\webpages\agris_sp\*.*
(e.g. in case of Xitami as the web server – to C:\Xitami\webpages\agris_sp\*.*)
Overwrite the existing files.

Copy files included in the patch from: Db\*.*    to    …\webpages\db\*.*
(e.g. in case of Xitami as the web server – to C:\Xitami\webpages\db\*.*)
Overwrite the existing files.

 

2. This further step is optional, but allows browsing corporate authors by MFN:
  1. Start DOS/ISIS
  2. Change database to AUTH
  3. Run full inverted file generation for AUTH database.


Patch contents

1.) Allows to enter abstracts with length up to 6000 characters.
It was discovered that for some versions of Internet browsers (e.g. Mozille Firefox ver.4.0.1) it was possible to enter only 400 characters. This patch allows to update abstracts with length up to 6000 characters.
The files modified are:

  • .\Agris\Entry.def                       (for English version)
  • .\Agris_sp\Entry.def                 (for Spanish version)

2) Allows to access records of corporate authors using MFN (record number).
Before, to update a corporate author one could use name or acronym of the author. It happened that there were problems to access some records because of diacritics used in names which where concerted to &#... codes. In such cases, it is recommended to find out what is MFN of the “wrong” record first – this can be done e.g. with DOS/ISIS. Then, after the patch is installed, one can find the record using MFN and update it.
The files modified are:

  • .\Agris\browse.def.eng              (for English version)
  • .\Agris_sp\browse.def.sp          (for Spanish version)
  • .\Db\Auth\auth.fst

3) Corrected display format
The problem relates to Spanish version.  In some cases it was switching to English language when displaying records in the full format.
The file modified is Db\Agris\Sbmon.pft 
 
4) Corrected XML export format
The file modified is Db\Agris\Agrxml.pft
 
5) Missing files needed for export
In the installation package there were missing some files needed for export in “delimited format”, “HTML format, short”, “HTML format, full”, “FST-based selection table”, “Delimited format”. When selecting records for export in obe of the above formats, users were receiving, e.g. the message:

Error code: -212
File does not exist (pft) [@c:\xitami\webpages\DB\Agris\repd.pft].

 
The files added are:

  • Db\Agris\test.fst
  • Db\Agris\efmond.pft
  • Db\Agris\dsmond.pft
  • Db\Agris\ftrhtm.pft
  • Db\Agris\hdrhtm.pft
  • Db\Agris\repd.pft