All websites with Statpress installed are producing the same error today – example:
Warning: mysql_real_escape_string(): Access denied for user ‘lednyaks’@’localhost’ (using password: NO) in /home/lednyaks/public_html/wp-content/plugins/statpress/statpress.php on line 1191
Warning: mysql_real_escape_string(): A link to the server could not be established in /home/lednyaks/public_html/wp-content/plugins/statpress/statpress.php on line 1191
Warning: mysql_real_escape_string(): Access denied for user ‘lednyaks’@’localhost’ (using password: NO) in /home/lednyaks/public_html/wp-content/plugins/statpress/statpress.php on line 1194
Warning: mysql_real_escape_string(): A link to the server could not be established in /home/lednyaks/public_html/wp-content/plugins/statpress/statpress.php on line 1194
Warning: mysql_real_escape_string(): Access denied for user ‘lednyaks’@’localhost’ (using password: NO) in /home/lednyaks/public_html/wp-content/plugins/statpress/statpress.php on line 1197
Warning: mysql_real_escape_string(): A link to the server could not be established in /home/lednyaks/public_html/wp-content/plugins/statpress/statpress.php on line 1197
Please urgently advise.
Thanks,
Victoria
]]>Hello,
I’ve been experiencing some issues with Statpress when attempting to clean up its log table. Turning the “automatically delete entries older than 6 months” option on caused my database to go into deadlock and run out of spare workers. Basically each page request caused an additional DELETE query to run. Each of these DELETE queries runs for around 60 seconds since the Statpress table still has over 2 million entries, and also each DELETE query was locking the Statpress table causing all the INSERTS (Statpress logging regular website activity) to wait. The result was about 100 queries waiting on a DELETE query to finish and preventing any other database connections (since there is a hard limit) which caused an outage. I’ve turned the option off and things are working again. Is it possible to run these DELETE queries on a periodic basis, like with WP’s cron?
Any idea why export doesnt work ?
]]>Hello there
I have a problem of significant differance between stat and press google Analitycs
This can repésenter j’usqu’a 50%! or it comes to you there? and what are the valid overlooked statistical potential advertisers
Warning: mysql_real_escape_string(): Access denied for user ”@’localhost’ (using password: NO) in /var/www/***/wp-content/plugins/statpress/statpress.php on line 1191
Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/***/wp-content/plugins/statpress/statpress.php on line 1191
Warning: mysql_real_escape_string(): Access denied for user ”@’localhost’ (using password: NO) in /var/www/***/wp-content/plugins/statpress/statpress.php on line 1194
Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/***/wp-content/plugins/statpress/statpress.php on line 1194
Warning: mysql_real_escape_string(): Access denied for user ”@’localhost’ (using password: NO) in /var/www/***/wp-content/plugins/statpress/statpress.php on line 1197
Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/***/wp-content/plugins/statpress/statpress.php on line 1197
Solution:
https://core.trac.www.ads-software.com/ticket/27466
If I install a caching plugin, will StatPress still track the visits (given that the caching plugin serves static pages)?
]]>The Details tab is all blank after WP upgrade.
]]>You should make use of WordPress’ escape functionality. We just upgraded to PHP 5.5 with PDO by default. MySql functions no longer work so had to disable plugin.
]]>Since the last update there is no display more in the world map.
]]>Warning: mysql_real_escape_string(): Access denied for user ”@’localhost’ (using password: NO) in /home/users2/s/admin/domains/domain.com/wp-content/plugins/statpress/statpress.php on line 1191
Warning: mysql_real_escape_string(): A link to the server could not be established in /home/users2/s/admin/domains/domain.com/wp-content/plugins/statpress/statpress.php on line 1191
Warning: mysql_real_escape_string(): Access denied for user ”@’localhost’ (using password: NO) in /home/users2/s/admin/domains/domain.com/wp-content/plugins/statpress/statpress.php on line 1194
Warning: mysql_real_escape_string(): A link to the server could not be established in /home/users2/s/admin/domains/domain.com/wp-content/plugins/statpress/statpress.php on line 1194
Warning: mysql_real_escape_string(): Access denied for user ”@’localhost’ (using password: NO) in /home/users2/s/admin/domains/domain.com/wp-content/plugins/statpress/statpress.php on line 1197
Warning: mysql_real_escape_string(): A link to the server could not be established in /home/users2/s/admin/domains/domain.com/wp-content/plugins/statpress/statpress.php on line 1197
Problem mysql.
I am disabled plugin because this error showing home page.Help me please
When using Statpress 1.4.3 on WordPress 3.9, you get the following errors:
Warning: mysql_real_escape_string() [function.mysql-real-escape-string.php]: Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (38) in /testsite/wp-content/plugins/statpress/statpress.php on line 1191
Warning: mysql_real_escape_string() [function.mysql-real-escape-string.php]: A link to the server could not be established in /testsite/wp-content/plugins/statpress/statpress.php on line 1191
Warning: mysql_real_escape_string() [function.mysql-real-escape-string.php]: Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (38) in /testsite/wp-content/plugins/statpress/statpress.php on line 1194
Warning: mysql_real_escape_string() [function.mysql-real-escape-string.php]: A link to the server could not be established in /testsite/wp-content/plugins/statpress/statpress.php on line 1194
Warning: mysql_real_escape_string() [function.mysql-real-escape-string.php]: Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (38) in /testsite/wp-content/plugins/statpress/statpress.php on line 1197
Warning: mysql_real_escape_string() [function.mysql-real-escape-string.php]: A link to the server could not be established in /testsite/wp-content/plugins/statpress/statpress.php on line 1197
]]>just got statpress again, loaded same a couple of days ago…
and while it’s right now it’s March 12th at 8:44 pm EDT – the plugin has already started a new day – March 13th and is adding visitors etc already….
why???
]]>Hi all, i have this plugin over a year. I had no problem with it. Until this year. No longer works at all. From February 1 stopped working.
error_log httpd:
[Thu Feb 13 09:49:18 2014] [error] [client 217.66.166.145] File does not exist: /var/www/html/geology/wp-content, referer: https://www.geology.sk/geohealth/wp-admin/admin.php?page=statpress/statpress.php
syslog:
Feb 13 09:54:52 geolsurv suhosin[817]: ALERT – script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker ‘217.66.166.145’, file ‘/var/www/html/geology/geohealth/wp-admin/admin.php’, line 109)
Any idea?
]]>Hello,
I like this plugin. I have got some problem. There are many users in my blog. So, I want that editor of my blog also can access statpress plugin. I want they will see visitors, spiders and all of the information of statpress plugin.
How can I do it? Please can you help me to do that?
Regards,
Mahbub Alam
Hi, trying to track IP’s..
Instead of going thru manually ctrl+f on each visitor page of IP – is there a quicker way?
Thanks,.. an luv the plugin btw!
]]>when default wp-content folder name changed, most path return error.
in my point of view this should be dynamic to handle this bug.
I have changed mine manually but hope to be fixed in next release.
My blog – Yosny, uses StatPress. I allow all registered users to view StatPress Statistics. As you know, StatPress has some settings in the Options tab.
Though I want registered users to view StatPress Statistics, I do not want any of the Registered users to tamper with the StatPress Settings via the Options Tab. As of now, any Registered User in my Website can go to StatPress Statistics, click Options, and tamper with the StatPress settings.
I prefer the Options Tab in StatPress to be moved to the WordPress Settings. This will ensure that no Registered User viewing the StatPress Statistics on my blog can tamper with the StatPress settings.
]]>I was working with an older version of statpress and was having problems with the hour the day started. So I decided to upgrade following your instructions and when I try to activate it I get: Fatal error: Cannot redeclare StatPress_Print() (previously declared in /home5/rambalbi/public_html/skatesgalore/wp-content/plugins/statpress-visitors/statpress.php:374) in /home5/rambalbi/public_html/skatesgalore/wp-content/plugins/statpress/statpress.php on line 1371
Is there a way to fix this so I can have my visitor counter on my website again?
]]>Does anyone know how to safely remove the SQL table called wp_statpress from the database? This is the largest table in my SQL database and I don’t even use StatPress anymore. Can it just be deleted or are there other steps? Thanks
]]>I just installed statpress and it works fine. There is onevstrangevthing. In 8 hours statpress counts 150 visits whike analytics counts just 25. Spybots are not counted. Can someone explain such big differences and which to trust?
]]>Hi,
WordPress generates deprecation notices if I set WB_DEBUG to true.
The deprecated function calls are:
On newer WP versions there are maybe more warnings.
In addition, I get the following PHP notice:
Notice: Undefined index: statpress_action in /var/www/wordpress/wp-content/plugins/statpress/statpress.php on line 149
If you do not have much time, I can maybe write a patch some day.
]]>i wrote
from: 20120311
to: 20130912
and press export
and fiel is 0Mb
Spy shows approaches to the web 2h delay.
]]>Statpress has been working perfectly for almost 3 years on my WP blog, but in the past 3 days some issue has arisen that I have never seen before.
The top barchart ends last Friday May 10 – the days since do NOT display. Nor does anything below the bar charts area either.
Only change I had to make mid last week, was to turn Compatibility view ON for IE 10 so that my LinkedIn discussions could be edited….
I’ve done all the normal win7 fixes for IE10 – cleared cache, reloaded page etc…and nothing appears after May 10 or below the bar chart!
Help here?
Further – i was able to export out a .csv file, that should have been for all stats from May 9 to today – yet the rows end around 7500 on May 10th….ie it appears there are NO stats past same?
Help?
]]>Hi, for a specific pages or posts the number of “visitors”, and “views” still the same in the “Post & Page Summary” event when i go in these pages from different machine (different IP). Am I missing something?
thanks
]]>Just something that I wanted to share. My WP setup was running slow, very slow.
After uninstalling Statpress everything appears to be WAY faster!
Looking at slow_sql_queries log files nearly ALL of the Statpress SQL queries were marked as slow.
Note: I don’t have “official evidence” that Statpress was causing these issues! Just want to share.
Please visit StatPress Community
In the next week I’ll discuss some alternatives from the original StatPress and a roadmap on WordPressReady site.
Stay tuned.
Thanks!
Team,
I’m using the StatPress “Top Posts” widget. It works great but unfortunately it list a couple of posts/pages that have been deleted in the mean time.
Here’s how it looks:
– System upgrade (23102)
– (22074)
– (19079)
– New NAS (18378)
How can I fix this?
]]>Could someone explain what this setting does?
]]>This is a nice plugin, but from a long time there isn’t any update release. The admin menu is not in compatible with WP 3.0 and the annoying thing – /?/ in the Spy menu item. Following are the fixes and working fine!
#1 - StatPress Admin menu is not WP 3.0 compitable
Thats why currently active menu item is not highlighted properly
task: 1.1
File: wp-content/plugins/statpress/statpress.php
Replace these
add_menu_page('StatPress', 'StatPress', $mincap, __FILE__, 'iriStatPress');
add_submenu_page(__FILE__, __('Overview','statpress'), __('Overview','statpress'), $mincap, __FILE__, 'iriStatPress');
add_submenu_page(__FILE__, __('Details','statpress'), __('Details','statpress'), $mincap, __FILE__ . '&statpress_action=details', 'iriStatPress');
add_submenu_page(__FILE__, __('Spy','statpress'), __('Spy','statpress'), $mincap, __FILE__ . '&statpress_action=spy', 'iriStatPress');
add_submenu_page(__FILE__, __('Search','statpress'), __('Search','statpress'), $mincap, __FILE__ . '&statpress_action=search', 'iriStatPress');
add_submenu_page(__FILE__, __('Export','statpress'), __('Export','statpress'), $mincap, __FILE__ . '&statpress_action=export', 'iriStatPress');
add_submenu_page(__FILE__, __('Options','statpress'), __('Options','statpress'), $mincap, __FILE__ . '&statpress_action=options', 'iriStatPress');
add_submenu_page(__FILE__, __('StatPressUpdate','statpress'), __('StatPressUpdate','statpress'), $mincap, __FILE__ . '&statpress_action=up', 'iriStatPress');
add_submenu_page(__FILE__, __('Statpress blog','statpress'), __('Statpress blog','statpress'), $mincap, 'https://www.statpress.org');
With these
add_menu_page('StatPress', 'StatPress', $mincap, 'statpress', 'iriStatPressMain');
add_submenu_page('statpress', 'StatPress: Overview', 'Overview', $mincap, 'statpress/details', 'iriStatPressDetails');
add_submenu_page('statpress', 'StatPress: Spy', 'Spy', $mincap, 'statpress/spy', 'iriStatPressSpy');
add_submenu_page('statpress', 'StatPress: Search', 'Search', $mincap, 'statpress/search', 'iriStatPressSearch');
add_submenu_page('statpress', 'StatPress: Export', 'Export', $mincap, 'statpress/export', 'iriStatPressExport');
add_submenu_page('statpress', 'StatPress: Options', 'Options', $mincap, 'statpress/options', 'iriStatPressOptions');
add_submenu_page('statpress', 'StatPress: Update', 'StatPressUpdate', $mincap, 'statpress/up', 'iriStatPressUpdate');
add_submenu_page('statpress', 'Statpress blog', 'Statpress blog', $mincap, 'https://www.statpress.org');
task: 1.2
File: wp-content/plugins/statpress/statpress.php
Aslo remove these part of codes no longer reqd by the 3.0 menu system
/*
function iriStatPress() {
?>
<?php
if ($_GET['statpress_action'] == 'export') {
iriStatPressExport();
} elseif ($_GET['statpress_action'] == 'up') {
iriStatPressUpdate();
} elseif ($_GET['statpress_action'] == 'spy') {
iriStatPressSpy();
} elseif ($_GET['statpress_action'] == 'search') {
iriStatPressSearch();
} elseif ($_GET['statpress_action'] == 'details') {
iriStatPressDetails();
} elseif ($_GET['statpress_action'] == 'options') {
iriStatPressOptions();
} elseif(1) {
iriStatPressMain();
}
}
*/
#2 - When view StatPress/Spy item, displaying the anyoing thing /?/ for the query part regardless of permalink setting
task: 2.1
File: wp-content/plugins/statpress/statpress.php
Replace this line (@line: 770)
print "<td><div><a href='".get_bloginfo('url')."/?".$details->urlrequested."' target='_blank'>".iri_StatPress_Decode($details->urlrequested)."</a>";
With these
if ( get_option('permalink_structure') != '' ) {
print "<td><div><a href='".get_bloginfo('url').$details->urlrequested."' target='_blank'>".iri_StatPress_Decode($details->urlrequested)."</a>";
} else { print "<td><div><a href='".get_bloginfo('url')."?".$details->urlrequested."' target='_blank'>".iri_StatPress_Decode($details->urlrequested)."</a>"; }
This will help the plugin uers to fix it. Also hope that the author should fix these issues in the upcoming version. Suggestions and comments are welcome to make it better bug free!
thanks!
]]>