This Help forum is for issues relates to the latest release (1.7.4). 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."
  • Page:
  • 1

TOPIC:

LATEST_WT_VERSION_TIMESTAMP 4 years 11 months ago #1

  • claben
  • claben's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 81
Hello,
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 1.7.16
Linux client 6
PHP 5.6.17
MySQL 5.0.96

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

LATEST_WT_VERSION_TIMESTAMP 4 years 11 months ago #2

  • bertkoor
  • bertkoor's Avatar
  • Away
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
  • Posts: 2275
stamboom.BertKoor.nl runs on webtrees v1.7.13

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

LATEST_WT_VERSION_TIMESTAMP 4 years 11 months ago #3

  • claben
  • claben's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 81
Hello BertKoor,
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 1.7.16
Linux client 6
PHP 5.6.17
MySQL 5.0.96

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

LATEST_WT_VERSION_TIMESTAMP 4 years 11 months ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14515
Old versions of PHP (<=5.5) did not check the SSL certificates when they fetch files using HTTPS:

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 - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

LATEST_WT_VERSION_TIMESTAMP 4 years 11 months ago #5

  • claben
  • claben's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 81
Hello Greg,
you could send me a script to check for the problem you have pointed out to me?
Thank you.
Claudio

webtrees.bendinelliclaudio.it/
webtrees 1.7.16
Linux client 6
PHP 5.6.17
MySQL 5.0.96

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

LATEST_WT_VERSION_TIMESTAMP 4 years 11 months ago #6

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14515
Create a file with the first line "<?php"
Add the two commands from the above link.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

LATEST_WT_VERSION_TIMESTAMP 4 years 11 months ago #7

  • claben
  • claben's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 81
Hello Greg,
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 1.7.16
Linux client 6
PHP 5.6.17
MySQL 5.0.96

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

LATEST_WT_VERSION_TIMESTAMP 4 years 11 months ago #8

  • bertkoor
  • bertkoor's Avatar
  • Away
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
  • Posts: 2275
php.net/manual/en/function.fsockopen.php

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?
<?php
try {
    $f = fsockopen('ssl://dev.webtrees.net', 443, $errno, $errstr, 5);
    var_dump($f);
} catch (Exception $e) {
    echo 'Caught exception: ',  $e->getMessage(), "\n";
}
?>
stamboom.BertKoor.nl runs on webtrees v1.7.13

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

Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

LATEST_WT_VERSION_TIMESTAMP 4 years 11 months ago #9

  • claben
  • claben's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 81
BertKoor Thanks for the suggestion; I tried to modify the script as you suggested but I get the same result:

bool(false)

I hope there may be other solutions.

Thank you
Claudio

webtrees.bendinelliclaudio.it/
webtrees 1.7.16
Linux client 6
PHP 5.6.17
MySQL 5.0.96

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

LATEST_WT_VERSION_TIMESTAMP 4 years 11 months ago #10

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14515
> bool (false)

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
<?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
$f = fsockopen('ssl://dev.webtrees.net', 443, $errno, $errstr, 5);
var_dump($f);
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

LATEST_WT_VERSION_TIMESTAMP 4 years 11 months ago #11

  • claben
  • claben's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 81
Hello Greg,
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 1.7.16
Linux client 6
PHP 5.6.17
MySQL 5.0.96

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

LATEST_WT_VERSION_TIMESTAMP 4 years 11 months ago #12

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14515
> You mean anything to you?

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 - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

LATEST_WT_VERSION_TIMESTAMP 4 years 11 months ago #13

  • claben
  • claben's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 81
I tried now with google and I get a similar result:

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 1.7.16
Linux client 6
PHP 5.6.17
MySQL 5.0.96

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

LATEST_WT_VERSION_TIMESTAMP 4 years 10 months ago #14

  • claben
  • claben's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 81
Problem solved: server administrators have updated security certificates.
As always you are prompt and precise in making the diagnosis.

Thanks Greg!
Greetings
Claudio

webtrees.bendinelliclaudio.it/
webtrees 1.7.16
Linux client 6
PHP 5.6.17
MySQL 5.0.96

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

[SOLVED] LATEST_WT_VERSION_TIMESTAMP 4 years 10 months ago #15

  • claben
  • claben's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 81
Problem solved.
Claudio

webtrees.bendinelliclaudio.it/
webtrees 1.7.16
Linux client 6
PHP 5.6.17
MySQL 5.0.96

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

  • Page:
  • 1
Powered by Kunena Forum