Page 1 of 1
Can't download file: the page just refreshes
Posted: 10 Sep 2010, 14:57
by daniele.gatti
Hello,
I've installed Phoca Download 1.3.6 on a site running Joomla 1.5.17. I've tried uploading a file but when I click to download it, the page just refreshes. It doesn't throw out errors or anything, it just refreshes and nothing more happens. The file is a regular 50 KB PDF, the download page is here:
http://www.sampietri.absol.it/andrea
Do you have any ideas on the subject?
Thanks in advance
Re: Can't download file: the page just refreshes
Posted: 10 Sep 2010, 15:24
by Benno
Hi,
I get an 404 there.
Kind regards,
Benno
Re: Can't download file: the page just refreshes
Posted: 10 Sep 2010, 16:03
by daniele.gatti
Re: Can't download file: the page just refreshes
Posted: 10 Sep 2010, 22:06
by Benno
Hi,
sorry, I have no idea what´s wrong there...
Kind regards,
Benno
Re: Can't download file: the page just refreshes
Posted: 13 Sep 2010, 12:22
by daniele.gatti
The server throws this error:
Code: Select all
[10-Sep-2010 12:37:09] PHP Warning: filesize(): stat failed for D:\apachepub\wwwroot\absol\images\stories\sampietri\allegati\D:\apachepub\wwwroot\absol\images\stories\sampietri\allegati\pdf1.pdf in D:\apachepub\wwwroot\absol\administrator\components\com_phocadownload\helpers\phocadownload.php on line 205
Looks like the component is writing the file URL 2 times. In fact, if I enter the filename manually in the backend everything works. Problem is, the site will be used by a not tech-savvy person, so I need to keep it simple (click and point style).
Re: Can't download file: the page just refreshes
Posted: 14 Sep 2010, 12:14
by daniele.gatti
I solved this (more accurately, worked around it). Looked like the component didn't like the absolute path, I just had to set the relative one in the main settings and now it works like a charm.
Re: Can't download file: the page just refreshes
Posted: 14 Sep 2010, 20:03
by Benno
Well done!
Kind regards,
Benno