Hi
Recently my site isn't able to check for upgrades. Neither for the core site or any of the plugins. Does anyone know what might be the issue? Everything else about the site is working fine.
Piwigo 11.3.0 Check for upgrade
Operating system: Linux
PHP: 7.4.3 (Show info) [2021-03-05 07:33:16]
MySQL: 8.0.23-0ubuntu0.20.04.1 [2021-03-05 07:33:16]
Graphics Library: GD 2.2.5
Offline
Make sure your host allows outbound connections.
To test, save this as filename.php and execute it as php filename.php on the command line
<?php $host = 'piwigo.org'; if (($s = @fsockopen($host,80,$errno,$errstr,5)) === false) { $testresult = "$errstr ($errno)<br />\n"; } else { $testresult = "Good connection to $host"; } echo "$testresult\n"; ?>
Or if you don't have shell access place this as host-test.php somewhere in your www document directory
<?php $Action = $_POST['Action']; $host = $_POST['host']; if($Action == 'Submit') { if (($s = @fsockopen($host,80,$errno,$errstr,5)) === false) { $testresult = "$errstr ($errno)<br />\n"; } else { $testresult = "Good connection to $host"; } } echo <<<theend <!DOCTYPE html> <html> <head> <title>Test Connection</title> </head> <body> <h2>Test Connection</h2> <form action="host-test.php" method="post"> <label for="url">Enter the host:</label> <input type="text" name="host" id="url" size="30" value="piwigo.org" /><br /> <input type="submit" name="Action" value="Submit"/> </form> <p>Test result: $testresult </p> </body> </html> theend; ?>
and load it in your browser and submit the form.
Offline
Thanks for the help! It was discovered that the host received some bad DNS entries and flushing the DNS and doing a reboot cleared out the networking hiccup.
Offline