Solved Error on installing F4.2

lcollong

FabriKant d'applications web
Hi,

Not sure to post to the right place.
I got an error while trying to install F4.2 using "upload a zip file" method. Did not try other method as the manifest_class error will probably run in the same situation. My Joomla is 4.4.1 running over PHP 8.1.27 with a Fabrik 4.0-zeta mainly working Fabrik version.

Here is the trace :

Une erreur est survenue​

0 Attempt to assign property "location" on null
Call stack
#FunctionLocation
1()JROOT/tmp/install_670e10c5a901e/pkg_fabrik.manifest.class.php:221
2Joomla\CMS\Installer\InstallerScriptInterface@anonymous/httpdjail/var/www/vhosts/mysite.com/httpdocs/tmp/install_670e10c5a901e/pkg_fabrik.manifest.class.php:27$195006->preflight()JROOT/libraries/src/Installer/Adapter/PackageAdapter.php:581
3Joomla\CMS\Installer\Adapter\PackageAdapter->triggerManifestScript()JROOT/libraries/src/Installer/InstallerAdapter.php:714
4Joomla\CMS\Installer\InstallerAdapter->install()JROOT/libraries/src/Installer/Installer.php:643
5Joomla\CMS\Installer\Installer->install()JROOT/administrator/components/com_installer/src/Model/InstallModel.php:195
6Joomla\Component\Installer\Administrator\Model\InstallModel->install()JROOT/administrator/components/com_installer/src/Controller/InstallController.php:52
7Joomla\Component\Installer\Administrator\Controller\InstallController->install()JROOT/libraries/src/MVC/Controller/BaseController.php:693
8Joomla\CMS\MVC\Controller\BaseController->execute()JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
9Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()JROOT/libraries/src/Component/ComponentHelper.php:361
10Joomla\CMS\Component\ComponentHelper::renderComponent()JROOT/libraries/src/Application/AdministratorApplication.php:143
11Joomla\CMS\Application\AdministratorApplication->dispatch()JROOT/libraries/src/Application/AdministratorApplication.php:186
12Joomla\CMS\Application\AdministratorApplication->doExecute()JROOT/libraries/src/Application/CMSApplication.php:293
13Joomla\CMS\Application\CMSApplication->execute()JROOT/administrator/includes/app.php:61
14require_once()JROOT/administrator/index.php:32


wondering if version_compare test on line 86 is returning the right result as my manifest_cache column contains :
{
"name": "com_fabrik",
"type": "component",
"creationDate": "October 2023",
"author": "Henk van Klinken",
"copyright": "Copyright (C) 2005-2023 Media A-Team, Inc. - All rights reserved.",
"authorEmail": "",
"authorUrl": "",
"version": "4.0Zeta",
"description": "COM_FABRIK_XML_DESCRIPTION",
"group": "",
"filename": "fabrik"
}

The code should not go in this branch, isn't it ?
 
Zeta to 4.2 is a pretty large gap, with moving libraries etc. Maybe it's assuming something which is not there.

Try to install 4.1 first.
 
Yes, we are aware. I upgraded the subscription package this morning and it seems to have broken the download links. Working on it.
 
Back
Top