I am trying to add multiple files to PhocaDownload and every time I attempt to add more than one file it results in this error:
"An error has occurred.
0 Call to undefined method Joomla\Database\Mysqli\MysqliDriver::getError()"
Adding one file works fine and leaving the title blank results in the filename being used as the title which is what I want.
Any help would be appreciated please.
Thanks Jonathan
Joomla 4.2.5 Multiple add not working for me
-
- Phoca Newbie
- Posts: 5
- Joined: 15 Dec 2017, 22:24
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Joomla 4.2.5 Multiple add not working for me
Hi, do you get the same error with latest Beta?
https://github.com/PhocaCz/PhocaDownloa ... 5Beta2.zip
Jan
https://github.com/PhocaCz/PhocaDownloa ... 5Beta2.zip
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 15 Dec 2017, 22:24
Re: Joomla 4.2.5 Multiple add not working for me
Hi Jan - Thanks for looking into this.
I installed the com_phocadownload_v4.0.5Beta2 and tried a multiple-add and now I get:
Best regards
Jonathan
I installed the com_phocadownload_v4.0.5Beta2 and tried a multiple-add and now I get:
Thanks for looking into this.Save failed with the following error: Field 'publish_up' doesn't have a default value
Best regards
Jonathan
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Joomla 4.2.5 Multiple add not working for me
Hi, can you enable debug mode when saving, to see the file and row where this occurs. When enabled debug mode, can you paste the full error message? Can you exaclty describe when this error occurs?
Thank you, Jan
Thank you, Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 15 Dec 2017, 22:24
Re: Joomla 4.2.5 Multiple add not working for me
Screnshots: https://imgur.com/gPLbOHO
Debug result of error on "Save & Close" to add multiple files using "Multiple Add":
Shot of screen just before error is shown: https://imgur.com/a/PXEtPrS
danger
Save failed with the following error: Field 'publish_up' doesn't have a default value
An error has occurred.
404 View not found [name, type, prefix]: phocadownloadm, html, phocadownloadcpView
Call stack
# Function Location
1 () JROOT/libraries/src/MVC/Controller/BaseController.php:816
2 Joomla\CMS\MVC\Controller\BaseController->getView() JROOT/libraries/src/MVC/Controller/BaseController.php:602
3 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_phocadownload/controller.php:58
4 PhocadownloadCpController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
5 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_phocadownload/phocadownload.php:47
6 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
7 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
8 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
9 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
10 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
11 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
12 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
13 require_once() JROOT/administrator/index.php:32
Thank you
Best regards
phoenixjonty
Debug result of error on "Save & Close" to add multiple files using "Multiple Add":
Shot of screen just before error is shown: https://imgur.com/a/PXEtPrS
danger
Save failed with the following error: Field 'publish_up' doesn't have a default value
An error has occurred.
404 View not found [name, type, prefix]: phocadownloadm, html, phocadownloadcpView
Call stack
# Function Location
1 () JROOT/libraries/src/MVC/Controller/BaseController.php:816
2 Joomla\CMS\MVC\Controller\BaseController->getView() JROOT/libraries/src/MVC/Controller/BaseController.php:602
3 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_phocadownload/controller.php:58
4 PhocadownloadCpController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
5 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_phocadownload/phocadownload.php:47
6 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
7 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
8 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
9 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
10 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
11 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
12 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
13 require_once() JROOT/administrator/index.php:32
Thank you
Best regards
phoenixjonty
-
- Phoca Newbie
- Posts: 5
- Joined: 10 Feb 2014, 19:34
Re: Joomla 4.2.5 Multiple add not working for me
Hi Jan,
i have exact the same problem. Using 4.2.5. and Phoca download 4.0.4. I m waiting for an answer before I wil instal the next beta version.
Durk
i have exact the same problem. Using 4.2.5. and Phoca download 4.0.4. I m waiting for an answer before I wil instal the next beta version.
Durk
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Joomla 4.2.5 Multiple add not working for me
Hi, did you update or migrate Phoca Download? It seems like the database column is stored with obsolete options
BTW - try to install the latest Beta (4.0.5Beta3), I added some protection there:
https://github.com/PhocaCz/PhocaDownloa ... 5Beta3.zip
And let me know if this is OK?
Thank you, Jan
BTW - try to install the latest Beta (4.0.5Beta3), I added some protection there:
https://github.com/PhocaCz/PhocaDownloa ... 5Beta3.zip
And let me know if this is OK?
Thank you, Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 10 Feb 2014, 19:34
Re: Joomla 4.2.5 Multiple add not working for me
Goodmorning Jan,
You solved the problem. After the update with 4.0.5.beta3 the multiadd is working fine. Thanks.
Greeting from the Netherlands,
Durk
You solved the problem. After the update with 4.0.5.beta3 the multiadd is working fine. Thanks.
Greeting from the Netherlands,
Durk
Jan wrote: ↑21 Nov 2022, 01:34 Hi, did you update or migrate Phoca Download? It seems like the database column is stored with obsolete options :idea:
BTW - try to install the latest Beta (4.0.5Beta3), I added some protection there:
https://github.com/PhocaCz/PhocaDownloa ... 5Beta3.zip
And let me know if this is OK?
Thank you, Jan
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Joomla 4.2.5 Multiple add not working for me
Hi, great to hear it, thank you for the info.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 15 Dec 2017, 22:24
Re: Joomla 4.2.5 Multiple add not working for me
Hi Jan ... Jonty here!
It is a new J4 site replacing our previous J3 site. Not migrated and with a new database.
The (4.0.5Beta3) also works fine now and the Multiple add gave the 10 files in my test the new title for each using the File Name. That is perfect for my needs.
Thank you so much
Best regards Phoenixjonty
It is a new J4 site replacing our previous J3 site. Not migrated and with a new database.
The (4.0.5Beta3) also works fine now and the Multiple add gave the 10 files in my test the new title for each using the File Name. That is perfect for my needs.
Thank you so much
Best regards Phoenixjonty