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
Can't download file: the page just refreshes
-
daniele.gatti
- Phoca Newbie

- Posts: 8
- Joined: 10 Sep 2010, 14:23
- Benno
- Phoca Hero

- Posts: 9964
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
-
daniele.gatti
- Phoca Newbie

- Posts: 8
- Joined: 10 Sep 2010, 14:23
- Benno
- Phoca Hero

- Posts: 9964
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Can't download file: the page just refreshes
Hi,
sorry, I have no idea what´s wrong there...
Kind regards,
Benno
sorry, I have no idea what´s wrong there...
Kind regards,
Benno
-
daniele.gatti
- Phoca Newbie

- Posts: 8
- Joined: 10 Sep 2010, 14:23
Re: Can't download file: the page just refreshes
The server throws this error:
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).
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 -
daniele.gatti
- Phoca Newbie

- Posts: 8
- Joined: 10 Sep 2010, 14:23
Re: Can't download file: the page just refreshes
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.
- Benno
- Phoca Hero

- Posts: 9964
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Can't download file: the page just refreshes
Well done!
Kind regards,
Benno
Kind regards,
Benno