Web based family history software

Solved Erreur 500

  • Philippe
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 11 months ago - 1 year 10 months ago #1 by Philippe
Erreur 500 was created by Philippe
Bonjour,

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 :
Code:
[25-Apr-2022 23:07:23 UTC] PHP Fatal error: Uncaught Error: Failed opening required './includes/session.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home3/monsite/public_html/webtrees/family.php:30 ./includes/session.php n'existe pas sur votre FTP.
Pouvez-vous m'aider ?

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:
Code:
[25-Apr-2022 23:07:23 UTC] PHP Fatal error: Uncaught Error: Failed opening required './includes/session.php' (include_path='.:/opt/cpanel/ea-php81/ root/usr/share/pear') in /home3/monsite/public_html/webtrees/family.php:30 ./includes/session.php does not exist on your FTP.
Can you help me ?

Philippe

webtrees : V2.1.1
Last edit: 1 year 10 months ago by Philippe.

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

More
1 year 11 months ago - 1 year 11 months ago #2 by jjd
Replied by jjd on topic Erreur 500
Bonjour,
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
Last edit: 1 year 11 months ago by jjd.

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

  • Philippe
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 11 months ago #3 by Philippe
Replied by Philippe on topic Erreur 500
Bonjour
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.

More
1 year 11 months ago - 1 year 11 months ago #4 by jjd
Replied by jjd on topic Erreur 500
Solution simple : downgrade vers la 2.0.23 et tout fonctionne de nouveau
Mais théoriquement la 2.1 aurait du marcher avec php 7.4
Attentons une 2.1.x ultérieure
Last edit: 1 year 11 months ago by jjd.

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

More
1 year 11 months ago - 1 year 11 months ago #5 by ric2015
Replied by ric2015 on topic Erreur 500

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
Last edit: 1 year 11 months ago by ric2015.

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

  • Philippe
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 10 months ago #6 by Philippe
Replied by Philippe on topic Erreur 500
Bonjour,
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.

More
1 year 10 months ago - 1 year 10 months ago #7 by iplat
Replied by iplat on topic Erreur 500
I have the same story here, but with a full page of errors, I'm going to manually roll back to the previous version.
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
Last edit: 1 year 10 months ago by iplat.

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

  • norwegian_sardines
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 10 months ago #8 by norwegian_sardines
Replied by norwegian_sardines on topic Erreur 500
webtrees v2.1.x can run on PHP v7.4 as well as 8.x.

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.

More
1 year 10 months ago #9 by iplat
Replied by iplat on topic Erreur 500
I clicked to the link that asking for upgrade to the new version, as usual. It said in the end that upgrade was successfully completed. After refresh I got such issue. Not sure how else should I check that installation was installed properly. Anyway, rolled back to previous version.

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

  • norwegian_sardines
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 10 months ago - 1 year 10 months ago #10 by norwegian_sardines
Replied by norwegian_sardines on topic Erreur 500
Did you disable any add-ons before clicking the upgrade button?

Ken
Last edit: 1 year 10 months ago by norwegian_sardines.

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

More
1 year 10 months ago #11 by iplat
Replied by iplat on topic Erreur 500
It never been a problem in the past. But I have only stocked ones and one extra (can't remember the name) that recommended here for installation to have emails being sent every time of event triggeres (mostly birthdays, anniversary and so on).

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

  • norwegian_sardines
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 10 months ago #12 by norwegian_sardines
Replied by norwegian_sardines on topic Erreur 500
webtrees v2.1 had a lot rewrites, as with all upgrades you need to check for updates to your add-ons as well!.

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.

More
1 year 10 months ago #13 by iplat
Replied by iplat on topic Erreur 500
Ok, I opened the addons page, there were a bunch of buttons for disabling non-existing addons, dunno where those got floated from. I keep rolling updates from almost the very first version. On top of that, I updated the webtrees-reminder addon to the latest one - github.com/UksusoFF/webtrees-reminder/releases/tag/v2.1.1 and disable it in the control panel. Now upgrade passed through the same way it was last time but I got my website working with this upgrade. Re-enabled back webtrees-reminder, will see how does it works on someone's next birthday:).
Thank you guys for the help!

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

Powered by Kunena Forum
}