Before asking for help please read "How to request help" by clicking on that tab above here."
Question [SOLVED] LATEST_WT_VERSION_TIMESTAMP
- claben
- Topic Author
- Offline
- New Member
I saw it in the log file that since May 10 is not the version check was carried out more:
- Site setting "LATEST_WT_VERSION_TIMESTAMP" set to "1462857819".
This is normal or is there a problem in my configuration?
Thank you
Claudio
webtrees.bendinelliclaudio.it
webtrees 2.1.18
Linux 5.4.0-162-generic #179-Ubuntu
PHP 8.2.16
mysqlnd 8.2.16
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
Maybe a simular issue ??
stamboom.BertKoor.nl runs on webtrees v1.7.13
Please Log in or Create an account to join the conversation.
- claben
- Topic Author
- Offline
- New Member
I have little experience with PHP, but I now saw that the problem started since the provvider updated something.
The version of PHP 5.6.17 and 1.7.4 webtrees were updated since March.
I am attaching the server information that I get hoping it will be useful:
PHP Version 5.6.17
System: Linux client-6.shared.hosting.tiscali.sys 2.6.24-32-server #1 SMP Thu Jul 12 15:21:48 UTC 2012 i686
Build Date: May 9 2016 15:11:23
Configure Command: './configure' 'ac_cv_decimal_fp_supported=no' '--prefix=/opt/SANDBOX/SANDBOX-5.6-OPENSSL-1.0.1/php-5.6.17' '--with-pear=/opt/SANDBOX/SANDBOX-5.6-OPENSSL-1.0.1/php-5.6.17/share/php' '--with-config-file-scan-dir=/opt/SANDBOX/SANDBOX-5.6-OPENSSL-1.0.1/conf.d' '--build=i686-linux-gnu' '--host=i686-linux-gnu' '--disable-debug' '--with-regex=php' '--disable-rpath' '--disable-static' '--enable-sysvmsg' '--with-pic' '--with-layout=GNU' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-bcmath' '--with-bz2' '--with-mcrypt' '--enable-ctype' '--with-db4' '--without-gdbm' '--with-iconv' '--enable-exif' '--enable-wddx' '--with-gmp=shared,/usr' '--enable-ftp' '--with-gettext' '--enable-mbstring' '--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets' '--with-libxml-dir=/usr' '--with-zlib' '--with-kerberos=/usr' '--with-openssl=/opt/openssl-1.0.1g' '--enable-soap' '--enable-zip' '--without-mm' '--with-curl=shared,/opt/curl-7.48.0/' '--with-zlib-dir=/usr' '--with-gd=shared' '--enable-gd-native-ttf' '--with-jpeg-dir=shared,/usr' '--with-xpm-dir=shared,/usr/X11R6' '--with-png-dir=shared,/usr' '--with-freetype-dir=shared,/usr' '--with-t1lib=shared,/usr' '--with-ldap=shared,/usr' '--with-ldap-sasl=/usr' '--with-mhash=shared,/usr' '--with-mysql=shared,/usr' '--with-mysqli=shared,/usr/bin/mysql_config' '--with-pspell=shared,/usr' '--with-unixODBC=shared,/usr' '--with-recode=shared,/usr' '--with-xsl=shared,/usr' '--with-snmp=shared,/usr' '--with-mssql=shared,/usr' '--with-tidy=shared,/usr' '--with-xmlrpc=shared' '--with-pgsql=shared,/usr' '--with-pdo-mysql' 'build_alias=i686-linux-gnu' 'host_alias=i686-linux-gnu'
Thank you.
Claudio
webtrees.bendinelliclaudio.it
webtrees 2.1.18
Linux 5.4.0-162-generic #179-Ubuntu
PHP 8.2.16
mysqlnd 8.2.16
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
Since PHP 5.6, the certificates are checked. So, if your server was just updated from PHP 5.5 to PHP 5.6, and the server's certificate store was not updated, then this error may be expected.
(I'm not saying this is definitely your problem, but it is an explanation that would fit the symptoms).
You could check this by using the tests I described in the other post. Since you presumably don't have an interactive login on your server, you'd need to put this in a script.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- claben
- Topic Author
- Offline
- New Member
you could send me a script to check for the problem you have pointed out to me?
Thank you.
Claudio
webtrees.bendinelliclaudio.it
webtrees 2.1.18
Linux 5.4.0-162-generic #179-Ubuntu
PHP 8.2.16
mysqlnd 8.2.16
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
Add the two commands from the above link.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- claben
- Topic Author
- Offline
- New Member
I created a script as you suggested containing:
<? Php
$ F = fsockopen ('ssl: //dev.webtrees.net',443,$errno,$errstr,5);
var_dump ($ f);
and uploaded to the site; when I run it I get a blank page that read:
bool (false)
I do not know if this is the right procedure, but this answer does not know what it means.
Thank you.
Claudio
webtrees.bendinelliclaudio.it
webtrees 2.1.18
Linux 5.4.0-162-generic #179-Ubuntu
PHP 8.2.16
mysqlnd 8.2.16
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
In your case this does not return a file pointer but "false", indicating a connection can not be made.
I also don't see directly an exception is thrown (as reported in the other thread) so you have no clues (yet) for further investigation.
Maybe the PHP script needs to be extended with a try-catch construct to make the errors visible?
stamboom.BertKoor.nl runs on webtrees v1.7.13
Please Log in or Create an account to join the conversation.
- claben
- Topic Author
- Offline
- New Member
bool(false)
I hope there may be other solutions.
Thank you
Claudio
webtrees.bendinelliclaudio.it
webtrees 2.1.18
Linux 5.4.0-162-generic #179-Ubuntu
PHP 8.2.16
mysqlnd 8.2.16
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
This indicates that your server cannot connect to dev.webtrees.net
Does it work for other https sites? e.g www.google.com
You may be able to tell your server to display error messages using
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- claben
- Topic Author
- Offline
- New Member
by changing the script as you suggested I get this message:
Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /var/www/virtual/bendinelliclaudio.it/webtrees/htdocs/Testphp.php on line 4
Warning: fsockopen(): Failed to enable crypto in /var/www/virtual/bendinelliclaudio.it/webtrees/htdocs/Testphp.php on line 4
Warning: fsockopen(): unable to connect to ssl://dev.webtrees.net:443 (Unknown error) in /var/www/virtual/bendinelliclaudio.it/webtrees/htdocs/Testphp.php on line 4
bool(false)
You mean anything to you?
thank you
Claudio
webtrees.bendinelliclaudio.it
webtrees 2.1.18
Linux 5.4.0-162-generic #179-Ubuntu
PHP 8.2.16
mysqlnd 8.2.16
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
Yes. It means that your server does not recognise the security certificate that is used by webtrees.net
You did not do the second test (does it work with other sites). I will assume the answer is YES.
Possible explanations are
1) your server only recognises old/insecure protocols (SSL3) and not new/secure protocols (TLS).
2) your server does not have an up-to-date list of certificate authorities.
Whatever the problem, this is something that only your server's administrator can fix.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- claben
- Topic Author
- Offline
- New Member
Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /var/www/virtual/bendinelliclaudio.it/webtrees/htdocs/Testphp.php on line 4
Warning: fsockopen(): Failed to enable crypto in /var/www/virtual/bendinelliclaudio.it/webtrees/htdocs/Testphp.php on line 4
Warning: fsockopen(): unable to connect to ssl://www.google.com:443 (Unknown error) in /var/www/virtual/bendinelliclaudio.it/webtrees/htdocs/Testphp.php on line 4
bool(false)
I will contact immediately the server administrator to let him present the problem, hoping that solves it.
Thanks for your cooperation and availability.
Claudio
webtrees.bendinelliclaudio.it
webtrees 2.1.18
Linux 5.4.0-162-generic #179-Ubuntu
PHP 8.2.16
mysqlnd 8.2.16
Please Log in or Create an account to join the conversation.
- claben
- Topic Author
- Offline
- New Member
As always you are prompt and precise in making the diagnosis.
Thanks Greg!
Greetings
Claudio
webtrees.bendinelliclaudio.it
webtrees 2.1.18
Linux 5.4.0-162-generic #179-Ubuntu
PHP 8.2.16
mysqlnd 8.2.16
Please Log in or Create an account to join the conversation.
- claben
- Topic Author
- Offline
- New Member
Claudio
webtrees.bendinelliclaudio.it
webtrees 2.1.18
Linux 5.4.0-162-generic #179-Ubuntu
PHP 8.2.16
mysqlnd 8.2.16
Please Log in or Create an account to join the conversation.