Can't download file: the page just refreshes

Phoca Download - download manager
daniele.gatti
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 10 Sep 2010, 14:23

Can't download file: the page just refreshes

Post 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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9964
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Can't download file: the page just refreshes

Post by Benno »

Hi,
I get an 404 there. :idea:
Kind regards,
Benno
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9964
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Can't download file: the page just refreshes

Post by Benno »

Hi,
sorry, I have no idea what´s wrong there... :idea:
Kind regards,
Benno
daniele.gatti
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 10 Sep 2010, 14:23

Re: Can't download file: the page just refreshes

Post 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).
daniele.gatti
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 10 Sep 2010, 14:23

Re: Can't download file: the page just refreshes

Post 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.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9964
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Can't download file: the page just refreshes

Post by Benno »

Well done! :twisted:
Kind regards,
Benno
Post Reply