Web based family history software

This Help forum is for issues relates to the latest release (1.5.x). For issues related to beta or github version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here.

Question Pb de mise à jour

  • jjr
  • Topic Author
  • Visitor
  • Visitor
9 years 8 months ago #1 by jjr
Pb de mise à jour was created by jjr
Bonjour

Éloigné de la généalogie depuis plus d'an, je viens de tenter un passage de la 1.4.3 à la 1.5.3 le saut est, peut-être, trop grand.
Avant de tenter un retour en arrière, je pose la question sur le forum.
J'obtiens
«
Warning: require_once(__DIR__/composer/autoload_real.php) [function.require-once]: failed to open stream: No such file or directory in /home/roussell/www/library/autoload.php on line 5

Fatal error: require_once() [function.require]: Failed opening required '__DIR__/composer/autoload_real.php' (include_path='.:/usr/local/lib/php') in /home/roussell/www/library/autoload.php on line 5
»

Y a t-il une solution simple ? Ou bien, fallait-il obligatoirement passer par la version 1.4.6 ?

Bien cordialement
Jean-Jacques

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

  • ToyGuy
  • Offline
  • Moderator
  • Moderator
  • Live like it's Christmas every day - Santa Stephen
More
9 years 8 months ago - 9 years 8 months ago #2 by ToyGuy
Replied by ToyGuy on topic Pb de mise à jour
Looks like an incomplete update. You should have the file:

your-webtrees-folder/library/composer/autoload_real.php


verify your updated files and be sure it is complete.

Santa Stephen the Fabled Santa
Latest webtrees at MyArnolds.com
Hosted by webtreesonline.com , a division of GeneHosts LLC
MacOS 10.6.8, Apache 2.2+, PHP 5.4.16, MySQL 5.5.28
Last edit: 9 years 8 months ago by ToyGuy.

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

  • jjr
  • Topic Author
  • Visitor
  • Visitor
9 years 8 months ago #3 by jjr
Replied by jjr on topic Pb de mise à jour
Bonjour

autoload_real.php existe bien dans monsite/library/composer/autoload_real.php

Bien cordialement
Jean-Jacques

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

More
9 years 8 months ago #4 by fisharebest
Replied by fisharebest on topic Pb de mise à jour
If the file exsts - and PHP cannot load it - you could check the permissions of the file, and the folders

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • jjr
  • Topic Author
  • Visitor
  • Visitor
9 years 8 months ago #5 by jjr
Replied by jjr on topic Pb de mise à jour
Hi Greg

The directories are 705 and all the files are 604

Regards
JJR

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

More
9 years 8 months ago #6 by fisharebest
Replied by fisharebest on topic Pb de mise à jour
These are unusual settings.

Try changing this to

Folders = 755
Files = 644

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • jjr
  • Topic Author
  • Visitor
  • Visitor
9 years 8 months ago #7 by jjr
Replied by jjr on topic Pb de mise à jour
By random testing they are all like that !
JJR

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

  • jjr
  • Topic Author
  • Visitor
  • Visitor
9 years 8 months ago #8 by jjr
Replied by jjr on topic Pb de mise à jour
library and composer at 755, all the files in composer at 644 and no change !
604 to 644 only change the group authorisation...
JJR

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

  • jjr
  • Topic Author
  • Visitor
  • Visitor
9 years 8 months ago #9 by jjr
Replied by jjr on topic Pb de mise à jour
But why it's looking for "library/autoload.php" that doesn't exist !!!
JJR

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

More
9 years 8 months ago #10 by fisharebest
Replied by fisharebest on topic Pb de mise à jour

jjr wrote: But why it's looking for "library/autoload.php" that doesn't exist !!!
JJR


THIS file does exist. You have an error in line 5 of this file.

The error is that it cannot find llibrary/composer/autoload_real.php. You say that this file also exist. You say that the file permissions are correct. I would ask you to check again.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • jjr
  • Topic Author
  • Visitor
  • Visitor
9 years 8 months ago #11 by jjr
Replied by jjr on topic Pb de mise à jour
I didn't saw the library/autoload.php but it really exists and I put it a 664 right.
But . . . no change!

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

More
9 years 8 months ago #12 by fisharebest
Replied by fisharebest on topic Pb de mise à jour

I didn't saw the library/autoload.php but it really exists


There is no problem with library/autoload.php

The problem is with library/composer/autoload_real.php

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • jjr
  • Topic Author
  • Visitor
  • Visitor
9 years 8 months ago #13 by jjr
Replied by jjr on topic Pb de mise à jour
Yes but what can I do ?
JJR

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

More
9 years 8 months ago #14 by fisharebest
Replied by fisharebest on topic Pb de mise à jour
Your server is running PHP version 5.2.17.

You can only run webtrees 1.4

PHP5.2 is very old. To use the latest version of webtrees, you need PHP 5.3 (or 5.4 or 5.5 or 5.6).

You should re-install webtrees 1.4.6

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • jjr
  • Topic Author
  • Visitor
  • Visitor
9 years 8 months ago #15 by jjr
Replied by jjr on topic Pb de mise à jour
OK !
After reading too quickly, I thought that was OK by default but my OVH's hosting needs an .ovhconfig file to got it.
I just wrote it and put it at the root of my site and it's OK now!

Thanks Greg
JJR

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

  • jjr
  • Topic Author
  • Visitor
  • Visitor
9 years 8 months ago #16 by jjr
Replied by jjr on topic Pb de mise à jour
Bonjour

J'ai mis à jour "custom_js" et "places_assistant".

J'ai parlé trop vite... Tout va bien jusqu'à "Faits et événements" avec les erreurs suivantes :

ERROR 8: Undefined variable: dDate
0 Error occurred on line 16 of file histo.fr.php in function require
1 called from line 429 of file module.php in function historical_facts
2 called from line 108 of file module.php in function getTabContent
3 called from line 105 of file Individual.php in function ajaxRequest
4 called from line 36 of file individual.php

Notice: Undefined variable: dDate in /home/roussell/www/data/histo.fr.php on line 16

Fatal error: Call to a member function isOK() on a non-object in /home/roussell/www/data/histo.fr.php on line 16

J'ai vu le sujet de Roland mais je crois qu'il a un site personnalisé... comment résoudre ce problème ?

Dans les "Extensions", "Other items" n'apparait que le "histo.en_US", cela signifie t-il que "histo.fr.php" n'est plus supporté ?
Faut-il le supprimer ?


Amicalement
Jean-Jacques

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

More
9 years 8 months ago #17 by fisharebest
Replied by fisharebest on topic Pb de mise à jour
What do you have in your file "histo.fr.php"

I think you have added some PHP code that is unexpected.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • jjr
  • Topic Author
  • Visitor
  • Visitor
9 years 8 months ago #18 by jjr
Replied by jjr on topic Pb de mise à jour
Hi

I didn't remember where I got it.
It worked with the old issue.

I enclose the file...

Regards
Jean-Jacques

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

More
9 years 8 months ago - 9 years 8 months ago #19 by Jackie
Replied by Jackie on topic Pb de mise à jour
Bonjour Jean-Jacques,

Vous ne pouvez joindre un fichier dont le nom contient php à vos messages sur le forum.

Les extensions .zip sont acceptées (voir Aide Forum pour plus de détails)

Edit:
No file name containing php could be attached to your post in the forum. .zip files are allowed.
Last edit: 9 years 8 months ago by Jackie.

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

More
9 years 8 months ago #20 by kiwi
Replied by kiwi on topic Pb de mise à jour

jjr wrote: ERROR 8: Undefined variable: dDate
0 Error occurred on line 16 of file histo.fr.php in function require


Remove that line. It is not required. That will fix the problem.

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

Powered by Kunena Forum
}