Page 1 of 1

Unable to download from category view

Posted: 12 Jan 2024, 17:11
by Astrid
When clicking downloadbutton detail view is opened. Browser console shows error [code]/media/com_phocadownload/js/overlib/overlib_mini.js' is blocked due to a non-matching MIME type ('text/html')[/code]
Joomla 4.4.2
Phoca Download 4.0.9
Yootheme Pro template
I have Phoca download on another site with same versions and almost same settings. Only difference on site that is not working is that all downloads en categories are set to registered. But that shouldn't be the problem.
And preview files are in phocadownload in stead of in phocadownloadpap as I don't want to store same file twice.
Do you have any idea what may cause this problem?
Already replaced my .htaccess with an original.
On the working site when inspecting the button link it is like
[code]category/subcategory?download=199:filename[/code]
On the non working site it is
[code]category/filename[/code]
On the non working site I don't have subcategories, but that shouldn't be the problem either.

Re: Unable to download from category view

Posted: 12 Jan 2024, 17:44
by Jan
Hi, hard to say what can be wrong with loading the overlib_mini.js on your site. You can even test Phoca Download verison 5 Beta on your Joomla 4.4. - it should work there too.

Jan

Re: Unable to download from category view

Posted: 13 Jan 2024, 13:49
by Astrid
Solved. Don't know what I missed, but after several hours of testing I decided to put both sites (working and the one with the problem) on localhost. And then simply copy parameters for com_phocadownload in extensions table from working site to non working site.

Re: Unable to download from category view

Posted: 15 Jan 2024, 23:44
by Jan
OK