After upgrading phoca from 2.1.2 to 2.1.4 everything works fine, unless I change "Display File View" from "no" to "yes".
After this operation when I click on "download" - there is a blank page.
When "Display File View" is "no" I can download it normally.
Can't download a file
- Jan
- Phoca Hero
- Posts: 48610
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Can't download a file
Hi, testing it now without any problem, try to enable php error reporting to get info which error you get there:
https://www.phoca.cz/documents/16-joomla ... ent-errors
https://www.phoca.cz/documents/16-joomla ... ent-errors
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 26 Aug 2011, 00:02
Re: Can't download a file
Hi. I have the same problem but my error is:
Warning: require_once(/var/www/vhosts/david/poslovno-svetovanje.net/httpdocs/administrator/components/com_osemsc/warehouse/api.php): failed to open stream: No such file or directory in /var/www/vhosts/david/poslovno-svetovanje.net/httpdocs/components/com_phocadownload/models/file.php on line 229 Fatal error: require_once(): Failed opening required '/var/www/vhosts/david/poslovno-svetovanje.net/httpdocs/administrator/components/com_osemsc/warehouse/api.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/vhosts/david/poslovno-svetovanje.net/httpdocs/components/com_phocadownload/models/file.php on line 229
Plese help i instaled Phoca downloads on two sites on diferent servers but i get same resolt. What i am duing wrong?
I did make a menu item.
Warning: require_once(/var/www/vhosts/david/poslovno-svetovanje.net/httpdocs/administrator/components/com_osemsc/warehouse/api.php): failed to open stream: No such file or directory in /var/www/vhosts/david/poslovno-svetovanje.net/httpdocs/components/com_phocadownload/models/file.php on line 229 Fatal error: require_once(): Failed opening required '/var/www/vhosts/david/poslovno-svetovanje.net/httpdocs/administrator/components/com_osemsc/warehouse/api.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/vhosts/david/poslovno-svetovanje.net/httpdocs/components/com_phocadownload/models/file.php on line 229
Plese help i instaled Phoca downloads on two sites on diferent servers but i get same resolt. What i am duing wrong?
I did make a menu item.
-
- Phoca Professional
- Posts: 258
- Joined: 02 Jun 2011, 09:29
- Contact:
Re: Can't download a file
Please read this thread: viewtopic.php?f=31&t=16813
-
- Phoca Newbie
- Posts: 2
- Joined: 26 Aug 2011, 00:02
Re: Can't download a file
Ok. It is the same problem but if I remove that code I do not have OSEmsc control over the Phocadownloads so that is not in my interest be cos the downloads are very important to our business.
Thank you.
Thank you.
-
- Phoca Professional
- Posts: 258
- Joined: 02 Jun 2011, 09:29
- Contact:
Re: Can't download a file
Just an idea: Maybe you could modify the path to the right location? I can't test it because I haven't installed this OSE component.