hurghanico wrote: ↑
Sat Nov 30, 2019 6:00 pm
As soon as clik on the "Details" link on each extension I see the "Failed to obtain latest version information" message, and if I click the "Re-Check version" link, the message remains the same.
If "Failed to obtain latest version information" is all
david63 wrote: ↑
Sat Nov 30, 2019 6:51 pm
One thing that I have only just realised is that the version checking data is cached (no idea why!) - so see what happens if you purge the cache
Yeah, that is the other case I had been looking at, too. Technically there is "a version check failure, without any further explanation" which could be thrown in the case of "force cache was requested, but no version exists in the cache." But these "Re-check version" cases from ACP don't actually pass the "force cache" parameter -- and instead explicitly bypass cache -- which makes sense given their intention. So that's what left the "no stable or unstable version defined" exception as being the one that could actually be thrown here.
Still, it would be nice for this analysis to be wrong, and purging the cache actually fixes it.
hurghanico, here is some really crude debugging info to make version_helper.php dump some information about the data it uses to conclude it's "no stable or unstable version defined" decision. You would overwrite your current /phpbb/version_helper.php file with the modified version that is attached here. You shouldn't need to logout or even purge the cache in order to see the effect.
After applying the updated version_helper.php, the clearest test will be to simply invoke "Re-check version" from the "Details" page of a single extension. For example, here is the debug output I see when checking the version of mChat:
Rather than a screen shot, you could cut-n-paste all that output that appears before the ACP header, and put paste it into some
tags here. Whether pasting as text or resorting to a screen shot, just make sure it doesn't end up truncating any of the visible information. You can re-upload the /phpbb/version_helper.php file from the phpBB 3.2.8 full package when you're done, in order to "get back to normal."
Hmm, maybe just for kicks, also test what re-checking the phpBB version from the ACP General tab generates with this debug, too. (i.e. A test where the version check actually works.) Note you may get some "Cannot modify header information - headers already sent" warnings in that case, but should still be able to see and copy the debug info.