Re: Open a PDF logging me out

Michael J Rubinsky <[email protected]> Wed, 10 Jul 2019 19:37:39 +0000
Newsgroups gmane.comp.horde.user
Message-ID <20190710193739.Horde.WuH3xwS4Hf9EHWnoK8ovaOj@tarn.theupstairsroom.com>
Quoting Andreas Mauser <[email protected]>:

> ----- Nachricht von Arjen de Korte <[email protected]> ---------
>   Datum: Wed, 10 Jul 2019 21:15:02 +0200
>     Von: Arjen de Korte <[email protected]>
> Betreff: Re: [horde] Open a PDF logging me out
>      An: [email protected]
>
>
>> Citeren Simon B <[email protected]>:
>>
>>> On Wed, 10 Jul 2019 at 18:23, Andreas Mauser <[email protected]> wrote:
>>>
>>>> Hello,
>>>>
>>>> when I want to open a PDF Horde says its corrupt and then logs me out.
>>>>
>>>> Is this known? Do I just need to install another package?
>>>>
>>>>
>>>>
>>> I have a similar issue - but it is in my relatively outdated git-clone,
>>> which I have not been able to update, since the git change was made (yes, I
>>> know, I am not happy, but I do not have time either).
>>>
>>> A fatal error has occurredUndefined class constant 'ALPHACHANNEL_REMOVE'in
>>> ../imp/lib/Mime/Viewer/Pdf.php:136
>>>
>>> 1. Horde_ErrorHandler::catchFatalError()
>>>
>>> DetailsThe 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.
>>>
>>> ErrorException Object
>>> (
>>>   [message:protected] => Undefined class constant 'ALPHACHANNEL_REMOVE'
>>>   [string:Exception:private] =>
>>>   [code:protected] => 0
>>>   [file:protected] => ../imp/lib/Mime/Viewer/Pdf.php
>>>   [line:protected] => 136
>>>   [trace:Exception:private] => Array
>>>       (
>>>           [0] => Array
>>>               (
>>>                   [function] => catchFatalError
>>>                   [class] => Horde_ErrorHandler
>>>                   [type] => ::
>>>                   [args] => Array
>>>                       (
>>>                       )
>>>
>>>               )
>>>
>>>       )
>>>
>>>   [previous:Exception:private] =>
>>>   [severity:protected] => 1
>>>   [logged] => 1
>>>
>>> )
>>>
>>> It is not there in the production version I am using (older than the GIT
>>> version, so something was introduced...)
>>
>> Search the archives for the class constant, as this has been  
>> reported (and answered) several times already. It boils down to the  
>> fact that the version of the imagick library you're using is *very*  
>> outdated.
>
> Thank you Arjen,
>
> but:
>
> hp-pecl-imagick-devel-3.4.4-1.fc29.x86_64
> php-pecl-imagick-3.4.4-1.fc29.x86_64

Are you sure these are the versions that horde is using? Try something like:

echo phpversion("imagick");

in the administrative php shell in horde to be sure.



>
> And I use a recent updated Fedora 29.
>
> On:
> https://imagemagick.org/download/linux/CentOS/x86_64/
> ..I see a more recent version, but trying to install the 6.9 version  
> it shows the first dependencies.
> Should I go through manual update procedure or is there a repo for  
> that I should rather use?
>
>
>>> Regards
>>>
>>> Simon
>
>
> ----- Ende der Nachricht von Arjen de Korte <[email protected]> -----



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject

-- 
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
(unnamed) (application/pgp-keys, 9.1 KB) - not displayed
signature.asc (application/pgp-signature, 821 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4

iQIcBAABAgAGBQJdJj6DAAoJEJGSgkbRsxbbN3gP/0VsPL6lAEpEafgwSNfTOGds
HqLGLcogH24rKt9MRxLD0D+2D1PUBlikTwTuTxg454yc3RYAv/faEk3ChhVKBFsW
/3aV0+b7AcAFjUOlTG0Y6q+7v+irUzTtSvlIGjs5bpojVyAZ4z0ucneuevtfDUk7
KD2WgeUUiliiYO4LPV3JQFnNZ/6JtmH4yHTAie5z5OH2to3JpmZcJQsq5G94psJl
uROTXjDpC18YnuSoKBRp5eJj76nDpiPpbmAH2eqgBKoTq/3bMN4mIc6V78ThQkqC
O/5H5hu1Cc32YYwijIsulseXaM4lo73W3RgEWhStgaF/HSHYWMUa83yEBjz01XZK
vOsl218b7QZLiicWIJWaUL5QD9Uy4FxG7/6usGmIfImpKdBaWp/lpcAJG4s2rPT5
8HIixDeGcpAgP9mZhnO0W5h5RgxcTD17ZAhoT0FSUKKYKhhm++gj1IbTI/fePrwt
MuA0gLL+P56GyzkUPaZusXv9i1i51P4w3/dQzKxBTnnvBI8+xvllaAA/H2LWXTR2
VfkMsmsbINf5Hpl9WjeXRj5nWlESGj6Xy3xK0WUU8jALHGJtVfzT153oAH+yYlgt
UbCW46jqcVm0CBEl+oWfOPR4kv5k9oBk3EVdMgkhkRZfWKycOQXHFn8QKvtmwZYq
iyiR2pWDqd0FsKek161L
=jn97
-----END PGP SIGNATURE-----