Page 1 of 1

File not found after reinstall plugin

Posted: 16 Jan 2025, 19:48
by mvergara
I needed to reinstall Phoca Download 5.0.10 plugin
For that process I used the documentation suggested by some specialist on a previous forum:
https://www.phoca.cz/documentation/86-j ... o-joomla-4

But after completing the reinstallation I am getting this error when trying to download files that were previously available (and the files still exist on the server)
"An error occurred while downloading the file. The file was not found on the server"
Any ideas on how to resolve this error?

Re: File not found after reinstall plugin

Posted: 17 Jan 2025, 16:41
by mvergara
After changing the error reporting level to maximum I got this error:
Deprecated: Function utf8_encode() is deprecated in /home/***/htdocs/www.***.org.co/templates/ja_intranet/html/com_phocadownload/category/default_files.php on line 346

But even I changed the PHP version to 8.1 and the error dissapeared, the problem seem being same.
An error occurred while downloading the file. The file was not found on the server"
Anyone can help me with this error?

Re: File not found after reinstall plugin

Posted: 17 Jan 2025, 16:49
by mvergara
I guess the problem is still related to the Phoca Download 5.0.10 module, because when I am trying to find the file pointed in the article I cant browse the file system to find or reselect the requested file.
BTW: I cant upload screenshots to show how looks the screen.

Re: File not found after reinstall plugin

Posted: 18 Jan 2025, 02:02
by Jan
Hi,

1) first of all, the error you get, is not coming from Phoca Download but from your template which overrides the Phoca Download output. The "Deprecated" warning is mostly not a problem but there can be other problems. Try to switch to some standard template to test if you get the same problems.

What part do you exactly use: Phoca Download plugin, Phoca Download component or Phoca Download module?

Jan