toxicum
Forum Replies Created
-
Forum: Plugins
In reply to: [SlimStat Analytics] Undefined index wp-slimstat.phpStrange. Maybe the line # is printed wrong, as this line is secured in line
https://github.com/slimstat/wp-slimstat/blob/master/wp-slimstat.php#L1583Maybe add before line 1593 for debugging to find the problem.:
error_log('searchterms >' . $searchterms . '<');Forum: Plugins
In reply to: [SlimStat Analytics] Slimstat menu doesn’t showIf you like, you can temporarily install and enable the “Query Monitor” plugin by John Blackbourn. It shows you errors in the admin bar.
Maybe you hit the same bug as in https://wordpress.org/support/topic/you-have-an-error-in-your-sql-syntax-22/
Forum: Plugins
In reply to: [SlimStat Analytics] You have an error in your SQL syntaxIf you like, you can replace admin/index.php with the fixed one from the PR:
See https://github.com/slimstat/wp-slimstat/pull/5
- This reply was modified 6 years, 2 months ago by toxicum.
Forum: Plugins
In reply to: [SlimStat Analytics] You have an error in your SQL syntaxSo the block reads like:
if ( empty( self::$data_for_column ) || empty( self::$data_for_column[ ‘url’ ] ) ) {
return 0;
}Forum: Plugins
In reply to: [SlimStat Analytics] You have an error in your SQL syntaxFound a workaround (fix?):
IN admin/index.php of the plugin, change line 737 from
if ( empty( self::$data_for_column ) ) {to:
if ( empty( self::$data_for_column ) || empty( self::$data_for_column[ 'url' ] ) ) {Forum: Plugins
In reply to: [SlimStat Analytics] You have an error in your SQL syntaxI was able to reproduce, when Slimstat option “Posts and Pages” is on.
It causes the plugin to fail completely here, so the Slimstat menu item disappears.
I will try to find a fix for it.One workaround for you is, to disable the option “Posts and Pages”, either in the admin backend, or if not available, in the db directly in wp_options key “slimstat_options”.
Forum: Plugins
In reply to: [SlimStat Analytics] user only for see slimstatThere are no special capabilities provided by the plugin currently afaik which you can restrict.
But maybe the “Nav Menu Roles” plugin helps.
Forum: Plugins
In reply to: [SlimStat Analytics] Slimstat database table is very largeSlimstat purges entries (or moves entries from the table to the archive table if “Archive Records” is On) if “Data Retention” days is > 0 in the settings.
What is your days setting for “Data Retention” in the Slimstat settings?
For the Data Cleanup (purge) code to work, it must be ensured that Cron is working.
Forum: Plugins
In reply to: [SlimStat Analytics] Google docsYou can export as CSV and import into Google Sheets.
For this, create new sheets doc, File -> Import > Upload and upload the CSV.Forum: Plugins
In reply to: [SlimStat Analytics] All visitors coming from the same IP address@tronwind I assume you see the Cloudflare proxy IP, and not the visitor ones.
You must ensure your Webserver is forwarding the real IP cloudflare sends in the X-Forwarded-For and CF-Connecting-IP headers.
In Apache HTTPD, this can be done using mod_remoteip.
See https://www.globo.tech/learning-center/x-forwarded-for-ip-apache-web-server/slimstat extracts the real ip address from these headers:
$originating_ip_headers = array( ‘X-Forwarded-For’, ‘HTTP_X_FORWARDED_FOR’, ‘CF-Connecting-IP’, ‘HTTP_CLIENT_IP’, ‘HTTP_X_REAL_IP’, ‘HTTP_FORWARDED’, ‘HTTP_X_FORWARDED’ );
Forum: Plugins
In reply to: [SlimStat Analytics] The plugin does not work after updating the PHP fileTo install the proposed MaxMind license key support manually for now as a workaround, see https://github.com/slimstat/wp-slimstat/pull/5#issuecomment-583119369
Forum: Plugins
In reply to: [SlimStat Analytics] Unknown Country FlagRoel, the plugin will delete an existing db you manually uploaded to the plugins upload dir when it decides that it is outdated. As the download of the new db now fails, geolocation will break then.
To install the proposed MaxMind license key support manually for now as a workaround, see https://github.com/slimstat/wp-slimstat/pull/5#issuecomment-583119369
Forum: Plugins
In reply to: [SlimStat Analytics] MaxMind Geolocation not workingThe pr mentioned on my previous post now leaves an existing db on the server until a new db was downloaded successfully.
To install the proposed MaxMind license key support for now as a workaround, see https://github.com/slimstat/wp-slimstat/pull/5#issuecomment-583119369
Forum: Plugins
In reply to: [SlimStat Analytics] Geolite MaxMind error in WP multisiteThe plugin currently does not support the new MaxMind license key requirement.
Workaround see https://github.com/slimstat/wp-slimstat/pull/5#issuecomment-583119369
Forum: Plugins
In reply to: [SlimStat Analytics] CountryCodeSorry. I don’t get you. What do you mean by ‘codeCountry’?