Download button not working (Error while downloading file)

Phoca Gallery - image gallery extension
robinwillems
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 26 Feb 2017, 11:45

Download button not working (Error while downloading file)

Post by robinwillems »

Hi i'm using Phoca Gallery 4.3.4 with Joomla 3.7.0.
When someone tries to download an image with the "download button" the error is "Error while downloading file"

The images are hosted on both facebook albums and picasa/google albums (same error).
The urls looks like https://www.MyUrlChanged.com/multimedia ... download=2

Any ideas what could cause this error?

Best Regards Robin


------
PHP gebouwd op 2.6.32-673.26.1.lve1.4.18.el6.x86_64 #1 SMP Fri Oct 21 11:58:14 EDT 2016 x86_64
Database versie 5.5.5-10.0.27-MariaDB-cll-lve
Database collatie latin1_swedish_ci
Collatie van de databaseverbinding utf8mb4_general_ci
PHP versie 7.0.17
Webserver Apache
WebServer naar PHP interface litespeed
Joomla! versie Joomla! 3.7.0 Stable [ Amani ] 25-April-2017 15:36 GMT
Joomla! Platform versie Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
Gebruikersagent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36


Functie getImageSize Ingeschakeld Ingeschakeld
Functie imageCreateFromJPEG Ingeschakeld Ingeschakeld
Functie imageCreateFromPNG Ingeschakeld Ingeschakeld
Functie imageCreateFromGIF Ingeschakeld Ingeschakeld
Functie imageRotate Ingeschakeld Ingeschakeld
Functie imageCreateTruecolor Ingeschakeld Ingeschakeld
Functie imageCopyResampled Ingeschakeld Ingeschakeld
Functie imageFill Ingeschakeld Ingeschakeld
Functie imageColorTransparent Ingeschakeld Ingeschakeld
Functie imageColorAllocate Ingeschakeld Ingeschakeld
Functie exif_read_data Ingeschakeld Ingeschakeld
Picasa ondersteuning
PHP instellingen parameter allow_url_fopen (Hoeft niet ingeschakeld te worden als cURL functies zijn uitgeschakeld) Ingeschakeld Ingeschakeld
Functie cURL (Hoeft niet ingeschakeld te worden als allow_url_fopen is uitgeschakeld) Ingeschakeld Ingeschakeld
Functie json_decode Ingeschakeld Ingeschakeld
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Download button not working (Error while downloading file)

Post by Jan »

Hi, do you have it somewhere live. This can be caused by many different parts. Like some limits on the server, or e.g. the links are not accessible, or they limit the access for direct download (when they are on external server like Picasa or Facebook), etc. :idea:

When you see errorLog on your server, do you see there any error regarding download feature?
https://www.phoca.cz/documents/16-joomla ... rs-on-site

Jan
If you find Phoca extensions useful, please support the project
robinwillems
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 26 Feb 2017, 11:45

Re: Download button not working (Error while downloading file)

Post by robinwillems »

Hi Jan, thanks for your response. I'm getting no errors on the page (with htaccess errors at ON) or in the logs. The Http access logs says http200
Url: https://www.akcsteedshooger.nl/multimedia/fotos

I will try to upload to a local album to see if the problem is also there.
Update: Download of local pictures are working... so it could be related to Picasa/Facebook albums.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Download button not working (Error while downloading file)

Post by Jan »

Hi, yes, this seems to be some access problem, like the images the program cannot access directly :-(

Jan
If you find Phoca extensions useful, please support the project
robinwillems
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 26 Feb 2017, 11:45

Re: Download button not working (Error while downloading file)

Post by robinwillems »

At the moment, i cannot add new Facebook photo's because of a problem with the API so i cannot test anything.
I will disable the download function for the albums.

Thanks.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Download button not working (Error while downloading file)

Post by Jan »

Ok, I hope, I will find which new changes or limits there are in the API :-(

Jan
If you find Phoca extensions useful, please support the project
Post Reply