[horde] Testing setup

Brent impuser at bitrealm.com
Sun Jun 28 17:56:08 UTC 2026


  There's an issue with "view source" on the "stable" release in imp.  
If I go to the dev-FRAMEWORK_6_0. then I can view source. On both, one  
can't download an attachment. The "view source" throws an error on  
stable:

A fatal error has occurred
Cannot create Horde_View_Topbar Root cause: Invalid PKCS#7 padding byte: 0xFF
in /var/www/horde/vendor/horde/injector/src/Injector.php:513

Once you get this error, the session can't be resumed and you need to  
purge the sessions. 

So...fixed in dev, but attachments aren't working on stable or  
dev-framework. How to file a ticket in that case?

I'm staying on imp 7.0.0RC3 for now. I think both RC4 and RC5 have the  
"view source" issue where it will thhrow the PKCS error and corrupt  
the session.

brent

Quoting Ralf Lang <ralf.lang at gmail.com>:

> Hi Mike,
>
> this is a bit tricky but generally starting with the stable releases I
> would advise you to set the rule to stable and only opt-in to @dev
> stability for select packages you want to test before release.
>
> We are not fully there yet - it was quite a hot week literally on the
> celsius scale and at work but it's only a matter of days.
>
> Mike <barjunk at attglobal.net> schrieb am Sa., 27. Juni 2026, 22:16:
>
>> I've been using this sequence for testing the most recent RC:
>>
>> rm -rf vendor/*
>> rm composer.lock
>> composer config minimum-stability dev
>> composer update --prefer-stable
>> vendor/bin/horde-db-migrate
>> systemctl restart apache2 (obviously if you use a different system,
>> yours would be different)
>>
>> If you do this without the --prefer-stable, then you get the latest
>> releases for dev-FRAMEWORK_6_0
>>
>> For a test of a specific commit I use:
>>
>> composer require horde/<package>=dev-FRAMEWORK_6_0#<commit number>
>>
>> It would be great for all of us to use a similar path.
>>
>> It doesn't matter if it ends up being the one shown here, but would
>> love to know what would be considered the "right way"
>>
>> Mike
>>
>> Quoting Brent <impuser at bitrealm.com>:
>>
>> Yeah, if I install the dev-FRAMEWORK_6_0 of imp, then I can view source:
>>
>> composer update horde/imp:dev-FRAMEWORK_6_0
>>
>> Still can't download an attachment...get a 500 error.
>>
>> I'm a bit unclear how to test things...should I be using ALL the
>> dev-FRAMEWORK_6_0 for everything?
>>
>> brent
>>
>> Quoting Angel Parra <angel at parranet.com>:
>>
>> Hi,
>>
>> For me, after manual update of latest IMP:
>>
>> # cd /var/www/horde
>> # sudo -u www-data composer update
>> # wget
>> https://github.com/horde/imp/archive/refs/heads/FRAMEWORK_6_0.zip
>> # unzip FRAMEWORK_6_0.zip
>> # cp -rf imp-FRAMEWORK_6_0/* vendor/horde/imp/
>> # chown -R www-data:www-data vendor/horde/imp/*
>>
>> "source email" works OK.
>>
>> I only have errors on:
>>    - "Download button" of a file (pdf in my test): Looks like
>> there’s a problem with this site. The server at server.domain.com
>> sent back an error: 500 Internal Server Error
>> - "Download All (2 Attachments)": A fatal error has occurred. User
>> is not authenticated.
>>
>> Works OK:
>> - Click over each file name
>> - View source
>> - Text View
>> - View Related
>> - View Alternative
>> - View images
>>
>> Best regards
>>
>> Angel
>>
>> Quoting Brent <impuser at bitrealm.com>:
>>
>> When trying to view a source email, I get:
>>
>> A fatal error has occurred
>> Cannot create Horde_View_Topbar Root cause: Invalid PKCS#7 padding
>> byte: 0x8B
>> in /var/www/horde/vendor/horde/injector/src/Injector.php:513
>>
>>   1. require_once() /var/www/horde/web/imp/dynamic.php:3
>>   2. IMP_Dynamic_Base->__construct()
>> /var/www/horde/vendor/horde/imp/dynamic.php:33
>>   3. IMP_Dynamic_Mailbox->_init()
>> /var/www/horde/vendor/horde/imp/lib/Dynamic/Base.php:90
>>   4. Horde\Injector\Injector->getInstance()
>> /var/www/horde/vendor/horde/imp/lib/Dynamic/Mailbox.php:72
>>   5. Horde\Injector\Injector->get()
>> /var/www/horde/vendor/horde/injector/src/Injector.php:627
>>   6. require_once() /var/www/horde/web/imp/dynamic.php:3
>>   7. IMP_Dynamic_Base->__construct()
>> /var/www/horde/vendor/horde/imp/dynamic.php:33
>>   8. IMP_Dynamic_Mailbox->_init()
>> /var/www/horde/vendor/horde/imp/lib/Dynamic/Base.php:90
>>   9. Horde\Injector\Injector->getInstance()
>> /var/www/horde/vendor/horde/imp/lib/Dynamic/Mailbox.php:72
>> 10. Horde\Injector\Injector->get()
>> /var/www/horde/vendor/horde/injector/src/Injector.php:627
>> 11. Horde\Injector\Injector->createInstance()
>> /var/www/horde/vendor/horde/injector/src/Injector.php:466
>> 12. Horde\Injector\Binder\AnnotatedSetters->create()
>> /var/www/horde/vendor/horde/injector/src/Injector.php:409
>> 13. Horde\Injector\Binder\Implementation->create()
>> /var/www/horde/vendor/horde/injector/src/Binder/AnnotatedSetters.php:91
>> 14. Horde\Injector\Binder\Implementation->getInstance()
>> /var/www/horde/vendor/horde/injector/src/Binder/Implementation.php:87
>> 15. ReflectionClass->newInstanceArgs()
>> /var/www/horde/vendor/horde/injector/src/Binder/Implementation.php:107
>> 16. Horde_View_Topbar->__construct()
>> 17. Horde_Core_Topbar->getTree()
>> /var/www/horde/vendor/horde/horde/lib/View/Topbar.php:61
>> 18. Horde_Registry->hasPermission()
>> /var/www/horde/vendor/horde/core/lib/Horde/Core/Topbar.php:82
>> 19. Horde_Registry->isAuthenticated()
>> /var/www/horde/vendor/horde/core/lib/Horde/Registry.php:1849
>> 20. Horde_Core_Auth_Application->transparent()
>> /var/www/horde/vendor/horde/core/lib/Horde/Registry.php:2382
>> 21. Horde_Registry->getAuthCredential()
>>
>> /var/www/horde/vendor/horde/core/lib/Horde/Core/Auth/Application.php:451
>> 22. Horde_Registry->_getAuthCredentials()
>> /var/www/horde/vendor/horde/core/lib/Horde/Registry.php:2590
>> 23. Horde\Core\Auth\AuthCredentialStore->get()
>> /var/www/horde/vendor/horde/core/lib/Horde/Registry.php:2646
>> 24. Horde\Core\Session\HordeSession->getEncrypted()
>> /var/www/horde/vendor/horde/core/src/Auth/AuthCredentialStore.php:197
>> 25.
>>
>> Horde\Core\Session\HordeSessionFactory::{closure:Horde\Core\Session\HordeSessionFactory::create():73}()
>>
>> /var/www/horde/vendor/horde/core/src/Session/HordeSession.php:445
>> 26. Horde_Secret->read()
>> /var/www/horde/vendor/horde/core/src/Session/HordeSessionFactory.php:74
>> 27. Horde\Crypt\Blowfish\Blowfish->decrypt()
>> /var/www/horde/vendor/horde/secret/lib/Horde/Secret.php:93
>> 28. Horde\Crypt\Blowfish\Blowfish::unpad()
>> /var/www/horde/vendor/horde/crypt_blowfish/src/Blowfish.php:113
>>
>> I also get a 500 when trying to download an attachment. I can try
>> to dig in to find what it is complaining about.
>>
>> brent
>>
>> Quoting Angel Parra <angel at parranet.com>:
>>
>> Error details:
>>
>> https://myserver.mydomain.com/horde/services/download/?app=imp&actionID=download_attach&id=2&muid={6}Monsol7161&view_token=aj_VMBxq0Ba0uCU7GDVypm3SrEaP-CW0YlxY4HLj40AlFrsCV_o&fn=/FILE
>> NAME 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.
>>
>> Best regards
>>
>> Angel
>>
>> Quoting Angel Parra <angel at parranet.com>:
>>
>> Hello,
>>
>> I cannot find any useful log. But if the mail has 2 attachments
>> and you use
>> "Downlaod All (2 Attachments) the error seems to be with Tokens:
>>
>> A fatal error has occurred
>> User is not authenticated.
>> in /var/www/horde/vendor/horde/imp/lib/Application.php:426
>>
>> 1. require_once()
>> /var/www/horde/web/horde/services/download/index.php:3
>> 2. Horde_Registry->callAppMethod()
>> /var/www/horde/vendor/horde/horde/services/download/index.php:34
>> 3. IMP_Application->download()
>> /var/www/horde/vendor/horde/core/lib/Horde/Registry.php:1295
>>
>> Details
>> The full error message is logged in Horde's log file, and is
>> shown below only to administrators. Non-administrative users
>> will not see error details.
>>
>> IMP_Exception Object
>> (
>>     [message:protected] => User is not authenticated.
>>     [string:Exception:private] =>
>>     [code:protected] => 0
>>     [file:protected] =>
>> /var/www/horde/vendor/horde/imp/lib/Application.php
>>     [line:protected] => 426
>>     [trace:Exception:private] => Array
>>         (
>>             [0] => Array
>>                 (
>>                     [file] =>
>> /var/www/horde/vendor/horde/core/lib/Horde/Registry.php
>>                     [line] => 1295
>>                     [function] => download
>>                     [class] => IMP_Application
>>                     [type] => ->
>>                 )
>>
>>             [1] => Array
>>                 (
>>                     [file] =>
>> /var/www/horde/vendor/horde/horde/services/download/index.php
>>                     [line] => 34
>>                     [function] => callAppMethod
>>                     [class] => Horde_Registry
>>                     [type] => ->
>>                 )
>>
>>             [2] => Array
>>                 (
>>                     [file] =>
>> /var/www/horde/web/horde/services/download/index.php
>>                     [line] => 3
>>                     [args] => Array
>>                         (
>>                             [0] =>
>> /var/www/horde/vendor/horde/horde/services/download/index.php
>>                         )
>>
>>                     [function] => require_once
>>                 )
>>
>>         )
>>
>>     [previous:Exception:private] =>
>>     [logged] => 1
>>     [extraDetails:protected] =>
>>     [isLogged:Horde\Exception\HordeException:private] =>
>>     [_logLevel:protected] => 0
>> )
>>
>> Quoting Torben Dannhauer <torben at dannhauer.info>:
>>
>> Internal server error usually comes along some logs in horde
>> log files or php log files.
>>
>> Can you share?
>>
>> Torben
>>
>> Von unterwegs gesendet
>> Sent from mobile
>>
>> Am 25.06.2026 um 21:47 schrieb Angel Parra <angel at parranet.com>:
>>
>> Hello,
>>
>> The latest IMP shows an error: 500 Internal Server Error
>>
>> When you clink on the download of an attached file (I test
>> with a pdf). But the print and "over file name" clicks wotk OK.
>>
>> Thank you
>>
>> Angel
>>
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/To unsubscribe,
>> mail: horde-unsubscribe at lists.horde.org
>>
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/To unsubscribe,
>> mail: horde-unsubscribe at lists.horde.org
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/To unsubscribe,  
> mail: horde-unsubscribe at lists.horde.org


More information about the horde mailing list