[Isis-users] Erro ao Atualizar para versão corrente de ABCD, usando XAMP 3.2.2 //

De Smet Egbert egbert.desmet at uantwerpen.be
Wed Mar 21 21:35:01 CET 2018


Hi,

no, of course the old www-folder also contains the old htdocs-scripts. So you have to install it fully but after having made a backup of your bases-folder. Then copy your databases over the existing ones in the newly installed version.
Check the dr_path.def files for the bases you use and best to put the variable 'unicode' to '0' (off), even if this is supposed to be the default.
Alternatively if you already have the cgi-bin folder split into a subfolder 'ansi' and another one 'utf8', you could also suffice by copying the htdocs-folder of the new version over your old one. Then check the config-files for each module you use and adjust as needed (e.g. server IP in config.php of central).

Egbert de Smet
Universiteit Antwerpen
________________________________________
From: Adagilson Batista Bispo da Silva <adagilson at cpqam.fiocruz.br>
Sent: Wednesday, March 21, 2018 8:47 PM
To: De Smet Egbert; isis-users at iccisis.org
Subject: RE: [Isis-users] Erro ao Atualizar para versão corrente de ABCD, usando XAMP 3.2.2 //

You're right! I will do this, right now.
Could I ask again if I can just copy old www folder to ABCD(2.0f) and everything will be ok?

Adagilson Silva
Instituto Aggeu Magalhães

Pesquisa na Biblioteca
http://bvsfiocruz.fiocruz.br/
Repositório Institucional ARCA
https://www.arca.fiocruz.br/​


________________________________________
De: De Smet Egbert <egbert.desmet at uantwerpen.be>
Enviado: quarta-feira, 21 de março de 2018 14:57
Para: Adagilson Batista Bispo da Silva; isis-users at iccisis.org
Assunto: Re: [Isis-users] Erro ao Atualizar para versão corrente de ABCD, usando XAMP 3.2.2 //

Hi,

I can see from your sample code that you are NOT using the latest version of ABCD (2.0f). Please download it from either GitHub or my server abcd.netcat.be/files.

Egbert de Smet
Universiteit Antwerpen
________________________________________
From: Adagilson Batista Bispo da Silva <adagilson at cpqam.fiocruz.br>
Sent: Wednesday, March 21, 2018 4:50 PM
To: De Smet Egbert; isis-users at iccisis.org
Subject: RE: [Isis-users] Erro ao Atualizar para versão corrente de ABCD, usando XAMP 3.2.2 //

Good afternnon.

#Part 1# header.php --> warning messages still persist to appears:

    Warning: strpos(): Empty needle in C:\ABCD\www\htdocs\central\common\header.php on line 15

...begining at:
http://localhost/central/common/inicio.php

So it seems definately a header question I wonder how to solve. Could any one help me to fix it?

My header.php contains:

    <?php
        if (isset($cisis_ver) and strpos('unicode/bigisis',$cisis_ver)>0)
    {
    [...]


#Part 2# charset (SOLVED)

Thanks for the tips, Egbert!
In fact, I read ABC of ABCD again and deccided to do the check list in php.ini:
"The php.ini file contains a few more settings which need to be checked for ABCD to run correctly"

It solved the 'charset'-settings case.

Adagilson Silva

Instituto Aggeu Magalhães
http://bvsfiocruz.fiocruz.br/
Pesquisa na Biblioteca
http://basecpqam.icict.fiocruz.br/
Repositório Institucional ARCA
https://www.arca.fiocruz.br/​
Teses Fiocruz
http://teses.icict.fiocruz.br/

________________________________________
De: De Smet Egbert <egbert.desmet at uantwerpen.be>
Enviado: terça-feira, 20 de março de 2018 10:24
Para: Adagilson Batista Bispo da Silva; isis-users at iccisis.org
Assunto: Re: [Isis-users] Erro ao Atualizar para versão corrente de ABCD, usando XAMP 3.2.2 //

Hi,

this is not an 'error' but a 'warning'. Settings to avoid showing such warnings (and 'notices') can be changed in the php.ini file (under 'error_reporting' variable settings), which can also be accessed via the XAMP-interface - exactly the reason why we prefer XAMP to manual PHP-installations nowadays for Windows.

The strange characters probably relate to your 'charset'-settings, which is an Apache-setting in its main configuration file.
The ABCD2.0 scripts set the character-encoding for the ABCD-pages either to 'utf-8' if unicode is on, or to ISO-8859-1 (the general Western-Europe ANSI setting) if not. See for instance the script 'header.php' in the htdocs/central/common directory.
Finally some browsers (or their 'plug-ins') also allow changing this setting for the current page. In Firefox e.g. this is under 'settings/more/text-encoding'.

Egbert de Smet
Universiteit Antwerpen
________________________________________
From: isis-users <isis-users-bounces+egbert.desmet=ua.ac.be at iccisis.org> on behalf of Adagilson Batista Bispo da Silva <adagilson at cpqam.fiocruz.br>
Sent: Tuesday, March 20, 2018 1:55 PM
To: isis-users at iccisis.org
Subject: [Isis-users] Erro ao Atualizar para versão corrente de ABCD, usando XAMP 3.2.2 //

Bom dia!
//Good morning!

Segui os procedimentos sugeridos em:
//I followed the suggested procedures in:

http://lists.iccisis.org/pipermail/isis-users/2015-August/004916.html
[Isis-users] Atualizar para versão corrente de ABCD (RESOLVIDO)

Resultado: o XAMP está instalado; localhost abre com ABCD; o login é efetuado...etc.

Problema: Mas ao tentar Entrar dados, aparece o erro:
//Problem: But when trying to enter data, the error appears:

Warning: strpos(): Empty needle in C:\ABCD\www\htdocs\central\common\header.php on line 10

Há um problema adicional com os caracteres na tela para o idioma português.
//There is an additional problem with the characters on the screen for the Portuguese language.

Id do usu�rio


Vocês podem me ajudar a reparar istio?

//Could you help me to fix it?



Adagilson Silva

Instituto Aggeu Magalhães

Pesquisa na Biblioteca

http://basecpqam.icict.fiocruz.br/
Repositório Institucional ARCA
https://www.arca.fiocruz.br/​
Teses Fiocruz
http://teses.icict.fiocruz.br/


More information about the isis-users mailing list