Re: Open a PDF logging me out

Andreas Mauser <[email protected]> Wed, 10 Jul 2019 22:03:22 +0200
Newsgroups gmane.comp.horde.user
Message-ID <[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


>
>>
>> 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]> -----

-- 
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
(unnamed) (application/pgp-keys, 3.8 KB) - not displayed