[horde] Open a PDF logging me out
Michael J Rubinsky
mrubinsk at horde.org
Wed Jul 10 20:35:04 UTC 2019
Quoting Andreas Mauser <andreas at mauser.info>:
> ----- Nachricht von Michael J Rubinsky <mrubinsk at horde.org> ---------
> Datum: Wed, 10 Jul 2019 19:37:39 +0000
> Von: Michael J Rubinsky <mrubinsk at horde.org>
> Antwort an: mrubinsk at horde.org
> Betreff: Re: [horde] Open a PDF logging me out
> An: horde at lists.horde.org
>
>
>> Quoting Andreas Mauser <andreas at mauser.info>:
>>
>>> ----- Nachricht von Arjen de Korte <build+horde at de-korte.org> ---------
>>> Datum: Wed, 10 Jul 2019 21:15:02 +0200
>>> Von: Arjen de Korte <build+horde at de-korte.org>
>>> Betreff: Re: [horde] Open a PDF logging me out
>>> An: horde at lists.horde.org
>>>
>>>
>>>> Citeren Simon B <simon.buongiorno at gmail.com>:
>>>>
>>>>> On Wed, 10 Jul 2019 at 18:23, Andreas Mauser <andreas at mauser.info> 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
>>> <build+horde at de-korte.org> -----
>
>
> ----- Ende der Nachricht von Michael J Rubinsky <mrubinsk at horde.org> -----
--
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 9272 bytes
Desc: PGP Public Key
URL: <https://lists.horde.org/archives/horde/attachments/20190710/1e878f59/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 821 bytes
Desc: PGP Digital Signature
URL: <https://lists.horde.org/archives/horde/attachments/20190710/1e878f59/attachment-0003.bin>
More information about the horde
mailing list