jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => General => Topic started by: Janvanderwurff on 08.05.2018 15:56:26

Title: Error! Not possible to create the zip file. In version 3.2.60 - [Solved]
Post by: Janvanderwurff on 08.05.2018 15:56:26
Hello,

I'm new at this forum.
The problem I have is this. When selecting more than 1 files in jDownloads I got this message.
I'm using jDownloads 3.2.60.
When I select 1 file there is no problem.
In earlier posts there was the same question but the answer was that this was fixed.

PHP version is 7.0.29
ZIP is enable

Do I do something wrong?

Thx. Jan

[gelöscht durch Administrator]
Title: Re: Error! Not possible to create the zip file. In version 3.2.60
Post by: ColinM on 08.05.2018 16:37:39
Hi
I have tried to reproduce this problem but it is all OK.  Which Files Layout are you using?
See pics below.
I am using PHP 7.0.24, jD 3.2.60 and Joomla! 3.8.7

So think it may well be worth contacting your web hosting service

Colin

[gelöscht durch Administrator]
Title: Re: Error! Not possible to create the zip file. In version 3.2.60
Post by: Janvanderwurff on 08.05.2018 20:57:26
Thx Colin so far.

I use Joomla 3.8.7, PHP 7.0.29, JD 3.2.60

I changed the files layout but nothing changes. Same error.

What do you think is wrong? Could be nice to know before I call my hosting service.

I tried it also on my test site (local with wamp). There everything was ok.

Jan.
Title: Re: Error! Not possible to create the zip file. In version 3.2.60
Post by: ColinM on 09.05.2018 10:38:32
Hi
It requires one of the many zip file support libraries to create the actual zip file.  Will check with Arno which one
Colin
Title: Re: Error! Not possible to create the zip file. In version 3.2.60
Post by: Arno on 09.05.2018 23:15:13
jDownloads use this PHP class:
http://php.net/manual/en/class.ziparchive.php
Title: Re: Error! Not possible to create the zip file. In version 3.2.60
Post by: Janvanderwurff on 10.05.2018 11:59:17
Hello Colin and Arno,

Because it worked in test (wamp) and not live, I looked further in the settings of jdownload.
What I noticed was that in the Configuration/Downloads area 4 directories where missing and therefore not writable.
* _uncategorised_files
* _preview_files
* _private_user_area
* _tempzipfiles

So I added these directories manually and change the settings to 775 (writable).
After reloading the component they showed up as writable.
Testing to create a zip file (multiple files) worked perfect.

So this post is fixed.

Thx very much for your comments so far.
Title: Re: Error! Not possible to create the zip file. In version 3.2.60
Post by: Janvanderwurff on 10.05.2018 12:40:32
Maybe not completely solved.

Temporary files should be deleted from the _tempzipfiles directory in a certain time. Default is 20 mn.
But they are not been deleted!
What's going wrong?

Thx Jan

[gelöscht durch Administrator]
Title: Re: Error! Not possible to create the zip file. In version 3.2.60
Post by: Arno on 10.05.2018 13:14:03
The file is only deleted when a visitor try to download again a mass download and the summary is viewed. So the given minutes is only a minimum value.