X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=b180e2b653b285f2c54585d83d7558e170f7e74d;hb=654a91cc1c99dcb556bce240e03dbfa1689d0d70;hp=4db0e7555bed2be542e79197fe499903091a1a3d;hpb=b5cc7e4aabeddd08a27e02b2249ce86f92f96fac;p=quix0rs-gnu-social.git diff --git a/index.php b/index.php index 4db0e7555b..b180e2b653 100644 --- a/index.php +++ b/index.php @@ -38,6 +38,10 @@ function getPath($req) function handleError($error) { + if ($error->getCode() == DB_DATAOBJECT_ERROR_NODATA) { + return; + } + common_log(LOG_ERR, "PEAR error: " . $error->getMessage()); $msg = sprintf(_('The database for %s isn\'t responding correctly, '. 'so the site won\'t work properly. '.