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
É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
- Live like it's Christmas every day - Santa Stephen
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
Please Log in or Create an account to join the conversation.
- jjr
- Topic Author
- Visitor
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.
- fisharebest
- Offline
- Administrator
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
The directories are 705 and all the files are 604
Regards
JJR
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
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
JJR
Please Log in or Create an account to join the conversation.
- jjr
- Topic Author
- Visitor
604 to 644 only change the group authorisation...
JJR
Please Log in or Create an account to join the conversation.
- jjr
- Topic Author
- Visitor
JJR
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
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
But . . . no change!
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
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
JJR
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
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
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
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.
- fisharebest
- Offline
- Administrator
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
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.
- Jackie
- Offline
- Platinum Member
- Posts: 4787
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.
Please Log in or Create an account to join the conversation.
- kiwi
- Offline
- Platinum Member
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.
Nigel
www.our-families.info
Please Log in or Create an account to join the conversation.