I'm trying to setup the seblod download plugin but always run into an error when clicking on the download link. I'm using Joomla 3.9.14 / Seblod 3.18 / plg_cck_field_link_download_1.5.0 / PHP 7.1
I run into troubles and setup a very basic form including a group x field for attaching one ore more files. Saving data and showing the article in the frontend works fine. The displayed link in the browser seems to be ok. But clicking on the download link does not work.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as value, c.id as type_id, a.store_id FROM #__cck_core AS a LEFT JOIN AS b o' at line 1
I already tried to change the template, using a minimal .htaccess but never succeeded.
If I change the "Link" type from "Download" to none the path/file is showed correctly.
Is it a problem to use the file download link plugin in a group x?
Thanks for any help and hints
Form: Content (same fields in "Admin Form")
Group x fields: content but same fields in "Admin Form")
Single article view with link view in browser.
Clicking on the download links leads to this display:
Thank you for taking care of this topic. In order to solve the problem I made the application simple. I hope I've chosen the screenshots in a way that these answer your questions. First screenshot shows setup for the group x field in the content view. "Link" and "Typography" under "2" are set to "none". The other two fields just with standard settings too.
Following screenshot shows the content of the group x and the setup of the file field. Again all settings left to standard except "Typography" for the file field (see screenshot in my first post). The download settings are "Content -Current-" / Field name and Class: ... (means empty) / Menu Item and Title: -None-
Thanks again for the tutorial and the detailed description. I followed your steps and the one from the tutorial carefully (several times), but ended again with the same error as above. So I created a quite simple application - just an article with title, description field and a file select field (no group x...). All fields left on standard settings except the "Link" for the file select field (set to download).
The frontend view seems to be perfect, link is shown as "https://xxxxxxxxxxxxx/de/component/cck/?task=download&file=&id=294". A click on the link shows again error 1064 and so on.
Thank you very much for your detailed manual about setting up the group x. I'll try that later on.
I already used the upload file field and that worked perfectly. Now I've some files already on the server. Therefore I'd like to use the download link field as described here. If I set the "Link" to none I get displayed the stored path/file. I I set the "Link" to download I get the link but after clicking on the link I get the error 1064.
So, do I misunderstand the functionality of this file download link field or is my usage of this field wrong?