jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => Bugs! => Topic started by: josh on 09.11.2023 18:49:11

Title: Install Issues latest jdownloads and j5 - [Fixed in 4.0.39]
Post by: josh on 09.11.2023 18:49:11
Hi

Fresh Install J5 on local host,, using Cassiopia

installed jdownloads 4.0.36 went ok no errors
Control panel and User Group Settings I get
An error has occurred.
1364 Field 'inquiry_hint' doesn't have a default value

I have tried unistallin jdownloads, and removing all tables.

Any ideas



Title: Re: Install Issues latest jdownloads and j5
Post by: ColinM on 10.11.2023 14:23:54
Hi
Understand all went well with installing jD4.0.36 in Joomla 5 on Xampp or similar local host.
But when you accessed the jD Control Panel or User Group Settings you got an error "1364 Field 'inquiry_hint' doesn't have a default value".

To locate further need to have jD installed and the turn on debug facilities
Specifically in System - Global Config -System tab set Debug System to Yes and on the  on Server tab set Error Reporting to maximum.

When you then get an error it will give a call sequence of how the error arrose.  So copy and paste the entire 'report' into a forum post in this sequence.
thanks
Colin
Title: Re: Install Issues latest jdownloads and j5
Post by: josh on 10.11.2023 19:20:55
Gave up on J5

Going back to j 4.4, until they fix some of the issues in j5.
Title: Re: Install Issues latest jdownloads and j5
Post by: Norbert on 23.11.2023 19:29:18
Hello ,
i have the same Problem with Joomla 4.4 / php 8.1 / MySQL 8.0

Greetings Norbert


Es ist ein Fehler aufgetreten.

    1364 Field 'inquiry_hint' doesn't have a default value

Call stack
#    Function    Location
1    ()    JROOT/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:442
2    Joomla\Database\Mysqli\MysqliStatement->execute()    JROOT/libraries/vendor/joomla/database/src/DatabaseDriver.php:675
3    Joomla\Database\DatabaseDriver->execute()    JROOT/administrator/components/com_jdownloads/src/Model/GroupsModel.php:199
4    JDownloads\Component\JDownloads\Administrator\Model\GroupsModel->getItems()    JROOT/libraries/src/MVC/View/AbstractView.php:152
5    Joomla\CMS\MVC\View\AbstractView->get()    JROOT/administrator/components/com_jdownloads/src/View/Groups/HtmlView.php:49
6    JDownloads\Component\JDownloads\Administrator\View\Groups\HtmlView->display()    JROOT/libraries/src/MVC/Controller/BaseController.php:660
7    Joomla\CMS\MVC\Controller\BaseController->display()    JROOT/administrator/components/com_jdownloads/src/Controller/DisplayController.php:50
8    JDownloads\Component\JDownloads\Administrator\Controller\DisplayController->display()    JROOT/libraries/src/MVC/Controller/BaseController.php:693
9    Joomla\CMS\MVC\Controller\BaseController->execute()    JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
10    Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()    JROOT/libraries/src/Component/ComponentHelper.php:361
11    Joomla\CMS\Component\ComponentHelper::renderComponent()    JROOT/libraries/src/Application/AdministratorApplication.php:143
12    Joomla\CMS\Application\AdministratorApplication->dispatch()    JROOT/libraries/src/Application/AdministratorApplication.php:186
13    Joomla\CMS\Application\AdministratorApplication->doExecute()    JROOT/libraries/src/Application/CMSApplication.php:293
14    Joomla\CMS\Application\CMSApplication->execute()    JROOT/administrator/includes/app.php:61
15    require_once()    JROOT/administrator/index.php:32

Vorheriger Fehler

Field 'inquiry_hint' doesn't have a default value
Call stack
#    Function    Location
1    ()    JROOT/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:435
2    mysqli_stmt->execute()    JROOT/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:435
3    Joomla\Database\Mysqli\MysqliStatement->execute()    JROOT/libraries/vendor/joomla/database/src/DatabaseDriver.php:675
4    Joomla\Database\DatabaseDriver->execute()    JROOT/administrator/components/com_jdownloads/src/Model/GroupsModel.php:199
5    JDownloads\Component\JDownloads\Administrator\Model\GroupsModel->getItems()    JROOT/libraries/src/MVC/View/AbstractView.php:152
6    Joomla\CMS\MVC\View\AbstractView->get()    JROOT/administrator/components/com_jdownloads/src/View/Groups/HtmlView.php:49
7    JDownloads\Component\JDownloads\Administrator\View\Groups\HtmlView->display()    JROOT/libraries/src/MVC/Controller/BaseController.php:660
8    Joomla\CMS\MVC\Controller\BaseController->display()    JROOT/administrator/components/com_jdownloads/src/Controller/DisplayController.php:50
9    JDownloads\Component\JDownloads\Administrator\Controller\DisplayController->display()    JROOT/libraries/src/MVC/Controller/BaseController.php:693
10    Joomla\CMS\MVC\Controller\BaseController->execute()    JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
11    Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()    JROOT/libraries/src/Component/ComponentHelper.php:361
12    Joomla\CMS\Component\ComponentHelper::renderComponent()    JROOT/libraries/src/Application/AdministratorApplication.php:143
13    Joomla\CMS\Application\AdministratorApplication->dispatch()    JROOT/libraries/src/Application/AdministratorApplication.php:186
14    Joomla\CMS\Application\AdministratorApplication->doExecute()    JROOT/libraries/src/Application/CMSApplication.php:293
15    Joomla\CMS\Application\CMSApplication->execute()    JROOT/administrator/includes/app.php:61
16    require_once()    JROOT/administrator/index.php:32
Title: Re: Install Issues latest jdownloads and j5
Post by: Arno on 09.12.2023 00:32:59
Sorry for the delay, but I was ill.

I work on some fixes since today again and will soon publish an update.
Title: Re: Install Issues latest jdownloads and j5
Post by: PhilF51 on 18.12.2023 11:40:20
Using local server Xampp I also installed Joomla 5.  The update check listed many of the modules and few plugins it was not happy with.  many of the modules I don't use anyway and were disabled.  As it is on a local server I upgraded anyway to see what happens. Website appears to work fine. Downloading files as a user and it reported it could not find the file.  I expected this as the cloned website will not have the same file urls. It also threw out an error that it could not send the notification mail.  That was expected too I suppose as I am on local.

I  may shortly install a cloned version of the live site to a sub site on my live server to see what happens in reality.

So, there are a few things for JDownloads to be sorted regarding compatibility.

Joomla 5.1   PHP 8.2
Title: Re: Install Issues latest jdownloads and j5
Post by: Arno on 19.12.2023 19:47:05
Hi,
normally jDownloads 4.0.36 works with most Joomla 5 installations.

The fact that the Joomla update check lists parts of the jDownloads installation as 'Status unknown' is due to my somewhat unorthodox way of installing jDownloads modules and plugins.

Several years ago I deliberately decided not to install a Joomla package in order to have more control over installation/update and deletion. However, this now causes these messages from Joomla 5, although the jDownloads component itself is correctly reported as Joomla 5 compatible.

It is therefore safe to update to Joomla 5 despite these 'unclear' messages. Of course, you should ALWAYS create a backup beforehand!
Especially with Joomla installations that have been in operation for many years (and versions) and on which a large number of additional extensions are available. In addition, extensions that are no longer required should be removed and the database should be maintained.

I have now carried out at least twenty updates to Joomla 5 (incl. jDownloads). Mostly with no or only a few problems.
I therefore think that you can make an attempt without hesitation if you have a complete backup for an absolute emergency.

But the decision is up to you.  ;)
Title: Re: Install Issues latest jdownloads and j5
Post by: Norbert on 31.12.2023 12:42:31
Hallo Arno,

folgendes konnte ich feststellen:
Wenn man eine neue Gruppe unter Benutzer im Joomla anlegt , dann kommt der Fehler "1364 Field 'inquiry_hint' doesn't have a default value" unter der  Benutzergruppen Einstellungen von JDownloads.
Nach dem ich die Benutzergruppe im Joomla gelöscht habe ist der Fehler weg.

Viele Grüße Norbert und einen guten Rutsch ins neue Jahr.

---
Hello Arno ,

I was able to determine the following:
If you create a new group under user in Joomla, then the error "1364 Field 'inquiry_hint' doesn't have a default value" appears under the user group settings of JDownloads.
After I deleted the user group in Joomla the error is gone.

Best regards Norbert and a happy new year.
Title: Re: Install Issues latest jdownloads and j5
Post by: Arno on 01.01.2024 22:09:15
Hallo Norbert,
vielen Dank für den Hinweis, neue Benutzergruppen erstelle ich eher selten bei meinen Tests.  :-\
Ich werde es beim nächsten Update fixen!

------------------------------------------------------------------------------------Added by ColinM
Hello Norbert,
Thank you for the tip, I rarely create new user groups in my tests. :-\
I'll fix it in the next update!
Arno