Re: Open a PDF logging me out

Michael J Rubinsky <[email protected]> Wed, 10 Jul 2019 20:35:04 +0000
Newsgroups gmane.comp.horde.user
Message-ID <20190710203504.Horde.CNDuqc2FaZCPV_RNT8nH5fS@tarn.theupstairsroom.com>
Quoting Andreas Mauser <[email protected]>:

> ----- Nachricht von Michael J Rubinsky <[email protected]> ---------
>      Datum: Wed, 10 Jul 2019 19:37:39 +0000
>        Von: Michael J Rubinsky <[email protected]>
> Antwort an: [email protected]
>    Betreff: Re: [horde] Open a PDF logging me out
>         An: [email protected]
>
>
>> 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.
>
>
> I did and the result is 3.4.4

My guess is that the pecl package is being compiled against a too-old  
version of the ImageMagick libraries.

>
>>
>>>
>>> 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]> -----
>
>
> ----- Ende der Nachricht von Michael J Rubinsky <[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

iQIcBAABAgAGBQJdJkv4AAoJEJGSgkbRsxbbz48QAKPKnsUqQW9INlSrqNf2I9og
WOwIKZHyksRShGz0L1hUyMm74+EENqRvo5YBEUTzryA/CMfD86+KIXVa5x25QC0U
XSo7BpHbVUsBDAAxWwWcm9ITMIJ9s2USBrZzcjiX5+TTMnHGtGz5YvZSd52DrAec
PFgqmY9DkkI2wSYWfQk9tEhTha6uL+aXjZMwghBSMXYeGaoG0xtNLGWJDRBuvrRI
kejo8lrnlsDDRyUISMUHZU+AqAbLRhuYM+gZfEsUrUYl9JWw0REAh8BdGtMZx2AA
WLcpGqVI7yDXPu2D9v/38gi65nHPaocih4JWvzt3n1NrtFbkC7mZW5YDuVtyH4fM
1O4ptkUOc5dq49LXalvrOgPYM3crPYy+mURjK/B+g7I0LrtKJT7moF2SrXGx2EWu
vWQAeYY83qv6I+t82VcSh+jxW9L8e9MTWTdia7HmkFl+VtAqtaE5iM5BVE+ZyMHV
zb8HDSDWUHIA636VVX9MLgOk2POYaKICS14hqbgZ4/8RUYOWJZ9m3fxUkqNctsdw
ypdTCg88hllty6vYf4eYQqKWnUm9Oh36baEQIjQXUpx5ReaiWLQKLL8D1vNK0EY1
MH76WUBuZXfr1IkOVPKcWI/eC5QUJm3Dk6jmPXvTpaImz2tPCafr0HhAI8oqsYBJ
N8ED7V5OsBVX/rES7kGX
=Ux4F
-----END PGP SIGNATURE-----