Page 1 of 1
Problem upload file Front-end
Posted: 14 Nov 2022, 14:34
by genovince
when I try to upload from the frontend I get this warning. tail can it be?
thanks for your help
Call to undefined method Joomla \ Database \ Mysqli \ MysqliDriver :: getError ()
Re: Problem upload file Front-end
Posted: 14 Nov 2022, 15:03
by Jan
Hi, please enable debug mode in Joomla Global configuration to see the whole warning message (including the file and line where the error occurrs). Which version of Phoca Download do you use?
Jan
Re: Problem upload file Front-end
Posted: 21 Dec 2022, 12:40
by ferino
Hi, I have the same problem
new installation Joomla and Phoca Download
Joomla v4.2.6
Phoca Download v4.0.4
PHP v7.4.13
mySQL 8.0.31
Web Server: Microsoft-IIS/10.0
Code: Select all
0 Call to undefined method Joomla\Database\Mysqli\MysqliDriver::getError()
Call stack
# Function Location
1 () JROOT\components\com_phocadownload\models\user.php:488
2 PhocaDownloadModelUser->_save() JROOT\components\com_phocadownload\models\user.php:375
3 PhocaDownloadModelUser->singleFileUpload() JROOT\components\com_phocadownload\views\user\view.html.php:207
4 PhocaDownloadViewUser->display() JROOT\libraries\src\MVC\Controller\BaseController.php:639
5 Joomla\CMS\MVC\Controller\BaseController->display() JROOT\components\com_phocadownload\controller.php:37
6 PhocaDownloadController->display() JROOT\libraries\src\MVC\Controller\BaseController.php:672
7 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT\components\com_phocadownload\phocadownload.php:59
8 require_once() JROOT\libraries\src\Dispatcher\LegacyComponentDispatcher.php:71
9 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT\libraries\src\Dispatcher\LegacyComponentDispatcher.php:73
10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT\libraries\src\Component\ComponentHelper.php:355
11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT\libraries\src\Application\SiteApplication.php:200
12 Joomla\CMS\Application\SiteApplication->dispatch() JROOT\libraries\src\Application\SiteApplication.php:241
13 Joomla\CMS\Application\SiteApplication->doExecute() JROOT\libraries\src\Application\CMSApplication.php:294
14 Joomla\CMS\Application\CMSApplication->execute() JROOT\includes\app.php:61
15 require_once() JROOT\index.php:32
Re: Problem upload file Front-end
Posted: 23 Dec 2022, 23:13
by tramber91
Hi all
same issue on my side
In a fresh install of Phoca download 4.0.4 (in a website i have just upgrade to Joomla 4)
When I try to add file in front
Code: Select all
0 Call to undefined method Joomla\Database\Mysql\MysqlDriver::getError()
Database mysql
Database 5.7.23-23-log
Interclassement de la base de données utf8_general_ci
PHP 8.1.0
Version de Joomla Joomla! 4.2.6 Stable
But Ok in on another install !!
php 8
php 8.1 issue ? Not my website i have no way to test with lower php
PS: If I enable debug mode to maximum - all my website including admin side crash !!!
In same server; previously, no issue to manage the same function (Joomla 3.10, Phoca Download 3.2.3)
thanks for your support and great Xmas days
Re: Problem upload file Front-end
Posted: 24 Dec 2022, 00:57
by tramber91
Also strange
Now, if i want to upload same file, i have no more error message but just a warning (in red)
File not upload . File arlready exist !! (translation from french)
I have check in back and front, these files are nowhere in database are available to approve ?? I Check n php myadmin too
If I try again with a new file too large
I have also a warning, "File not upload , file too large"
But no error
last test with right and new file
same error (pas good)
0 Call to undefined method Joomla\Database\Mysql\MysqlDriver::getError()
Hope can help
Re: Problem upload file Front-end
Posted: 25 Dec 2022, 17:25
by Jan
Hi, do you get the same problems with Beta version?
https://github.com/PhocaCz/PhocaDownloa ... 5Beta6.zip
Jan
BTW
- file too large - means that file is too large - you can change the limits in Option
- file already exists - means that file already exists - so you need to upload other file or set in options that files can be overwritten.
Jan
Re: Problem upload file Front-end
Posted: 28 Dec 2022, 17:45
by tramber91
Hi
Thanks for your quick answer
I just update Phocadownload to the latest version version, 4.0.5 Beta 6 (proposal from joomla update section)
and no more issue on my side, i can upload from front
Thanks again and wish you an happy new year from France
Take care
Bertrand
Re: Problem upload file Front-end
Posted: 31 Dec 2022, 01:23
by Jan