Page 1 of 1

Can't download a file

Posted: 12 Dec 2011, 15:48
by xquest
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.

Re: Can't download a file

Posted: 15 Dec 2011, 23:36
by Jan
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

Re: Can't download a file

Posted: 20 Dec 2011, 13:39
by DavidWooF
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.

Re: Can't download a file

Posted: 20 Dec 2011, 15:13
by SonRiab
Please read this thread: viewtopic.php?f=31&t=16813

Re: Can't download a file

Posted: 20 Dec 2011, 20:21
by DavidWooF
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.

Re: Can't download a file

Posted: 20 Dec 2011, 23:18
by SonRiab
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.