[Isis-users] ABCD 2.0f

Egbert De Smet egbert.desmet at uantwerpen.be
Fri May 22 20:08:14 CEST 2020


Edwin,


what we have now in the working version of config.php is this :

//IF THERE ARE MULTIPLE BASES FOLDERS THE FOLDER SELECTED IS SET
if ( isset($_SESSION["db_path"]) and  $_SESSION["db_path"]!="")
     $db_path=$_SESSION["db_path"];


So that is basically the same idea. Anyway if it works with your version it is o.k.


Egbert de Smet
Universiteit Antwerpen


________________________________
From: isis-users <isis-users-bounces+egbert.desmet=uantwerpen.be at iccisis.org> on behalf of Edwin Hübner <edwin.hubner at gmail.com>
Sent: Friday, May 22, 2020 7:46 PM
To: isis-users
Subject: [Isis-users] ABCD 2.0f

Dear,
I still have problems with ABCD 2.0f.
1. it did not recognize the option of defining more than one database folder. For example, if I have the following in dbpath.dat:
/ABCD/www/bases/IBJB/|IBJB
/ABCD/www/bases/|default
 and selecting the first option (IBJB) on the login screen, it prsents the databases of the /bases folder (default) on the data entry screen. I was able to solve this by adding the following lines to config.php:
$msg_path="/abcd/www/bases/";
if (isset($_SESSION["DATABASE_DIR"])) {
$db_path=$_SESSION["DATABASE_DIR"];
}
if (!file_exists($db_path."abcd.def")){
echo "Missing  abcd.def in the database folder"; die;
}
$def = parse_ini_file($db_path."abcd.def");

Is that ok?

2. Having set the parameters UNICODE=0, MXPATH=/ABCD/www/cgi-bin/ and encoding=ansi, it gives an error when opening a database, presenting the line: CISIS version: http://127.0.0.1:9090/cgi-bin/utf8/wxis.exe<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2F127.0.0.1%3A9090%2Fcgi-bin%2Futf8%2Fwxis.exe&data=02%7C01%7Cegbert.desmet%40uantwerpen.be%7Ce931613bbab24a4d6c6708d7fe7a3f20%7C792e08fb2d544a8eaf72202548136ef6%7C0%7C0%7C637257673322409124&sdata=Bf4wgCJ11WDtqVXABeYm6kMx0RptayGZ%2Bl%2FHc0LW3O0%3D&reserved=0>, that is, trying to use
wxis from the .../utf8 folder.
I solved it copying wxis from the  .../cgi-bin folder to .../cgi-bin/utf8/

but how to solve this?

3. Diacritics for ansi, I got it only by Renate's suggestion, forcing
ini_set('default_charset','ISO-8859-15');
in config.php.

Regards,
Edwin Hübner
(5521)99647-1675
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20200522/fcb232ad/attachment.html>


More information about the isis-users mailing list