Downloadable Files: troubleshooting

Some customers have some problems with OpenCart 2.0 extension "Downloadable Files". Since problems are similar, it was decided to collect solving them in one place.
Problem: Blank page, error 500 or message Fatal error: Class 'finfo' not found in ...
Reason: The PHP module Fileinfo is disabled or not installed. It returns mime type of file.
Solution 1: Enable or install Fileinfo.
Solution 2: Use Downloadable Files version 1.2.1.
Solution 3: Open install.xml and find:
$finfo = new finfo(FILEINFO_MIME); $mime_type = $finfo->file($file);
replace to:
$mime_type = 'application/octet-stream';
Problem: Instead of a tab, it shows up as a text link, files shows up in the wrong place etc.
Reason: Template is not default.
Solution: Open install.xml and find
<file path="catalog/view/theme/*/template/product/product.tpl"> ... </file>
increase up index value: instead index="0" write index="1" etc.
Problem: After install I see no changes.
Reason: Files are not attached to product.
Solution: Attach some downloads to product :) The tab shows up if the product has one or more attached downloads.
Solution 2: For Opencart3 only. Refresh system cache (a gear on admin dashboard (top-right))
7 Comment(s)
Установил модуль, установка успешная НО:\r\nв списке расширения/модули его нет (перерыл все 33 раза)\r\nв модификаторах есть!\r\nв " Группы пользователей " тоже не нашел....\r\nмодификаторы обновлял, кеш чистил...\r\nфайл к продукту прикреплен.\r\nгде он спрятался, как его активировать?\r\nP.S: ocStore 3.0.2.0\r\nставил downloadable_files_1.3.ocmod
Посмотрите что в Логах и Ошибках пишется
Решение: Прикрепить файлы :) \r\nКак это сделать???
В редакторе товара во вкладке Связи. Предварительно нужно создать загрузку в Каталог - Загрузки. Это всё описано в официальной документации опенкарт.\r\nДругой вариант: воспользоваться модулем Простое прикрепление файлов или Расширенные загрузки.
After install I see no changes and the product already has few downloads added to it. No documents tab was showing. Did the refresh many times, no error in the log.
Version 3.0.3.6
The mod already enabled.
Downloadable Files Volodymyr Chornovol 1.3.1 Enabled 05/01/2021
Hi. Did you refresh theme cashe? A gear on the dashboard. Also, it may be incompatible with your template. If you're using Journal3, pay attention to the module Advanced Downloads.
I've tried installing this both ways from the readme.txt and I cleared all cache on the site, refreshed the modifications. The downloads tab shows up on the left menu and I can upload files to it but it is not in the "extentions" list and the tab doesn't show up in the products page. Ideas? Opencart 3.0.3.6
Установили модуль почистили кеш все по инструкции, Но модификатор так и не появился в списке расширений
проверил много раз. но вкладка так и не появилась.
Нужна ваша помощь подскажите решение.
В логах нет ошибок/
------------
Installed the module, cleaned the cache, all according to the instructions, But the modifier did not appear in the list of extensions
checked many times. but the tab never showed up.
I need your help tell me the solution.
There are no errors in the logs
Роман, модификатор появляется только в списке модификаторов. Downloadable Files не является полноценным модулем. Если Вам всё ещё нужна помощь - пишите на [email protected]
Hello. Works fine: displays name and size of files, but doesn't open the link. Shows 404 page.
Добрый день!
ocStore 3.0.3.7 установка прошла нормально, но во вкладке товара отображается не правильно и силка не формируется, просто при нажатии создает новую вкладку страницы
Leave a Comment