I can not migrate from 3.1.5 to 4

Started by Bebrona, 03 September 2023, 12:06:18

Previous topic - Next topic
A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

Bebrona

Before i migrate to version 4 i would like to export all my books from 3.1.5 but this is not possible.

I get this error after pressing the export-key

0 Call to undefined function each()

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

federica

Hi Bebrona,
the "each" function is not longer available in PHP 8
You have to set PHP 7.4 then try to export again.
Otherwise you can make the backup directly using mysql (eg: phpmyadmin)
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

Bebrona

Thanks for the answer. I managed to export the file.

But when i try to IMPORT it in version 4.0 I get this error

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<br /> <b>Deprecated</b>: The each() function is deprecated. This message will ' at line 1


federica

The export file from abook 3.x is not compatible to Abook 4.x.
To upgrade your website you have to upgrade joomla to 4.x then upgrade Abook installing the 4.x version.
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

Bebrona

So if i understood this correctly i first have to install Abook 3.x on Joomla 4.x import the files and than upgrade Abook to 4.x?

federica

No, it is not correct.
If you have a joomla 3 website and you want upgrade it to joomla 4 you have to upgrade joomla then upgrade Abook.
The export is not necessary.
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

Bebrona

I had a joomla 3 website with Abook 3, but i'm not able to update my joomla 3 to version 4. When i try to i get a lot of errors. So i'm building a new joomla 4 website, but i would like to export - import from Abook 3 to Abook 4 otherwise i will have to manualy input all my books again.

So can you please help me on how i can solve this?