WordPress.org

Ready to get started?Download WordPress

Forums

WP Slimstat
[resolved] wp-slimstat no creating tables on install (20 posts)

  1. surfers
    Member
    Posted 2 years ago #

    For the life of me i cannot get this plugin to create tables. any ideas?
    thanks!

    http://wordpress.org/extend/plugins/wp-slimstat/

  2. camu
    Member
    Plugin Author

    Posted 2 years ago #

    Do you have access to your MySQL logfile?

    Camu

  3. surfers
    Member
    Posted 2 years ago #

    Hello Camu,

    I have access to cPanel

  4. camu
    Member
    Plugin Author

    Posted 2 years ago #

    You should be able to get to your logfile from there :) That may help you understand why the tables are not being created.

    Are you trying to install Wp SlimStat in a multisite environment?

    Camu

  5. surfers
    Member
    Posted 2 years ago #

    wp-slimstat Not Creating Tables In MySQL on Plugin Install

    I have had no problems with any other plugins writing to MySQL and creating tables.

    Is there a older version i should try and install that will create tables?

    Do you have a scripts i can run to create tables for wp-slimstat to work?

    I can load them using the WP database plugin that will run SQL

  6. surfers
    Member
    Posted 2 years ago #

    No website for plugin is not in a multisite environment

    where can I find the MySQL logfile in cPanel?

    Thank you for your help!

  7. camu
    Member
    Plugin Author

    Posted 2 years ago #

    These are the SQL queries to manually create those tables (make sure to replace wp_ with your actual wordpress db prefix):

    [53 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

  8. camu
    Member
    Plugin Author

    Posted 2 years ago #

    Okay, I found the problem. You clicked on the 'Activate now' link right after downloading and installing WP SlimStat. As a temporary fix, just go to your Plugins page, and then deactivate/activate WP SlimStat again. I am working on a fix for this issue.

    Sorry for the inconvenience,
    Camu

    PS: moderator, sorry for the code, I remembered it was 100 lines :) I'm getting old...

  9. surfers
    Member
    Posted 2 years ago #

    Hello Camu

    Thank you for your help! I cant wait to get this working, the plugin looks AWESOME! and i will post all about it on Computer Repairs Gold Coast
    -------------------------------------------------------

    I have deactivated plugin then re-activated (didnt work, did not write tables to database MySQL)
    I have removed plugin
    Now what would you like me to do sir

  10. camu
    Member
    Plugin Author

    Posted 2 years ago #

    Try installing it again from within your WordPress admin. I found the bug and fixed it. The version currently available on WordPress.org should be fine. Please let me know if it works.

    Camu

  11. surfers
    Member
    Posted 2 years ago #

    Just installed WP SlimStat 2.8... and.. IT WORKS!
    19 wp_slim_browsers 0 16.0 KiB 0 bytes 0 bytes
    20 wp_slim_countries 173,897 5.5 MiB 0 bytes 4.0 MiB
    21 wp_slim_outbound 0 16.0 KiB 0 bytes 0 bytes
    22 wp_slim_screenres 0 16.0 KiB 0 bytes 0 bytes
    23 wp_slim_stats

    Your A CHAMPION! thanks dude

  12. camu
    Member
    Plugin Author

    Posted 2 years ago #

    YAY! Great to know it worked. Have fun using my plugin and... remember that a vote for my plugin would be a nice way to say thank you!

    Camu

  13. surfers
    Member
    Posted 2 years ago #

    A couple of bugs to point out..
    On First Use, After you click on YES to "Use separate menu" and SAVE CHANGES - you may get the message "you dont have provlages to do this" thats because you need to click out and then click where new menu has been added.
    I found a way to get this to WORK on one of my Gold Coast Accommodation Website that failed with the last version of your plugin Camu.
    Here are the Steps

    FTP and manually remove WP-SlimStat Plugin Directory
    Run CleanOptions plugin and tick and remove - slimstat_options
    then it worked!

    Thanks again Camu!

  14. camu
    Member
    Plugin Author

    Posted 2 years ago #

    I'll try to reproduce this in my local test environment tomorrow and see if it can be fixed. Of course resetting the options should be used as your last resort.

    Camu

  15. camu
    Member
    Plugin Author

    Posted 2 years ago #

    I can't seem to be able to trigger this error. Would you please list all the steps you did to make it happen?

    Thanks,
    Camu

  16. camu
    Member
    Plugin Author

    Posted 2 years ago #

    Okay i see what you mean. In order to refresh the side menu after changing that setting, just reload the page or go to your WordPress dashboard :)

    Camu

  17. surfers
    Member
    Posted 2 years ago #

    Hello Camu!
    Sorry for the delay.. YES! you got it.
    awesome plugin! love it. do you plan in implementing outbound clicks?
    Thanks man, HAPPY EASTER

  18. camu
    Member
    Plugin Author

    Posted 2 years ago #

    Those are already being tracked! And not just clicks, but any event can be monitored with the new javascript function available in 2.8 :)

    Camu

  19. surfers
    Member
    Posted 2 years ago #

    Excellent! One more question please.. do you plan on giving the option to EXPORT lets say for instance KEYWORDS export to CSV etc? that would be most excellent.

  20. camu
    Member
    Plugin Author

    Posted 2 years ago #

    Well, why reinvent the wheel? PhpMyAdmin does already an excellent job when it comes to export data from tables ;)

    Camu

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic