Before asking for help please read "How to request help" by clicking on that tab above here.
Question Auto upgrade failed
- fisharebest
- Offline
- Administrator
This is a lock file to prevent visitors accessing the site while the upgrade is in progress.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- rudyas
- Visitor
Fatal error: Call to undefined method WT_Tree::getPreference() in /homepages/23/d282796485/htdocs/rudyas/webtrees/modules_v3/gedcom_stats/module.php on line 185
and when I login in:
Fatal error: Call to undefined method WT_Controller_Page::restrictAccess() in /homepages/23/d282796485/htdocs/rudyas/webtrees/admin_site_upgrade.php on line 56
Fatal error: Class 'Rhumsaa\Uuid\Uuid' not found in /homepages/23/d282796485/htdocs/rudyas/webtrees/modules_v3/gedcom_favorites/module.php on line 162
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.
- comet48
- Offline
- New Member
- Posts: 69
Unzip webtrees-1.6.0.zip to a temporary folder…Abort pclzip.lib.php : Missing zlib extensions
Perhaps the root of the problem lies in the fact that PHP compiled with "large file support" (as PHP on new Ubuntu installs is compiled) names the function `gzopen` as `gzopen64` instead.
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
comet48 wrote: Get message ;
Unzip webtrees-1.6.0.zip to a temporary folder…Abort pclzip.lib.php : Missing zlib extensions
Perhaps the root of the problem lies in the fact that PHP compiled with "large file support" (as PHP on new Ubuntu installs is compiled) names the function `gzopen` as `gzopen64` instead.
The PCLZIP library was last updated in 2009.
Perhaps we need to find/use a different library for ZIP files...
Short term, this article suggets some code you can add (e.g. to the end of includes/session.php)
www.thomasmonaco.com/pclzip-lib-php-missing-zlib-extensions/
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- ddrury
- Offline
- Senior Member
--
Dave
Local: Win 11 Pro, WSL2/Ubuntu20.04.4, Apache 2.4.51, PHP 7.4.26/8.1.7, MySQL 8.0.27
Production: Litespeed 8.0.1, PHP 8.1.9, MySQL 8.0.26
Please Log in or Create an account to join the conversation.
- comet48
- Offline
- New Member
- Posts: 69
Please Log in or Create an account to join the conversation.
- ddrury
- Offline
- Senior Member
This was a suggestion to Greg for a PCLZIP library replacement. He will make the decision and whatever that is will require changes to webtrees so don't expect anything in the next 5 minutes
--
Dave
Local: Win 11 Pro, WSL2/Ubuntu20.04.4, Apache 2.4.51, PHP 7.4.26/8.1.7, MySQL 8.0.27
Production: Litespeed 8.0.1, PHP 8.1.9, MySQL 8.0.26
Please Log in or Create an account to join the conversation.
- comet48
- Offline
- New Member
- Posts: 69
Please Log in or Create an account to join the conversation.
- otmar.mayr
- Offline
- Senior Member
With the Internet Browser I get this error message:
The website can not display this page
Â
  HTTP 500
   Â
Most likely causes:
• The site is currently serviced.
• The site contains a programming error.
www.verwandten.info / PHP-Version 8.2 / webtrees 2.1.18
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
Find this error log, and tell us the error message.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- otmar.mayr
- Offline
- Senior Member
my IP - - [13/Oct/2014:12:41:25 +0200] "GET /webtrees1/index.php HTTP/1.1" 500 20 "http://.../webtrees1/admin_site_upgrade.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
my IP - - [19/Oct/2014:16:26:27 +0200] "GET /webtrees1/ HTTP/1.1" 500 20 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
my IP - - [19/Oct/2014:16:26:33 +0200] "GET /webtrees1/ HTTP/1.1" 500 20 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
www.verwandten.info / PHP-Version 8.2 / webtrees 2.1.18
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
This is the "access log".
The 500 errors are in the "error log".
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- leffe
- Visitor
A 500 error, "/public_html/webtrees/index.php" is writeable by group" is the result after automatic upgrade here also.
I tried the manual method afterwards, but I get the same result.
By manually chmod index.php the error moves to next file.
Any tips?
Please Log in or Create an account to join the conversation.
- eyolf
- Offline
- Junior Member
The error persists even after a manual update of the files themselves, so I guess it's caused by something in the database, and a local copy of the site, made from the gedcom file that was (luckily) generated during the upgrade, works fine.
webtrees 2.1.16
[url] oestrem.com/webtrees [/url]
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
Certain cryptographic functions were added in 5.3.7. For the earlier versions of PHP, we must provide a workaround.
(Actually, we provide two different workaround depending on the exact version).
But I think that some distributions have back-ported some of these cryptographic functions into old versions of PHP, which breaks our feature-detection checks, and hence we try to load both workarounds together. There's probably an easy fix for this...
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- eyolf
- Offline
- Junior Member
webtrees 2.1.16
[url] oestrem.com/webtrees [/url]
Please Log in or Create an account to join the conversation.
- eyolf
- Offline
- Junior Member
2. Let me know if you need more info about server config etc.
webtrees 2.1.16
[url] oestrem.com/webtrees [/url]
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
if (!function_exists('password_hash'))
This code was written for the very few (zero?) users who have unpatched versions of PHP 5.3.2-5.3.6. Anything based on debain, ubuntu, redhat, centos, etc. should be fine.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- eyolf
- Offline
- Junior Member
webtrees 2.1.16
[url] oestrem.com/webtrees [/url]
Please Log in or Create an account to join the conversation.