View Full Version : Version check on a URL failing from Product Manager
Thunderbird8
06-15-2012, 02:24 PM
I've been attempting to add a version check URL to the one modification I have on here. When I access the URL directly, the version number comes back. However, when I access it from the Product Manager, it says that the check failed.
The version check URL is https://vborg.vbsupport.ru/misc.php?do=productcheck&pid=tbird-repreport
The "check failed" message happens when fsockopen fails (admincp/plugin.php, line 799). The error message should contain the errno and errstr that explains why.
Edit: actually, I guess there's "connect failed" and "not found" error messages, the second one being if it can't manage to find a version number in the response. In that case I guess the message isn't much help, but it might help to temporarily hack plugin.php to show the response.
Thunderbird8
06-15-2012, 09:23 PM
Hmm, it would seem that there's an issue with the - in the product ID. I added the product ID with the - changed to a _ in the modification here, then changed the version check URL. That returned the expected response.
Guess having typoed the ID when entering it here (it was supposed to be a _ in the first place) does matter :P, as looking at the code in plugin.php, it is expecting the product ID that was entered when the product was created.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.