Before asking for help please read "Requesting Help and Suggestions" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

migrating from 1.7.4 to 2.1.6 errorexception 2 weeks 21 hours ago #1

  • christoile
  • christoile's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
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.

migrating from 1.7.4 to 2.1.6 errorexception 2 weeks 21 hours ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 17010
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 - This email address is being protected from spambots. You need JavaScript enabled to view it. - @fisharebest@phpc.social - fisharebest.webtrees.net

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

migrating from 1.7.4 to 2.1.6 errorexception 2 weeks 21 hours ago #3

  • christoile
  • christoile's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
I'll try it now.

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

migrating from 1.7.4 to 2.1.6 errorexception 2 weeks 21 hours ago #4

  • christoile
  • christoile's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
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.

migrating from 1.7.4 to 2.1.6 errorexception 2 weeks 20 hours ago #5

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 17010
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 - This email address is being protected from spambots. You need JavaScript enabled to view it. - @fisharebest@phpc.social - fisharebest.webtrees.net

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

migrating from 1.7.4 to 2.1.6 errorexception 2 weeks 18 hours ago #6

  • christoile
  • christoile's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
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.

migrating from 1.7.4 to 2.1.6 errorexception 1 week 6 days ago #7

  • christoile
  • christoile's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
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.

migrating from 1.7.4 to 2.1.6 errorexception 1 week 6 days ago #8

  • Franz Frese
  • Franz Frese's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 659
Forgotten to update php?
Oublier metre a jour php?

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

Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

migrating from 1.7.4 to 2.1.6 errorexception 1 week 6 days ago #9

  • christoile
  • christoile's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
No, I put php at 7.3 before....

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

migrating from 1.7.4 to 2.1.6 errorexception 1 week 6 days ago #10

  • christoile
  • christoile's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
PHP Version 7.3.33-8+0~20221028.101+debian10~1.gbpb248c7

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

migrating from 1.7.4 to 2.1.6 errorexception 1 week 6 days ago #11

  • Franz Frese
  • Franz Frese's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 659
before going to 2.1.6 you must update php to 8.*

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

migrating from 1.7.4 to 2.1.6 errorexception 1 week 6 days ago #12

  • christoile
  • christoile's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
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.

migrating from 1.7.4 to 2.1.6 errorexception 1 week 6 days ago #13

  • Sir Peter
  • Sir Peter's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 406
Peter

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

migrating from 1.7.4 to 2.1.6 errorexception 1 week 4 days ago #14

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 17010
> 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 - This email address is being protected from spambots. You need JavaScript enabled to view it. - @fisharebest@phpc.social - fisharebest.webtrees.net

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

migrating from 1.7.4 to 2.1.6 errorexception 1 week 1 day ago #15

  • christoile
  • christoile's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
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.

migrating from 1.7.4 to 2.1.6 errorexception 1 week 19 hours ago #16

  • hermann
  • hermann's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 829
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.16 (all custom modules installed, PHP 8.2, MySQL 5.7) @ ahnen.hartenthaler.eu

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

  • Page:
  • 1
Powered by Kunena Forum