Fileupload item problem and zip file

enrb

Member
Good morning,
I have a problem with a fileupload element when trying to upload a .zip file

Then, the file upload element is set to ajax upload, in the allowed file types I put the extensions pdf, zip
When I upload a pdf file I have no problem, it loads it.

Unfortunately when I try to upload a zip file, I get a generic error in a popup window HTTP Error.

In the chrome console I have the following error:
plupload.html5.js:619
POST https://mysiteweb.com/index.php?opt...5dcf0e4d7=1&method=ajax_upload&element_id=316 500
prepareAndSend @ plupload.html5.js:619
uploadNextChunk @ plupload.html5.js:719
sendBinaryBlob @ plupload.html5.js:725
(anonimo) @ plupload.html5.js:746
trigger @ plupload.js:1327
uploadNext @ plupload.js:881
start @ plupload.js:1237
(anonimo) @ fileupload-min.js:3
setTimeout (asinc)
(anonimo) @ fileupload-min.js:3
trigger @ plupload.js:1327
addSelectedFiles @ plupload.html5.js:239
inputFile.onchange @ plupload.html5.js:323
 
Yes, zip files are allowed.

I also tried to make a local copy of the site and everything works locally.
I just can't figure out why it doesn't work online.
 
Since it works locally, while it doesn't work on online hosting, I tried to understand what differences there were between the 2...

As for the zip files, going to see the joomla back-end in the system information, under php information, I noticed that locally I have these 2 libraries:
Zip enabled
Zip version 1.15.6
Libzip headers version 1.7.1
Libzip library version 1.7.1

while on the online server I have these:
Zip enabled
Zip version 1.15.6
Libzip headers version 1.3.2
Libzip library version 1.3.2

Could this be the problem?
 
Unlikely. Check your zip file size so it doesn't exceed the limit set in fileupload element or your server php upload limit.
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top