jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => Bugs! => Topic started by: svherpen on 02.01.2023 16:33:37

Title: File upload error via Frontend - [Fixed in 4.0.11]
Post by: svherpen on 02.01.2023 16:33:37
Hi Arno,

When trying to upload a new file using the frontend, I get the error message Field 'changelog' doesn't have a default value
See attached picture.

Using the backend it works without any problem.
Title: Re: File upload error via Frontend
Post by: Arno on 02.01.2023 16:55:51
Please try the attached file.
Copy the unzipped file to /administrator/components/com_jdownloads/src/Table
and try it again.

And please post here the definition from the changelog field in your _files table.
Title: Re: File upload error via Frontend
Post by: svherpen on 03.01.2023 08:54:35
Hi Arno,

The fix you provided in DownloadTable.php file works, I can now upload files using the frontend.

The definition of the changelog field is:   changelog   text   utf8mb4_unicode_ci   
Title: Re: File upload error via Frontend - [Fixed in 4.0.11]
Post by: Arno on 03.01.2023 09:27:32
Okay. Thanks.