Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Version check or api checks fail
#1
Information 
If you are having issues with api checks for plugins or version checking, this is how you can debug it.

Plugin api failures are identifiable by failed to check for upgrade failures on health check and plugins missing links to extend and latest version numbers and author links.

Here are globals you can add to gsconfig.php or configuration.php to debug or check the api.

For debug output, set $debugApi and $nocache to true and have debug mode on.

The other 2 are for increasing the timeouts, and disabling curl which will force fopen requests if available.

PHP Code:
$api_timeout 800// timeout in milliseconds for curl and fopen requests, default is 500
$debugApi true// debugging output info to debugLog
$nocache  true// debugging do not use cache
$nocurl   false// set true to disable curl 

You can post these logs in the forum to get help or diagnose issues.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix


Messages In This Thread
Version check or api checks fail - by shawn_a - 2014-02-01, 04:29:48
RE: Version check or api checks fail - by shawn_a - 2014-03-18, 01:40:08



Users browsing this thread: 1 Guest(s)