News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Exporting download list

Started by arco, 25.10.2019 14:05:57

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

arco

This is not directly a jDownloads issue, but related. (hope somebody knows what's going on)

I try to create a list of downloads by doing an SQL query.
This works fine on screen, but fails if I add INTO OUTFILE, and I don't understand why...
(according to the manual this should work:


[gelöscht durch Administrator]
  •  

Arno

Hi,
I think you should try it in a MySQL forum.
I have never use this.  :-[
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Stefan1200

Wie man hier sehen kann, ist deine SQL Syntax falsch:
https://dev.mysql.com/doc/refman/8.0/en/select-into.html

Die INTO OUTFILE Anweisung muss vor FROM. Also vermutlich so:
SELECT file_id,file_title,url_download,size INTO OUTFILE 'test.csv' FROM jmdnx_jdownloads_files
  •