Restoring a backup from akkebakup

Need help installing Joomla! 4.x? For all Joomla! 4.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
borja
Joomla! Guru
Joomla! Guru
Posts: 584
Joined: Wed May 27, 2009 11:26 am

Restoring a backup from akkebakup

Post by borja » Sun Jan 16, 2022 3:41 pm

Hello
I created a backup of mysql and i want ro restore it in my local installarion on xampp. I´ve got this error:

Unable to connect to the Database: SESSION variable 'max_allowed_packet' is read-only. Use SET GLOBAL to assign the value

The mysql version on my xamp is: Versión del servidor: 10.4.22-MariaDB - mariadb.org binary distribution . Is jjomla 3.9.x

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 41287
Joined: Sat Apr 05, 2008 9:58 pm

Re: Restoring a backup from akkebakup

Post by Webdongle » Sun Jan 16, 2022 6:34 pm

How did you restore the database and files?
Also wamp is better than xampp
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

borja
Joomla! Guru
Joomla! Guru
Posts: 584
Joined: Wed May 27, 2009 11:26 am

Re: Restoring a backup from akkebakup

Post by borja » Mon Jan 17, 2022 7:24 am

Hello
I use kickstart.php to restore it. When I get to the screen of configuration of the database is when i get the error

I ´m reading about xamp and wamp and both of them are quite similar. What are the advantages of wamp for joomla?

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 14626
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Restoring a backup from akkebakup

Post by toivo » Mon Jan 17, 2022 8:16 am

Wampserver supports different versions of PHP as extensions and you can easily switch between versions. This feature is useful because you can test the website with new versions of PHP like PHP 8.0 and 8.1 before updating the live production site, or before your host does it, in some cases apparently without a warning.
Toivo Talikka, Global Moderator

borja
Joomla! Guru
Joomla! Guru
Posts: 584
Joined: Wed May 27, 2009 11:26 am

Re: Restoring a backup from akkebakup

Post by borja » Sat Jan 29, 2022 3:16 pm

I installed on wamp64. I´ve got the following error:


( ! ) Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgSystemAccordionplantlight has a deprecated constructor in C:\wamp64\www\plugins\system\accordionplantlight\accordionplantlight.php on line 25
Call Stack
# Time Memory Function Location
1 0.1577 363672 {main}( ) ...\index.php:0
2 0.5619 1453880 Joomla\CMS\Application\CMSApplication->execute( ) ...\index.php:49
3 0.5619 1453880 Joomla\CMS\Application\SiteApplication->doExecute( ) ...\CMSApplication.php:196
4 0.5619 1453880 Joomla\CMS\Application\SiteApplication->initialiseApp( $options = ??? ) ...\SiteApplication.php:212
5 0.6375 1604776 Joomla\CMS\Application\CMSApplication->initialiseApp( $options = ['language' => 'es-ES'] ) ...\SiteApplication.php:686
6 0.6625 1901104 Joomla\CMS\Plugin\PluginHelper::importPlugin( $type = 'system', $plugin = ???, $autocreate = ???, $dispatcher = ??? ) ...\CMSApplication.php:625
7 0.9501 2426896 Joomla\CMS\Plugin\PluginHelper::import( $plugin = class stdClass { public $type = 'system'; public $name = 'accordionplantlight'; public $params = '{"mode":"content","secret":"","loadJQ":"1","jqNC":"1","theme":"ui-lightness","cssClass":"delega-accordiontab","width":"90%","js-single":"0","js-activeIndex":"","js-hideSpeed":"300","js-onOver":"0","js-showSpeed":"300"}'; public $id = '10049' }, $autocreate = TRUE, $dispatcher = class JEventDispatcher { protected $_observers = [0 => [...], 1 => class plgSystemAdmintools { ... }, 2 => class PlgSystemRegularLabs { ... }, 3 => class plgSystemGoogleAnalytics { ... }, 4 => class PlgSystemAdvancedModules { ... }, 5 => class plgSystemCwgears { ... }, 6 => class PlgSystemArticlesAnywhere { ... }, 7 => class PlgSystemLogrotation { ... }, 8 => class PlgSystemFields { ... }, 9 => class PlgSystemSessionGc { ... }, 10 => class plgSystemSecuritycheck { ... }, 11 => class plgSystemTitlemanager { ... }]; protected $_state = NULL; protected $_methods = ['onaftersessionstart' => [...], '__sleep' => [...], '__wakeup' => [...], 'onadmintoolsthirdpartyexception' => [...], 'onafterinitialise' => [...], 'onafterroute' => [...], 'onbeforerender' => [...], 'onafterrender' => [...], 'onafterrenderlatebound' => [...], 'onafterdispatch' => [...], 'onloginfailure' => [...], 'onuserloginfailure' => [...], 'onuserlogout' => [...], 'onloginuser' => [...], 'onuserauthorisationfailure' => [...], 'onuserlogin' => [...], 'onuseraftersave' => [...], 'onuserbeforesave' => [...], 'runfeature' => [...], 'runbooleanfeature' => [...], 'oninstallerbeforepackagedownload' => [...], 'onajaxregularlabs' => [...], 'getajaxclass' => [...], 'getfieldclass' => [...], 'plggoogleanalytics' => [...], 'onbeforecompilehead' => [...], 'extrachecks' => [...], 'passpagetypes' => [...], 'init' => [...], 'checkrules' => [...], 'parsequerystring' => [...], 'crawlerdetect' => [...], 'updatedownloadkey' => [...], 'updatedownloadkeysub' => [...], 'oncontentprepare' => [...], 'oncontentnormaliserequestdata' => [...], 'oncontentaftersave' => [...], 'oncontentafterdelete' => [...], 'onuserafterdelete' => [...], 'oncontentprepareform' => [...], 'oncontentaftertitle' => [...], 'oncontentbeforedisplay' => [...], 'oncontentafterdisplay' => [...], 'onpreparefindercontent' => [...], 'onafterrespond' => [...], 'grabar_log' => [...], 'is_base64' => [...], 'is_ascii_valid' => [...], 'hextostr' => [...], 'escapa_string' => [...], 'cleanquery' => [...], 'check_header_and_user_agent' => [...], 'second_level' => [...], 'chequear_ip_en_lista' => [...], 'sesiones_activas' => [...], 'get_ip' => [...]]; protected $_errors = [] } ) ...\PluginHelper.php:182

( ! ) Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; JPlantContentPlugin has a deprecated constructor in C:\wamp64\www\plugins\system\accordionplantlight\accordionplantlight\core\plugin\plugin.php on line 16
Call Stack
# Time Memory Function Location
1 0.1577 363672 {main}( ) ...\index.php:0
2 0.5619 1453880 Joomla\CMS\Application\CMSApplication->execute( ) ...\index.php:49
3 0.5619 1453880 Joomla\CMS\Application\SiteApplication->doExecute( ) ...\CMSApplication.php:196
4 0.5619 1453880 Joomla\CMS\Application\SiteApplication->initialiseApp( $options = ??? ) ...\SiteApplication.php:212
5 0.6375 1604776 Joomla\CMS\Application\CMSApplication->initialiseApp( $options = ['language' => 'es-ES'] ) ...\SiteApplication.php:686
6 0.6625 1901104 Joomla\CMS\Plugin\PluginHelper::importPlugin( $type = 'system', $plugin = ???, $autocreate = ???, $dispatcher = ??? ) ...\CMSApplication.php:625
7 0.9501 2426896 Joomla\CMS\Plugin\PluginHelper::import( $plugin = class stdClass { public $type = 'system'; public $name = 'accordionplantlight'; public $params = '{"mode":"content","secret":"","loadJQ":"1","jqNC":"1","theme":"ui-lightness","cssClass":"delega-accordiontab","width":"90%","js-single":"0","js-activeIndex":"","js-hideSpeed":"300","js-onOver":"0","js-showSpeed":"300"}'; public $id = '10049' }, $autocreate = TRUE, $dispatcher = class JEventDispatcher { protected $_observers = [0 => [...], 1 => class plgSystemAdmintools { ... }, 2 => class PlgSystemRegularLabs { ... }, 3 => class plgSystemGoogleAnalytics { ... }, 4 => class PlgSystemAdvancedModules { ... }, 5 => class plgSystemCwgears { ... }, 6 => class PlgSystemArticlesAnywhere { ... }, 7 => class PlgSystemLogrotation { ... }, 8 => class PlgSystemFields { ... }, 9 => class PlgSystemSessionGc { ... }, 10 => class plgSystemSecuritycheck { ... }, 11 => class plgSystemTitlemanager { ... }]; protected $_state = NULL; protected $_methods = ['onaftersessionstart' => [...], '__sleep' => [...], '__wakeup' => [...], 'onadmintoolsthirdpartyexception' => [...], 'onafterinitialise' => [...], 'onafterroute' => [...], 'onbeforerender' => [...], 'onafterrender' => [...], 'onafterrenderlatebound' => [...], 'onafterdispatch' => [...], 'onloginfailure' => [...], 'onuserloginfailure' => [...], 'onuserlogout' => [...], 'onloginuser' => [...], 'onuserauthorisationfailure' => [...], 'onuserlogin' => [...], 'onuseraftersave' => [...], 'onuserbeforesave' => [...], 'runfeature' => [...], 'runbooleanfeature' => [...], 'oninstallerbeforepackagedownload' => [...], 'onajaxregularlabs' => [...], 'getajaxclass' => [...], 'getfieldclass' => [...], 'plggoogleanalytics' => [...], 'onbeforecompilehead' => [...], 'extrachecks' => [...], 'passpagetypes' => [...], 'init' => [...], 'checkrules' => [...], 'parsequerystring' => [...], 'crawlerdetect' => [...], 'updatedownloadkey' => [...], 'updatedownloadkeysub' => [...], 'oncontentprepare' => [...], 'oncontentnormaliserequestdata' => [...], 'oncontentaftersave' => [...], 'oncontentafterdelete' => [...], 'onuserafterdelete' => [...], 'oncontentprepareform' => [...], 'oncontentaftertitle' => [...], 'oncontentbeforedisplay' => [...], 'oncontentafterdisplay' => [...], 'onpreparefindercontent' => [...], 'onafterrespond' => [...], 'grabar_log' => [...], 'is_base64' => [...], 'is_ascii_valid' => [...], 'hextostr' => [...], 'escapa_string' => [...], 'cleanquery' => [...], 'check_header_and_user_agent' => [...], 'second_level' => [...], 'chequear_ip_en_lista' => [...], 'sesiones_activas' => [...], 'get_ip' => [...]]; protected $_errors = [] } ) ...\PluginHelper.php:182
8 1.0455 2435800 require_once( 'C:\wamp64\www\plugins\system\accordionplantlight\accordionplantlight.php ) ...\PluginHelper.php:253
9 1.0496 2438040 JPlantLoader::import( $filePath = 'core.joomla.plugin.extcontent', $namespace = ??? ) ...\accordionplantlight.php:20
10 1.0496 2438040 JLoader::import( $key = 'core.joomla.plugin.extcontent', $base = 'C:\\wamp64\\www\\plugins\\system\\accordionplantlight\\accordionplantlight', 'jplantlibraries' ) ...\loader.php:30
11 1.0530 2439720 include_once( 'C:\wamp64\www\plugins\system\accordionplantlight\accordionplantlight\core\joomla\plugin\extcontent.php ) ...\loader.php:226
12 1.0530 2439720 JPlantLoader::import( $filePath = 'core.joomla.plugin.content', $namespace = ??? ) ...\extcontent.php:16
13 1.0530 2439720 JLoader::import( $key = 'core.joomla.plugin.content', $base = 'C:\\wamp64\\www\\plugins\\system\\accordionplantlight\\accordionplantlight', 'jplantlibraries' ) ...\loader.php:30
14 1.0549 2442440 include_once( 'C:\wamp64\www\plugins\system\accordionplantlight\accordionplantlight\core\joomla\plugin\content.php ) ...\loader.php:226
15 1.0549 2442440 JPlantLoader::import( $filePath = 'core.plugin.plugin', $namespace = ??? ) ...\content.php:16
16 1.0549 2442440 JLoader::import( $key = 'core.plugin.plugin', $base = 'C:\\wamp64\\www\\plugins\\system\\accordionplantlight\\accordionplantlight', 'jplantlibraries' ) ...\loader.php:30





PHp version is 7.4.26 Apache is 2.4.51 y mysql is 5.7.36. PHP is the same version as the server.

Wht can be wrong? What can i do?

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 14626
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Restoring a backup from akkebakup

Post by toivo » Sat Jan 29, 2022 8:54 pm

The extension Accordion Plant Light has been unpublished from the Joomla Extensions Directory (JED) because of broken links. The Deprecated error shows that this system plugin is not compatible with PHP 7.0 and above. Therefore it is likely that this abandoned extension will never work in Joomla 4.

The site may still be able to use Accordion Plant Light if the level of error reporting is changed to 'None' in Global Configuration. If you cannot access the back end, edit the file configuration.php and make the following change:

Code: Select all

	public $error_reporting = 'none';
Otherwise, if you just want to disable this plugin, use phpMyAdmin and edit its entry in the extensions table by changing the column 'enabled' from 1 to 0, then uninstall it.
Toivo Talikka, Global Moderator


Post Reply

Return to “Installation Joomla! 4.x”