- Posts: 9
Question migrating from 1.7.4 to 2.1.6 errorexception
- christoile
- Topic Author
- Offline
- New Member
(tried first to retrieve any message on the forum relating to that specific error -- no one seen)
1/- chose automatic migration ;
2/- zipfile correctly charged on server (albeit I did'nt saw where it has been put ;
3/- I got this message :
#0 /vendor/pclzip/pclzip/pclzip.lib.php:1797 ErrorException("A non-numeric value encountered")
4/- ftp'loaded the file (from 1.7.4 version ) from my server location (hosteur.com) ;
- read the lines around 1797 to try anderstanding what to do ;
- no way for me to see what to do
btw I put PHP 8.0 on my dataspace (on server location)
any help ?
Thanks.
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
> I put PHP 8.0 on my dataspace
First, you must upgrade to webtrees 1.7.20
This requires PHP 5.3 - 7.3
Can you temporarily downgrade to PHP 7.3?
Then upgrade manually to webtrees 1.7.20
Visit the site to ensure the upgrade scripts run.
Then upgrade to PHP 8.*
Then upgrade to webtrees 2.1.6
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- christoile
- Topic Author
- Offline
- New Member
- Posts: 9
Please Log in or Create an account to join the conversation.
- christoile
- Topic Author
- Offline
- New Member
- Posts: 9
but in phpadmin it says :
Serveur de base de données
Serveur : sql-server.k8s-fc49u4m6 (sql-server.k8s-fc49u4m6 via TCP/IP)
Type de serveur : MariaDB
Connexion au serveur : SSL n'est pas utilisé Documentation
Version du serveur : 10.2.44-MariaDB-10.2.44+maria~stretch-log - mariadb.org binary distribution
Version du protocole : 10
Utilisateur : sergewt@10.10.110.127
Jeu de caractères du serveur : cp1252 West European (latin1)
Serveur Web
Apache/2.4.38 (Debian)
Version du client de base de données : libmysql - mysqlnd 7.4.28
Extension PHP : mysqli Documentation curl Documentation mbstring Documentation
Version de PHP : 7.4.28
What does it means ?
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
This is to access your database.
> I'll try it now.
What did you try? It is difficult to guess.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- christoile
- Topic Author
- Offline
- New Member
- Posts: 9
Just copied zipfile 1.7.20
and unzipped it and
put all the files on my server / directory webtrees via ftp (a lot ~ 7524 files)
Tomorrow I'll continue that migration for 1.7.20 to 2.1.6. if all is ok (-> PHP 8.0 etc.)
I'll come back here for a short report.
Thanks a lot.
Please Log in or Create an account to join the conversation.
- christoile
- Topic Author
- Offline
- New Member
- Posts: 9
Panneau de contrôle — Tableau de bord
Ces pages donnent accès à tous les paramètres de configuration et outils de gestion de ce site webtrees.
webtrees 1.7.3
Le support et la documentation sont disponibles sur webtrees.net.
Une nouvelle version de webtrees est disponible. Mettre à jour avec la version 1.7.20 de webtrees.
I chose to update :
Assistant de mise à jour
Une nouvelle version de webtrees est disponible.
Selon la configuration de votre serveur, vous pouvez être capable de mettre à jour automatiquement.
Plusieurs minutes peuvent être nécessaires pour télécharger et installer la mise à jour. Soyez patient.
Again I got :
Décompresse webtrees-1.7.20.zip vers un dossier temporaire…#0 /vendor/pclzip/pclzip/pclzip.lib.php:1797 ErrorException("A non well formed numeric value encountered")
#1 /vendor/pclzip/pclzip/pclzip.lib.php:783 privOptionDefaultThreshold()
#2 /admin_site_upgrade.php:358 extract()
It seems me odd that reference to pclzip.lib.php, since this file is nos present among my decompressed 1.7.20 files (but present in the directory of my server ( www.clercin.eu/webtrees/vendor/pclzip/ with a date of 2020-11-15 ;
any help ?
Please Log in or Create an account to join the conversation.
- Franz Frese
- Offline
- Elite Member
Oublier metre a jour php?
Please Log in or Create an account to join the conversation.
- christoile
- Topic Author
- Offline
- New Member
- Posts: 9
Please Log in or Create an account to join the conversation.
- christoile
- Topic Author
- Offline
- New Member
- Posts: 9
Please Log in or Create an account to join the conversation.
- Franz Frese
- Offline
- Elite Member
Please Log in or Create an account to join the conversation.
- christoile
- Topic Author
- Offline
- New Member
- Posts: 9
Please Log in or Create an account to join the conversation.
- Sir Peter
- Offline
- Premium Member
- Posts: 506
Peter
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
> I'll try it now.
What did you try?
You need to select PHP 7.3 and also upgrade manually to 1.7.20
Check your site is still working.
Then you can complete the upgrade:
1) update config.ini.php
2) select PHP 8
3) manually ugprade to 2.1.6
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- christoile
- Topic Author
- Offline
- New Member
- Posts: 9
As you recommended :
1/- From 1.7.4 -> 1.7.20 (manually and with php put to 7.3)
2/- then from 1.7.20 -> 2.1.6 (manually and with php put to 8.0).
My webtrees pages are operational again with 2.1.6.
Lesson learned : be quiet ; read the docs ; follow your expert advices.
Thanks for your help.
NB. I'm a newbie, inheriting a 1.7.3 version on my provider's account.
Please Log in or Create an account to join the conversation.
- hermann
- Offline
- Elite Member
Hermann
Designer of the custom module "Extended Family"
webtrees 2.1.21 (all custom modules installed, PHP 8.3.12, MariaDB 10.6) @ ahnen.hartenthaler.eu
Please Log in or Create an account to join the conversation.