[ZendTo] Download as zip fails

Jules Jules at Zend.To
Wed Jan 29 10:31:07 GMT 2020


Ken,

Assuming you've enabled the "sle-module-web-scripting" module with 
suseconnect, then if
     zypper search --type=package 'php>=7'
only reports version 7.0, and not 7.1, then you're going to have to 
upgrade to get the Zip functionality, as that library depends on 7.1 as 
a minimum.

Sorry about that!
Jules.

On 28/01/2020 1:42 pm, Ken Etter wrote:
> To stay supported with my OS and get php 7.1 or newer, it sounds like 
> I need to move from SLES 12 to SLES 15.  Hoping to find time to do 
> that soon.
> Thanks,
> Ken
> >>> Jules Field <Jules at Zend.To> 1/27/2020 11:54 AM >>>
> Try at least php 7.1 and you should have more luck.
>
> -- 
> Jules
> Sent via a stabby glass thing.
> All comments you find inappropriate are entirely the fault of 
> autocorrect. Honest.
>
>> On 27 Jan 2020, at 1:17 pm, Ken Etter <KLE at msktd.com> wrote:
>>
>> 
>> # php -v
>> PHP 7.0.7 (cli) ( NTS )
>> Copyright (c) 1997-2016 The PHP Group
>> Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
>>
>> SLES 12 SP4
>>
>> Every attempt.
>>
>> Ken
>> >>> Jules <Jules at Zend.To> 1/25/2020 1:23 PM >>>
>> > Ken,
>>
>> What version of php (run 'php -v'), and on what version of which 
>> Linux distro?
>> Does this happen to every attempt to download as a zip? Or just 
>> encrypted / unencrypted?
>> Cheers,
>> Jules.
>> On 24/01/2020 8:25 pm, Ken Etter via ZendTo wrote:
>>> This is showing up in the apache error log:
>>>
>>> [Fri Jan 24 15:19:47.183517 2020] [:error] [pid 1856] [client 
>>> 192.168.2.151:49250] PHP Fatal error: Uncaught TypeError: Return 
>>> value of ZipStream\\Option\\Archive::setSendHttpHeaders() must be an 
>>> instance of ZipStream\\Option\\void, none returned in 
>>> /opt/zendto/lib/ZipStream/Option/Archive.php:158\nStack trace:\n#0 
>>> /opt/zendto/lib/NSSDropoff.php(1026): 
>>> ZipStream\\Option\\Archive->setSendHttpHeaders(false)\n#1 
>>> /opt/zendto/lib/NSSDropoff.php(1282): 
>>> NSSDropoff->downloadPlainZip(Array)\n#2 
>>> /opt/zendto/www/download.php(128): 
>>> NSSDropoff->downloadFile('all')\n#3 {main}\n thrown in 
>>> /opt/zendto/lib/ZipStream/Option/Archive.php on line 158
>>> >>> Ken Etter via ZendTo <zendto at zend.to> 1/24/2020 3:19 PM >>>
>>> ZendTo Version 5.21-2. When a user selects "DownloadAll Files as a 
>>> Zip" they get an error: "This site cannot be reached The webpage 
>>> at...might be temporarily down or it may have moved... 
>>> err_invalid_response". I'm going to dig through the logs but thought 
>>> I would post the question here in case anyone knows a quick fix. Thanks!
>>>
>>> *Ken Etter*, System Administrator
>>> Architectural Group
>>> 260.432.9337|msktd.com <http://msktd.com/>
>>>
>>> <IMAGE.png>
>>> <http://msktd.com/>
>>>
>>>
>>>
>>> _______________________________________________
>>> ZendTo mailing list
>>> ZendTo at zend.to
>>> http://jul.es/mailman/listinfo/zendto
>>
>> Jules
>>
>> -- 
>> Julian Field MEng CEng CITP MBCS MIEEE MACM
>>
>> The current UK shipping forecast:
>> Irish Sea: Southwest 4 or 5, becoming cyclonic 6 to gale 8, then north 4 to 6.
>> Slight or moderate, occasionally rough in south. Rain. Good, occasionally
>> poor.
>>
>> www.Zend.To
>> Twitter: @JulesFM

Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

The current UK shipping forecast:
Irish Sea: Southwest 4 or 5, becoming cyclonic 6 to gale 8, then north 4 to 6.
Slight or moderate, occasionally rough in south. Rain. Good, occasionally
poor.

www.Zend.To
Twitter: @JulesFM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20200129/40a67bdf/attachment-0001.html>


More information about the ZendTo mailing list