Web based family history software

Question migrating from 1.7.4 to 2.1.6 errorexception

  • christoile
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 8 months ago #1 by christoile
Hi,
(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.

More
1 year 8 months ago #2 by fisharebest
Replied by fisharebest on topic migrating from 1.7.4 to 2.1.6 errorexception
See webtrees.net/faq/upgrade-numeric/

> 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
  • New Member
More
1 year 8 months ago #3 by christoile
Replied by christoile on topic migrating from 1.7.4 to 2.1.6 errorexception
I'll try it now.

Please Log in or Create an account to join the conversation.

  • christoile
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 8 months ago #4 by christoile
Replied by christoile on topic migrating from 1.7.4 to 2.1.6 errorexception
version of PHP put to 7.3 on server ;:
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.

More
1 year 8 months ago #5 by fisharebest
Replied by fisharebest on topic migrating from 1.7.4 to 2.1.6 errorexception
You do not need to use phpMyAdmin.
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
  • New Member
More
1 year 8 months ago #6 by christoile
Replied by christoile on topic migrating from 1.7.4 to 2.1.6 errorexception
sorry for my "ok I'll try. Wanted to tell I changed PHP 8.0 to 7.3

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
  • New Member
More
1 year 8 months ago #7 by christoile
Replied by christoile on topic migrating from 1.7.4 to 2.1.6 errorexception
I entered my site on "my pages"
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.

More
1 year 8 months ago #8 by Franz Frese
Replied by Franz Frese on topic migrating from 1.7.4 to 2.1.6 errorexception
Forgotten to update php?
Oublier metre a jour php?

Please Log in or Create an account to join the conversation.

  • christoile
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 8 months ago #9 by christoile
Replied by christoile on topic migrating from 1.7.4 to 2.1.6 errorexception
No, I put php at 7.3 before....

Please Log in or Create an account to join the conversation.

  • christoile
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 8 months ago #10 by christoile
Replied by christoile on topic migrating from 1.7.4 to 2.1.6 errorexception
PHP Version 7.3.33-8+0~20221028.101+debian10~1.gbpb248c7

Please Log in or Create an account to join the conversation.

More
1 year 8 months ago #11 by Franz Frese
Replied by Franz Frese on topic migrating from 1.7.4 to 2.1.6 errorexception
before going to 2.1.6 you must update php to 8.*

Please Log in or Create an account to join the conversation.

  • christoile
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 8 months ago #12 by christoile
Replied by christoile on topic migrating from 1.7.4 to 2.1.6 errorexception
Thanks ; I remember that. But presently the problem is first migrating from 1.7.3 to 1.7.20 with php 7.3 before 2.1.6 and PHP 8.0 ...

Please Log in or Create an account to join the conversation.

More
1 year 8 months ago #13 by Sir Peter

Please Log in or Create an account to join the conversation.

More
1 year 8 months ago #14 by fisharebest
Replied by fisharebest on topic migrating from 1.7.4 to 2.1.6 errorexception
> See webtrees.net/faq/upgrade-numeric/

> 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
  • New Member
More
1 year 8 months ago #15 by christoile
Replied by christoile on topic migrating from 1.7.4 to 2.1.6 errorexception
After having met recurrent problems that had nothing to do with webtrees, Il solved myself ;)
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.

More
1 year 8 months ago #16 by hermann
Replied by hermann on topic migrating from 1.7.4 to 2.1.6 errorexception
Fine! Now you should be able to do an automatic upgrade from 2.1.6 to the actual 2.1.16.

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.

Powered by Kunena Forum