From: Andrew Dolgov Date: Fri, 30 Dec 2005 16:16:47 +0000 (+0100) Subject: fix backend sanity failure (take 2) X-Git-Tag: schema_freeze_for_1.1.2~26 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=bc2369382ccc3619c07c73f6f1b806946ab42bfa;p=tt-rss.git fix backend sanity failure (take 2) --- diff --git a/backend.php b/backend.php index e4dd4fea..3578871e 100644 --- a/backend.php +++ b/backend.php @@ -748,7 +748,9 @@ } if ($subop == "sanityCheck") { - sanity_check($link); + if (sanity_check($link)) { + print ""; + } } if ($subop == "globalPurge") { diff --git a/tt-rss.js b/tt-rss.js index 85c4564d..28341262 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -111,6 +111,8 @@ function backend_sanity_check_callback() { if (xmlhttp.readyState == 4) { try { + + alert(xmlhttp.responseText); if (!xmlhttp.responseXML) { fatalError(3);