My statistics haven’t changed since September. Could you tell me what went wrong?
PHP error log is:
203.208.60.0 bx157.phpruntime [06-Nov-2018:04:20:46 +0800] astp 190 1 PHP Parse error: syntax error, unexpected ‘;’ in /data1/www/htdocs/190/astp/1/plugins/generic/usageStats/UsageStatsLoader.inc.php on line 184 bx157.
// Avoid internal apache requests. if ($entryData['url'] == '*') continue; // Avoid non sucessful requests. $sucessfulReturnCodes = array(200, 304); if (!in_array($entryData['returnCode'], $sucessfulReturnCodes)) continue; // Avoid bots. if (Core::isUserAgentBot($entryData['userAgent'], $this->_counterRobotsListFile)) continue; list($assocId, $assocType) = $this->_getAssocFromUrl($entryData['url'], $filePath, $lineNumber); error_log(print_r($entryData['url'],true); error_log(print_r($assocId,true); error_log(print_r($assocType,true); if(!$assocId || !$assocType) continue; $countryCode = $cityName = $region = null; $plugin = $this->_plugin; if (!$plugin->getSetting(CONTEXT_ID_NONE, 'dataPrivacyOption')) { list($countryCode, $cityName, $region) = $geoTool ? $geoTool->getGeoLocation($entryData['ip']) : array(null, null, null); // Check optional columns setting. $optionalColumns = $plugin->getSetting(CONTEXT_ID_NONE, 'optionalColumns'); if (!in_array(STATISTICS_DIMENSION_CITY, $optionalColumns)) $cityName = null; if (!in_array(STATISTICS_DIMENSION_REGION, $optionalColumns)) $cityName = $region = null; } $day = date('Ymd', $entryData['date']);
Thanks for your help ahead of time.