Question upgrading 1.7.17
- aase48
- Topic Author
- Offline
- New Member
Udpak webtrees-1.7.17.zip til midlertidig mappe…
Der opstod en fejl ved udpakning af filen.
PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
github.com/fisharebest/webtrees/commit/3...240a88cec8da69221538
I saw this line could fix it, but I don`t know where to put it. Can you tell me.
Aase
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
It shows you the name of the file to change (app/File.php)
It shows you the line to replace, on the left, in red (line 58)
It shows you what to replace it with, on the right, in green.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- thierry.renault
- Offline
- New Member
J'ai également le même problème
Lorsque je veux faire ma mise à jour vers 1.7.17
j'ai le message :
Décompresse webtrees-1.7.17.zip vers un dossier temporaire…
Une erreur est survenue lors de la décompression du fichier.
PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
Je suis allé sur mon FTP sur app/File.php.
A la ligne 58 j'ai remplacé
if (preg_match('/^HTTP\/1.[01] 30[123].+\nLocation: ([^\r\n]+)/s', $response, $match)) {
fclose($fp);
par
if (preg_match('/^HTTP\/1.[01] 30[123].+\n[L1]ocation: ([^\r\n]+)/s', $response, $match)) {
fclose($fp);
Malgré ce changement, j'ai toujours le même message d'erreur...
Ai-je oublié quelque chose ?
Merci de vos lumières.
Bien cordialement.
Please Log in or Create an account to join the conversation.
- mp
- Offline
- Senior Member
Martin - ffp.bauschaffen.de
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
thierry.renault wrote: Bien le bonjour
J'ai également le même problème
Lorsque je veux faire ma mise à jour vers 1.7.17
j'ai le message :
Décompresse webtrees-1.7.17.zip vers un dossier temporaire…
Une erreur est survenue lors de la décompression du fichier.
PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
Je suis allé sur mon FTP sur app/File.php.
A la ligne 58 j'ai remplacé
if (preg_match('/^HTTP\/1.[01] 30[123].+\nLocation: ([^\r\n]+)/s', $response, $match)) {
fclose($fp);
par
if (preg_match('/^HTTP\/1.[01] 30[123].+\n[L1]ocation: ([^\r\n]+)/s', $response, $match)) {
fclose($fp);
Malgré ce changement, j'ai toujours le même message d'erreur...
Ai-je oublié quelque chose ?
Merci de vos lumières.
Bien cordialement.
A typo. You need the miniscule letter L (l) - not the digit one (1)
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- thierry.renault
- Offline
- New Member
J'ai utilisé la solution de mp en transcrivant sur mon FTP sur app/File.php page 58
if (preg_match('/^HTTP\/1.[01] 30[123].+\n[Ll]ocation: ([^\r\n]+)/s', $response, $match)) {
fclose($fp);
le message d'erreur a disparu mais la page est restée plus d'une heure sans que rien ne change.
J'ai tenté de réinitialiser et à ce moment j'ai une page toute blanche....
J'ai tenté aussi de mettre une minuscule pour l1 au lieu de L1 : rien de changé : page désespérément blanche !!!!!
Auriez vous une solution pour que je puisse récupérer mon site ???
Mille mercis d'avance.
Please Log in or Create an account to join the conversation.
- mp
- Offline
- Senior Member
Martin - ffp.bauschaffen.de
Please Log in or Create an account to join the conversation.
- thierry.renault
- Offline
- New Member
Tout va bien et c'est grâce à vous.
Je vais m’intéresser à la version 2.0 dont j'ignorais l’existence, car je fais toujours les MAJ directement sur le site. Je pense qu'au préalable je vais regarder ce que c'est....
Merci encore et bon week-end.
Please Log in or Create an account to join the conversation.
- jopla
- Offline
- Junior Member
- Posts: 241
Maybe it is written in the French part, but I don't speak very well french.
I tried to make changes in file.php in the 1.7.16 version on my server and than run the update to get 1.7.17.
I tried to change the line 58in the following (L1):
I tried also (Ll):
But still the same error. What is the correct solution?
Thanks for reaction.
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
(Upper-case and lower case letter "L").
So, "Location" should become "[Ll]ocation"
But you have added an extra "L" - "[Ll]Location"
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- jopla
- Offline
- Junior Member
- Posts: 241
Please Log in or Create an account to join the conversation.
- thierry.renault
- Offline
- New Member
Je suis content pour toi.
Mille mercis encore à tous.
Bonne journée.
Thanks.
Please Log in or Create an account to join the conversation.
- tezywezy
- Offline
- Junior Member
- Tony
Try to upload the complete file app/File.php from v1.7.17 (zip file) to your installation.
This option worked first time for me
Thanks
webtrees 1.7.16
huckle-parker.info
PHP 7.3
Mysql 5.6.20
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.
- sovnor
- Offline
- New Member
- Posts: 18
Ik krijg nu steeds de melding HTTP ERROR 500 als ik webtrees wil openen zoals ik dat altijd doe.
Ik geraak via een andere weg in aanmeldpagina waar mijn "admin" is ingevuld met het bijhorende paswoord,
als ik dan op aanmelden klik dan komt de melding dat de gegevens onjuist zijn, dus wil ik het paswoord eventueel wijzigen via wachtwoord-vergeten,
als ik dan het e-mail adres in geef dat ik hier ook heb ingegeven dan krijg ik de melding dat mijn e-mailadres niet bekend is bij webtrees
ik gebruik het programma al enige jaren en regelmatig de upgrades uitgevoerd als daar een melding voor kwam, ook zoals enkele dagen geleden,
toen de link weer verscheen en ik heb hem zoals gewoonlijk aangeklikt en overal kwamen er groene vinkjes te staan behalve bij de laatse daar stond een rood kruisje en dat is dan nu de error: PCLZIP_ERR_BAD_FORMAT (-10): Kan einde van Central Dir Record-handtekening niet vinden.
Ik weet niet wat ik nu moet doen en ik ben bang dat ia mijn gegens kwijt ben die ik al die jaren heb opgezocht.
mvg Ron
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
See webtrees.net/faq/500/
This will help us find the exact problem.
> als ik dan op aanmelden klik dan komt de melding dat de gegevens onjuist zijn, dus wil ik het paswoord eventueel wijzigen via wachtwoord-vergeten,
See webtrees.net/faq/password/
> toen de link weer verscheen en ik heb hem zoals gewoonlijk aangeklikt en overal kwamen er groene vinkjes te staan behalve bij de laatse daar stond een rood kruisje en dat is dan nu de error: PCLZIP_ERR_BAD_FORMAT (-10): Kan einde van Central Dir Record-handtekening niet vinden.
This is a known problem - caused by a change in an external server.
See webtrees.net/faq/upgrade-pclzip/
> Ik weet niet wat ik nu moet doen en ik ben bang dat ia mijn gegens kwijt ben die ik al die jaren heb opgezocht.
It is *very* unlikely that you have lost any data.
Your data is safe in your database.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Luenissla
- Offline
- Junior Member
Best regards / Viele Grüße
Hans-Joachim (Lünenschloß)
Please Log in or Create an account to join the conversation.
- sovnor
- Offline
- New Member
- Posts: 18
met vriendelijke groet Ron
Please Log in or Create an account to join the conversation.