Solved Erreur 500
- Philippe
- Topic Author
- Offline
- Junior Member
Je viens de migrer de 2.0 en 2.1 comme mon site me l'a proposé vendredi, et depuis j'ai une erreur 500 à chaque connexion. Je pensais que cela était lié à ma vers de PHP qui était en 7.4, j'ai demandé ) mon fournisseur passer en 8.1, il m'indique que j'ai erreur suivante :
Google translate
Hello,
I just migrated from 2.0 to 2.1 as my site offered me on Friday, and since then I have a 500 error on each connection. I thought it was related to my PHP verse which was in 7.4, I asked) my supplier to switch to 8.1, it tells me that I have the following error:
Philippe
webtrees : V2.1.1
Please Log in or Create an account to join the conversation.
- jjd
- Offline
- New Member
- Posts: 2
j'ai exactement le même problème
je viens de faire l'upgrade vers la 2.1, et maintenant j'obtiens une page blanche sans message d'erreur
le serveur est en php 7.4.25
Pouvez-vous m'aider ?
Merci
Please Log in or Create an account to join the conversation.
- Philippe
- Topic Author
- Offline
- Junior Member
La version de mon PHP est maintenant en 8.1, mais mon problème est identique.
Merci d'avance pour votre aide.
Google translate
Hello
My PHP version is now 8.1, but my problem is the same.
Thank you in advance for your help.
Philippe
webtrees : V2.1.1
Please Log in or Create an account to join the conversation.
- jjd
- Offline
- New Member
- Posts: 2
Mais théoriquement la 2.1 aurait du marcher avec php 7.4
Attentons une 2.1.x ultérieure
Please Log in or Create an account to join the conversation.
- ric2015
- Offline
- Senior Member
Failed opening required './includes/session.php' [...] in /home3/monsite/public_html/webtrees/family.php:30
These are webtrees 1.x files, they aren't required by webtrees 2.x. You could try to find out why 'family.php' is called in the first place, perhaps you have outdated redirect rules in your web server configuration?
I recommend to clean up the webtrees folder and remove all outdated files.
The actual error is likely elsewhere though: Make sure that your config.ini.php includes the base_url as described here (and in other forum posts).
Richard
webtrees 2.1.17 at cissee.de/webtrees2
Vesta custom modules (Classic Look & Feel, Gov4webtrees, Shared Places, Extended Relationships) available at cissee.de
Please Log in or Create an account to join the conversation.
- Philippe
- Topic Author
- Offline
- Junior Member
Je m'en suis sorti en faisant :
- une copie locale de mon site sur mon PC et suppression de tout mon site distant (sauf les bases MySQL)
- installation de la version 2.1.1
- lancer une installation pour voir si tous les prérequis PHP sont bien actifs (certaines extensions PHP m'apparaissaient pas dans mon CPanel)
- correction de mon config.ini.php
- réinjection de mes fichiers Medias et autres modifications qui me sont propres
Et me voilà maintenant avec un site opérationnel.
Google translate
Hello,
I got away with doing:
- a local copy of my site on my PC and deletion of all my remote site (except MySQL databases)
- install version 2.1.1
- launch an installation to see if all the PHP prerequisites are active (some PHP extensions did not appear to me in my CPanel)
- fixed my config.ini.php
- reinjection of my Media files and other modifications that are specific to me
And here I am now with an operational site.
Philippe
webtrees : V2.1.1
Please Log in or Create an account to join the conversation.
- iplat
- Offline
- New Member
I have PHP Version 7.4.28 with justhost. They promised to upgrade to the latest one this year, but unfortunately, I don't have such luxury yet.
Still online with 2.0.23
Please Log in or Create an account to join the conversation.
- norwegian_sardines
- Offline
- Platinum Member
- Posts: 2993
If you are receiving errors make sure that you have installed webtrees completely and that no old webtrees code OR add-ons that only run on webtrees v2.0. Before upgrading remove old add-ons this can be the biggest reason for runtime errors!
Ken
Please Log in or Create an account to join the conversation.
- iplat
- Offline
- New Member
Please Log in or Create an account to join the conversation.
- norwegian_sardines
- Offline
- Platinum Member
- Posts: 2993
Ken
Please Log in or Create an account to join the conversation.
- iplat
- Offline
- New Member
Please Log in or Create an account to join the conversation.
- norwegian_sardines
- Offline
- Platinum Member
- Posts: 2993
Please post your “full page of errors”.
This thread was caused by old code not removed. If you don’t have that condition then this is a different error!
Ken
Please Log in or Create an account to join the conversation.
- iplat
- Offline
- New Member
Thank you guys for the help!
Please Log in or Create an account to join the conversation.