WPFront
  • Home
  • Plugins
    • Notification Bar Plugin
      • Plugin Ideas
      • Plugin Settings
      • Plugin FAQ
    • Scroll Top Plugin
      • Plugin Settings
      • Plugin FAQ
    • User Role Editor Plugin
      • Plugin Documentation
      • Plugin Settings
      • Plugin FAQ
    • Paddle Gateway Plugin
  • Go Pro
  • Support
    • Documentation
    • FAQ
  • Affiliates
  • Contact
  • Login
  • Cart

Tagged: license

  • This topic has 18 replies, 2 voices, and was last updated 9 years, 11 months ago by Jim Gaiko.
Viewing 15 posts - 1 through 15 (of 19 total)
1 2 →
  • Author
    Posts
  • June 3, 2015 at 2:36 pm #10346
    Jim Gaiko
    Participant

    Hi, I have a license for “WPFront User Role Editor Personal Pro – Up to 5 Sites” and on one of the sites I activated it on, the plugin lost the licsense and I had to re-enter the license to get it to be fully functional again. The plugin was never uninstalled, de-activated, it just suddenly lost the license key. Unfortunately, this gave access to capabilities that a user role I had set up wasn’t supposed to have. Any ideas how this might have happened?

    I currently have version 2.9.3 of the plugin installed. Would upgrading to version 2.10 fix this issue?

    June 3, 2015 at 8:25 pm #10361
    Syam Mohan
    Keymaster

    Hi Jim,

    There are only three reasons why it would deactivate.

    1. Deactivated from Go Pro page.
    2. Deactivated from wpfront.com purchase history.
    3. Site home URL changed.

    Is there any chance that one of these would have happened? How many times did this happen? Did you check your purchase history before activating again to see whether that site exists within the list?

    I understand that how this will be an issue from a security stand point. I’ll add email notification with grace period and audit trails in next version so that you will be notified on accidental deactivation with enough time to reactivate. Nothing changed in v2.10 on licensing functions, so I doubt it.

    Thanks

    Syam

    June 4, 2015 at 9:05 am #10417
    Jim Gaiko
    Participant

    Strange, I didn’t do any of those 3 items, and yet it deactivated. It’s happened at least once, maybe twice. I did not check the purchase history before activating it again, but will do that if it happens again.

    I’ll keep a close eye on it in the coming days/weeks, and will let you know if it happens again.

    And some sort of grace period and email notification would be very helpful rather than it lapsing silently and making capabilities available to people who should have very limited access. Thanks!

    June 4, 2015 at 9:47 am #10420
    Syam Mohan
    Keymaster

    Thanks Jim, next version will have the notification and grace period.

    June 5, 2015 at 5:05 pm #10604
    Jim Gaiko
    Participant

    The license deactivated on its own again. When it was deactivated, the license page on your site still said the license was being used by my website, but it was deactivated on my website.

    June 5, 2015 at 5:34 pm #10605
    Syam Mohan
    Keymaster

    Hey Jim,

    Sorry about that. Is it possible for you to give me access to your site? Here are the details I’ll need. An Administrator account on your site and FTP access, so that I can replace files.

    Thanks

    June 5, 2015 at 6:29 pm #10606
    Jim Gaiko
    Participant
    This reply has been marked as private.
    June 5, 2015 at 9:45 pm #10634
    Syam Mohan
    Keymaster

    Hey Jim,

    Can you also give me access to mysql admin? I want to check the values stored in the database.

    It looks like the basic cause of this issue is, updating the license status field in DB, deletes the license key from DB. I have no idea why that would happen.

    Thanks

    Syam

    June 6, 2015 at 8:58 am #10649
    Jim Gaiko
    Participant
    This reply has been marked as private.
    June 6, 2015 at 10:04 am #10653
    Syam Mohan
    Keymaster

    Hi Jim,

    I understand if you don’t want me to have mysql access. But backup/restore method will take considerably long time rather than mysql admin.

    I think I found the basic cause. The ‘id’ column from ‘wpfront_ure_options’ table always returns zero, which makes the values overwrite each other. That column is supposed to be an ‘auto_increment’ so it should never be zero. Can you check the values of that column? And also make sure it is set as auto_increment. Do a test insert into that table and check the ‘id’ value. You also mentioned you have a development site. Do the same checks there too.

    Thanks

    Syam

    June 6, 2015 at 12:22 pm #10655
    Jim Gaiko
    Participant

    I checked the live site and the development site.

    On the live site, the ‘id’ column is not set to auto-increment, but on the development site it is. The problem of the license deactivating hasn’t happened on the development site, so I think you are correct in your diagnosis of this issue.

    However, when I try to change the ‘id’ column to auto-increment on the live site, I get this error: “#1075 – Incorrect table definition; there can be only one auto column and it must be defined as a key”. What do you suggest?

    June 6, 2015 at 5:11 pm #10659
    Syam Mohan
    Keymaster

    Try making that as a primary key. Can you think of a reason, why the auto increment got removed?

    June 7, 2015 at 5:52 am #10661
    Jim Gaiko
    Participant

    I tried making it the primary key, but doesn’t like that there are multiple rows with 0. Does it matter what values I give for the “id” for these?
    wpfront-user-role-editor-personal-pro-license-key-last-checked
    wpfront-user-role-editor-personal-pro-license-key-expires
    wpfront-user-role-editor-personal-pro-license-key-status
    wpfront-user-role-editor-personal-pro-license-key

    I have no idea how this happened, I’ve not modified the database structure, just copied it directly from my development environment when I set up the live server. It’s set up properly on the development environment.

    June 7, 2015 at 8:25 am #10665
    Syam Mohan
    Keymaster

    The value doesn’t matter. It just needs to be unique.

    June 7, 2015 at 9:08 am #10666
    Jim Gaiko
    Participant

    Thanks, I made the fixes to the db, and now the table is set to auto-increment. I’ll keep an eye on this in the coming days and will let you know if the problem returns. Thanks for your assistance.

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 19 total)
1 2 →
  • The topic ‘License deactivating mysteriously’ is closed to new replies.
Log In
Lost Password

Search Topics

Documentation

FAQ
Roles List Add Role Edit Role Delete Role Restore Role Add or Remove Capability Assign/Migrate Users Posts/Pages Extended Permissions Custom Post Type Permissions Navigation Menu Permissions Widget Permissions Admin Menu Editor Media/Attachment File Permissions User Level Permissions Content Restriction Shortcodes Login Redirect Export Roles Import Roles Bulk Edit Settings Multisite Roles List Multisite Add New Role Multisite Edit Role Multisite Delete Role Multisite Restore Role Multisite Sync Roles Multisite Settings WordPress Capabilities Actions and Filters Installation Instructions