Octopoos / SEBLOD

Build high-end websites with SEBLOD®, a CCK for Joomla!
https://www.seblod.com
GNU General Public License v2.0
129 stars 55 forks source link

"Download this app" error: fread(): Argument #2 ($length) must be greater than 0 #742

Open denysdesign opened 1 year ago

denysdesign commented 1 year ago

Joomla 4.3.2 PHP 8.0

fread(): Argument #2 ($length) must be greater than 0

Download this app:

/administrator/index.php?option=com_cck&task=folder.export&id=507&elements=types,fields,searchs,templates,subfolders&dep_categories=1&dep_menu=&options[filename_date]=0&options[filename_version]=0&a372d46418049cf5e4fd44400946d206=1

Call stack

# Function Location
1 () JROOT/administrator/components/com_cck/helpers/pclzip/pclzip.lib.php:2875
2 fread() JROOT/administrator/components/com_cck/helpers/pclzip/pclzip.lib.php:2875
3 PclZip->privAddFile() JROOT/administrator/components/com_cck/helpers/pclzip/pclzip.lib.php:2687
4 PclZip->privAddFileList() JROOT/administrator/components/com_cck/helpers/pclzip/pclzip.lib.php:2588
5 PclZip->privAddList() JROOT/administrator/components/com_cck/helpers/pclzip/pclzip.lib.php:2317
6 PclZip->privCreate() JROOT/administrator/components/com_cck/helpers/pclzip/pclzip.lib.php:434
7 PclZip->create() JROOT/libraries/cck/base/install/export.php:207
8 CCK_Export::zip() JROOT/libraries/cck/base/install/export.php:984
9 CCK_Export::exportFile() JROOT/libraries/cck/base/install/export.php:872
10 CCK_Export::exportPlugin() JROOT/libraries/cck/base/install/export.php:489
11 CCK_Export::exportField() JROOT/libraries/cck/base/install/export.php:464
12 CCK_Export::exportElement() JROOT/libraries/cck/base/install/export.php:822
13 CCK_Export::exportSearch() JROOT/libraries/cck/base/install/export.php:464
14 CCK_Export::exportElement() JROOT/libraries/cck/base/install/export.php:326
15 CCK_Export::exportElements() JROOT/administrator/components/com_cck/models/folder.php:205
16 CCKModelFolder->prepareExport() JROOT/administrator/components/com_cck/controllers/folder.php:39
17 CCKControllerFolder->export() JROOT/libraries/src/MVC/Controller/BaseController.php:678
18 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_cck/cck.php:34
19 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
20 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
21 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
22 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
23 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
24 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
25 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
26 require_once() JROOT/administrator/index.php:32
gnika commented 5 months ago

same error here, please send help !