News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Error! Not possible to create the zip file - version 3.2.14 beta - [Solved !!!]

Started by pquagliotto, 25.10.2014 10:20:41

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pquagliotto

Dear all,

after having installed the JDownloads version 3.2.14 beta I tried the software. All went perfectly.

When I tried to select more than one file and tried to download, I obtained the error:

Error! Not possible to create the zip file

for both a normal registered user and the Super User.

I tried to follow the advices already reported in this forum http://www.jdownloads.com/forum/index.php?topic=7005.0 and http://www.jdownloads.com/forum/index.php?topic=7175.msg27830#msg27830. Also, looking to the advices in http://www.jdownloads.com/forum/index.php?topic=6963.0 I checked about the Cache deactivation in the Joomla configuration and template settings. All settings are (presumably) correct with respect to what was requested by the post.

the modification proposed in http://www.jdownloads.com/forum/index.php?topic=7005.0 was not tried, since I supposed it was corrected already in new versions.

My configuration is:

Joomla 3.3.4
JDownloads 3.2.14 beta

CentOS 6.5 (fully updated in recent days)
PHP 5.5.18
MySQL 5.5.40
no XAMMP

no SEF add-ons were installed. This is a preliminary developing site.


Sorry to bother you, I would hope this can help in the developing of JDownloads.

Best regards.


  •  

Arno

Hi.
I think on your server is missing a zip library.
Check this via Joomla 'System Information' TAB PHP Information.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Arno

Read this topic. ;)
http://www.jdownloads.com/forum/index.php?topic=7270.0

When this not helped, check whether the _tempzipfiles folder is writable (chmod 0755).
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

pquagliotto

Dear Arno,

many thanks for your quick reply. My situation was just the same reported by the screenshots reported in that link, but my zip was already activated.

in the /usr/lib64/php/modules zip.so is installed and the zip.ini is present in the /etc/php.d directory. So I would think that the zip installation should work.

The _tempzipfiles folder has 755 permissions setup.

Maybe I am lacking something, such as some plugin?

Many thanks and best regards!


  •  

Arno

Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

pquagliotto

Dear Arno;

many thanks. I forgot to mention in the previous post (I apologize for it!) that the two file I was trying to "zip" for downloading are about 130 and 330 Kb big.
The setup for PHP has a higher maximum value for "post_max_size" and "upload_max_filesize"  than the actual downloading request.

So, it is still unclear, at least to me, what should be the reason for this problem.

The only thing I could imagine is that, since CentOS do not rely on MySQL 5.5 and PHP 5.5 yet (at least PHP 5.4 or higher is needed for Joomla 3), I had to install them from other repository but, until now, all worked perfectly. I wonder if there is some problem with those versions.....

Many thanks for your effort in following my problem.

Best regards
  •  

Arno

Thanks for your results.
So we can close this topic.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

pquagliotto

Dear Arno,

since the previous topic was closed, I would better define the nature of the problem, and give some info to you and people who, maybe, is dealing with the problem I encountered. If you like, you can move this message at the end of the previous topic so all information could be found in the same place.

The Problem: when trying to download multiple files, the error "Error! Not possible to create the zip file" was generated. See http://www.jdownloads.com/forum/index.php?topic=7480.0

1) the problem  was not absolutely solved by modifying the limits for uploads / downloads file dimensions. Event a few hundreds of Kb could not be zipped together, even if the whole dimension of files and/or the dimension of the zipped file were well smaller that the limit dimensions defined in the php.ini.

2) the nature of the problem was to be searched in the general configuration of the machine. I am running a CentOS, due to request of my datacenter, that uses this as standard Linux machine. In order to run Joomla 3.x PHP higher than 5.3.9 should be used. CentOS, even in the recent release 6.6 rely always on well assessed PHP and MySQL versions, i.e. PHP 5.3.3 and MySQL 5.1.73. In order to install newer versions people use external repositories such as EPEL (Fedora based) and REMI. While these repositories distribute versions compiled for CentOS, they probably (this was assessed in a wiki on CentOS site) rewrite some files that constitute the "core" of CentOS. This, in principle, constitute a "break" of the Linux upstream and problems cannot in general be predictable. Until using JDownloads, I could not evidence any problem. When trying, as told before, to check multiple files and to download them, the above error was generated. Every advice from Arno was tried, but no results were achieved. The problem was connected to the use of non standard Repositories and due to this, to not fully approved versions of PHP/MySQL. By rebuilding the machine with CentOS 6.5 o 6.6 with PHP 5.4 and MySQL coming from the Software Collection of CentOS / RedHat:

see: http://wiki.centos.org/AdditionalResources/Repositories/SCL

the problem  was solved.

While the installation and use is more tricky, this was an excellent solution that would not break the Linux upstream and made me able in only 2 h to rebuild completely the machine with the five sites, reconstituted from their backups.

The same problem could affect, in principle, all Linux distribution, as Debian s an example (!!!!), that would not permit to update their PHP / MySQL versions to the most recent or to those you need, as a part of their upstream. They can be affected by this, and probably, other problems!

Sorry to bother you again. This was the end of the story, hoping that this could be useful for people coming to this forum to solve their problems that are "NOT" due, to JDownloads, but to some problem of Linux configuration.

my 2 cents of help........

Many thanks for the JDownloads piece of Ssoftware, very useful... I am completely satisfied about it!

Bye,

Pierluigi
  •  

Arno

Hi pquagliotto,
many thanks for your copious notes!  Very useful for other users.  8)
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

pquagliotto

Hi Arno,

it was a pleasure to share my experience. You programmed a Joomla extension for sharing, but also information should be shared by the users, in order to help each other and make Open Source Software always better performing.

Best regards,

Pierluigi
  •