Roger C Guilherme

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 23 total)
  • Author
    Replies
  • in reply to: Helper messages in Central module #7059
    Helpful
    Up
    1
    Down
    Not Helpful
    ::

    Hi, Peter!
    If you updated the /htdocs/assets directory, then it might be a caching issue.

    See if this happens in another browser. The culprit is the main.css file in the TOOLTIP section of HELP.TAB.

    If your assets are up to date, try clearing your browser’s cache, pressing CTRL+R to force the page to reload, or even clearing it more aggressively.

    in reply to: Copying existing dbs on another PC #7041
    Helpful
    Up
    0
    Down
    Not Helpful
    ::

    Hello, Francesco!

    Technically, you can simply copy the files, provided that:
    – The operating system is the same;
    – You follow the folder structure of the ABCD databases as set out in the documentation: https://abcd-devcom.github.io/docs/abcd-advanced/database-structure

    Best regards!

    in reply to: ABCD 3.1.b opac display #6966
    Helpful
    Up
    0
    Down
    Not Helpful
    ::

    The problem is probably with the PHP version. According to the documentation, support for PHP 7.4 has been discontinued. https://abcd-devcom.github.io/docs/3.1/abcd-install/prerequisites

    I found some old information in the zz_installation directory, but it has already been corrected.

    Try using versions 8.1.x to 8.3.x, which have been tested more thoroughly. This will likely fix the problem.

    in reply to: ABCD 3.1.b opac display #6941
    Helpful
    Up
    0
    Down
    Not Helpful
    ::

    Hello,
    I see that you have the most standard ABCD possible.
    This behavior is indeed very strange, because if the side filters appear, then the search is working.

    I ran a series of local tests here to try to find another reason besides the one reported previously, but I couldn’t find one.

    Try inspecting it through the browser to see if any alerts appear.

    In my tests here, I used a computer with no connection to ABCD to confirm that it works on a different computer than usual.

    Questions:
    – Have you tested another browser?
    – If you are on Linux, have you checked the permissions for the folders and files?
    – When you updated the version, did you overwrite all the files correctly?

    I need to understand this mystery to see if it is something in the programming that needs to be improved.

     

     

    in reply to: odds #5549
    Helpful
    Up
    0
    Down
    Not Helpful
    ::

    Aldo, para saber cuál es tu siguiente paso, necesitas saber en qué paso estás y el propósito de la instalación.

    Te pediría que explicaras más sobre tu escenario actual y cuál es tu intención, ya que cada objetivo requiere una solución diferente.

    in reply to: ERRORS #5525
    Helpful
    Up
    0
    Down
    Not Helpful
    ::

    Hola Aldo.
    Siento que nadie haya respondido a tu mensaje, pero si lo he leído con atención no lo he entendido. ¿Tienes algún problema con Xampp o Wampp? ¿Qué relación tiene Chrome con esto?
    Si tu problema es la configuración de tu servidor local, te sugiero que vayas al foro de desarrolladores de servidores:https://community.apachefriends.org/f/

    ABCD, como WordPress y otros, es sólo una aplicación que se ejecuta en el servidor y puede funcionar en otros tipos de servidores, pero es necesario estar familiarizado con este tipo de servicio.

     

    in reply to: ERRORS #5505
    Helpful
    Up
    0
    Down
    Not Helpful
    ::

    Hola, Aldo

    Este mensaje:
    Apache2.4: Service is already installed.

    En realidad está diciendo que Apache ya está funcionando, no es exactamente un error sino una advertencia.

    Puedes ignorarlo.

    in reply to: OBJETOS EN LOS REGISTROS #5482
    Helpful
    Up
    0
    Down
    Not Helpful
    ::

    Hola, Mónica.

    Para visualizar las imágenes, sustituye la ruta:

    ../../bases/biblo/imagen/

    por

    /docs/biblo/dr/imagen/

    El formato correcto debería ser:

    in reply to: Exporting database as comma delimited file #5244
    Helpful
    Up
    0
    Down
    Not Helpful
    ::

    Hi, Renate.

    It took me a while to answer because I needed to test on a base what you reported.

    I don’t know if I went in the same place as you, but using Export by Text and putting “R” in the “Repeat separator” field worked for me.

    In my test I put 2 values in a field:
    Example:
    ^a123456789
    ^a987654312

    On export it came out:
    ^a123456789; ^a987654312

    The semicolon can easily be replaced, but ABCD managed to export the repetition.

    in reply to: OPAC onfiguation of own databases #5220
    Helpful
    Up
    0
    Down
    Not Helpful
    ::

    Hello, Renate.

    The configuration files for a database in Opac are located in the database itself in a directory called opac. See MARC database.

    As reported in this Readme (https://github.com/ABCD-DEVCOM/ABCD2/blob/master/www/htdocs/opac/readme.md) The directory OPAC_CONF stores the files of common use the Opac and not more its databases.

    To configure it from ABCD, go to ABCD Settings -> OPAC

     

    Best regards,

    Roger

    in reply to: Diacritics in ABCD #5192
    Helpful
    Up
    0
    Down
    Not Helpful
    ::

    Egbert,

    I received the files of this database in trial mode and was able to analyse them more calmly.

    I converted the database to text to try with Sublime Text and VSCode to locate the correct encoding, but what I could see is that it is practically irreversible.

    To fix it the best chance is to convert the database to text and use “Replace” to batch correct the errors:

     

    ./i2id database > new_database.txt
    
    

    This link explains a possible cause: https://php-de.github.io/jumpto/utf-8/

    This site (https://dencode.com/) tries to find the correct encoding for text, I tried to play some database snippets and no satisfactory result.

     

    My hypothesis is that this database was converted to UTF8 and used as ISO8859-1, because according to what I read in a forum the error happens when the file is with one encoding but is displayed as another, causing a mix up.

     

    If there is a purer version of this database could help, but right now I only see the replacement as a resolution.

    There are even tables for this, but it is a lot of work:

    É -> É
    “ -> "
    †-> "
    Ç -> Ç
    Ã -> Ã
    é, 'é
    Ã -> À
    ú -> ú
    • -> -
    Ø -> Ø
    õ -> õ
    Ã -> í
    â -> â
    ã -> ã
    ê -> ê
    á -> á
    é -> é
    ó -> ó
    â€" -> -
    ç -> ç
    ª -> ª
    º -> º
    Ã -> à
    in reply to: Button “Edit default value” #5189
    Helpful
    Up
    0
    Down
    Not Helpful
    ::

    Fixed: https://github.com/ABCD-DEVCOM/ABCD2/pull/472

    Fix erros: PHP Deprecated: trim(): Passing null to parameter
    The error “PHP Deprecated: trim(): Passing null to parameter” appears in newer versions of PHP.

    To correct it, where it says:
    trim($tl)

    has changed to:
    trim((string)$tl)

     

    Updates compatibility for PHP versions higher than 8xx
    The error below is caused in PHP 8xx versions

    Fatal error: Uncaught TypeError: Unsupported operand types: string * int in /ABCD2/www/htdocs/central/dataentry/fmt.php:1120 Stack trace: #0 {main} thrown in /ABCD2/www/htdocs/central/dataentry/fmt.php on line 1120

    To correct it was changed where it says:

    $tag=trim(substr($linea,0,4))*1;

    To:

    $tag=(int)trim(substr($linea,0,4))*(int)1;

    in reply to: Upgrading ABCD2 -ldap error #5172
    Helpful
    Up
    0
    Down
    Not Helpful
    ::

    Hi Renate

    The error appeared because the file ldap.php was being triggered in the file inicio.php without considering the variable in the file config.php.

    Now it is only activated if the variable is with the value 1.

    By updating the file inicio.php the error disappeared?

    in reply to: Upgrading ABCD2 -ldap error #5170
    Helpful
    Up
    0
    Down
    Not Helpful
    ::

    Hi Renate.

    The error “Call to undefined function ldap_connect()” happens because the ldap extension has not been enabled in the php.ini file.

    To fix this, I put a check in the file start.php that verifies if the variable $use_ldap is with the value 1=enabled. – The fix was sent in this PR: https://github.com/ABCD-DEVCOM/ABCD2/pull/470

    If you keep getting ldap errors after updating, revise your config.php file to look like this:

    $use_ldap=0;
    in reply to: Undeleting records not workiing #5153
    Helpful
    Up
    0
    Down
    Not Helpful
    ::

    Hi, Renate.

    The file that has the Undelete command is fmt.php, only one line was added.

    The other files had little visual changes, I think it will not cause problems in your ABCD if you keep the most updated versions

    What I do not understand is why it is not working now. I reviewed the PR https://github.com/ABCD-DEVCOM/ABCD2/pull/465 and could not find the reason for the error.

    I need more information.

Viewing 15 replies - 1 through 15 (of 23 total)