Hi there,
if I understand correctly your issue:
1) you are the administrator
2) all the fields under Settings > Slimstat > Permissions are empty, or in phpmyadmin slimstat_can_admin
, slimstat_can_view
and slimstat_capability_can_view
are not initialized (or have their default values [a:0:{}, a:0:{}, ‘read’])
3) You can view the stats but not access WP SlimStat admin panels
Is this correct?
1) Correct, I’m the (sole) administrator.
2) In the blog where I had Slimstat rebuild slimstat_can_admin, slimstat_can_view
and slimstat_capability_can_view
, they have been set to their default values. i.e. [a:0:{}, a:0:{}, 'read']
In the blogs that have not been reverted to the Slimstat default settings, they appear as:
[a:1:{i:0;s:11:"myadminname";},a:1:{i:0;s:11:"myadminname";},read]
…with the correct admin account user name entered.
3) Correct. I can view the stats but I do not have permission to access Views, Filters, Permissions
, and Maintenance
under the Options
section.
I see. One more question: does your “myadminname” contain any spaces or anything other than letters?
Also, is this a network installation of WordPress? What version were you using before the upgrade?
Camu
One more question: does your “myadminname” contain any spaces or anything other than letters?
The admin name is purely alphanumeric with no spaces, punctuation or other characters.
Also, is this a network installation of WordPress? What version were you using before the upgrade?
All my blogs are currently “stand-alone” individual WordPress installations. I haven’t tried using the multisite features yet.
I was using WordPress 3.1.1 and had recently upgraded to WordPress 3.1.2.
Hm, I was able to reproduce the issue on a test environment, but for an “editor”, not the admin. I’ll review the source code and get back to you with a fix 🙂
Just to confirm, could you try to create another admin account and see if this new one has access to the configuration panels?
Camu
Okay, I think I have a fix for your issue. As I said, it was a bug, but it should not be triggered if your user is an ‘administrator’. Anyway, you can contact me at
http://www.duechiacchiere.it/contatto
so that I can send you the new version for you to test. If it works, I will release an official update.
Thank you for your feedback,
Camu
Just to confirm, could you try to create another admin account and see if this new one has access to the configuration panels?
I tried creating a second administrator level account and no luck. The new administrator account is also denied access to Slimstat’s options.
Okay, I think I have a fix for your issue.
Great! I’ve send you an email via your website’s contact form.
Thanks!
The fix worked. 🙂
I installed the fix on a couple of my blogs and I’ve got permissions back on all of them.
But I ran into another problem.
When I enter strings under the Filters section for “Referers to ignore” nothing is saved and slimstat_ignore_referers
in the database remains empty.
The rest of the filter types seem to work, with all changes being reflected appropriately in the database.
Awesome! I’m glad it worked. I’ll add some other bugfixes to 2.4.1 and I will release it to the public in about two weeks. As for the filter, it’s a bug, I can send you the updated version if you want 🙂
Camu
Just installed the latest version of the fix and everything seems to be working perfectly.
No permissions issues, all changes to filters are being saved. 🙂
Thanks!
A vote for my plugin would be a nice way to thank me 😉
Camu
Awesome! Please let me know if you find any other bugs 🙂
Have a great day,
Camu