[horde] IMP - Error on attachment download

Angel Parra angel at parranet.com
Wed Jul 8 22:32:35 UTC 2026


Hello,

   I cannot get any useful information. The syslog claims a DB error  
when patch is intsalled:

2026-07-09T00:24:15.996179+02:00 seth HORDE: [horde] SQLSTATE[42000]:  
Syntax error or access violation: 1064 You have an error in your SQL  
syntax; check the manual that corresponds to your MariaDB server  
version for the right syntax to use near  
'-test-imp88-readonly-download-auth_schema_info' at line 1 [pid 6951  
on line 245 of  
"/var/www/horde/vendor/horde/db/lib/Horde/Db/Adapter/Pdo/Base.php"]


   The web browset error on download is:

   
https://test.myserver.com/horde/services/download/?app=imp&actionID=download_attach&id=2&muid={6}Monsol7161&view_token=ak7OG8B-Kq8aUU8WHaJwYYOhpJbNPzhZ9Wxj-UtR3Rv9B1RSxkQ&fn=/OBEOPARCESE RESUMEN NOMINAS JUNIO 2026.pdf podría tener un problema temporal o podría haberse  
movido.

Código de error: 500 Internal Server Error

     El sitio podría estar no disponible temporalmente o demasiado  
ocupado. Vuelva a intentarlo en unos momentos.


  And file /tmp/horde.log is not generated.


   Did I miss any step to test it? It is non-compatible with my DB  
configuration?


Thank you!!

Angel

Quoting Torben Dannhauer <torben at dannhauer.info>:

> Zitat von Angel Parra <angel at parranet.com>:
>
>> Hello,
>>
>>  I just test with the following update steps:
>>
>>
>> # sudo -u www-data composer update -W
>> # sudo -u www-data composer update -W horde/horde:6.x-dev
>> # sudo -u www-data composer update -W horde/imp:7.x-dev
>> # sudo -u www-data composer update -W horde/core:3.x-dev
>> # wget  
>> https://github.com/horde/Core/archive/refs/heads/test/imp88-readonly-download-auth.zip
>> # unzip imp88-readonly-download-auth.zip
>> # cp -rf Core-test-imp88-readonly-download-auth/* vendor/horde/core/
>> # chown www-data:www-data -R vendor/horde/core/*
>>
>> Problem is still there.
>>
>>  Best regards
>>
>>    Angel
>>
>>
>
> Thanks for the fast test!
>
> i think we need to collect more data. I prepared  
> https://github.com/horde/imp/tree/test/imp88-debug-logging for  
> collecting the data.
>
> Please set $conf['log']['priority'] = 'DEBUG'; in your conf.php  
> (default is NOTICE, which would silently filter this out), then  
> trigger the download again. It should log a line like:
>
> imp#88 debug: download() auth failure. getAuth=... auth_app/imp=...  
> sessionActive=...
> Please paste that exact line back to us (from wherever your Horde  
> log is configured, default /tmp/horde.log). You can revert the  
> priority setting afterwards.
>
> thanks!




More information about the horde mailing list