Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Justin Greer

    (@justingreerbbi)

    Are you able to check your server error logs and see what may be causing the issue?

    Thread Starter sem101

    (@sem101)

    Marker – Jan 28, 2016, 10:49:49 AM

    [28-Jan-2016 15:42:37 UTC] WordPress database error Table ‘vagrant.wp_oauth_authorization_codes’ doesn’t exist for query ALTER TABLE wp_oauth_authorization_codes MODIFY id_token VARCHAR(3000) made by activate_plugin, do_action(‘activate_oauth2-provider/wp-oauth.php’), call_user_func_array, WO_Server->setup, WO_Server->install

    [28-Jan-2016 15:42:37 UTC] PHP Notice: Undefined index: id_token_lifetime in /var/www/public/wp-content/plugins/oauth2-provider/wp-oauth-main.php on line 328

    [28-Jan-2016 15:43:40 UTC] PHP Notice: Undefined index: license_status in /var/www/public/wp-content/plugins/oauth2-provider/includes/functions.php on line 129

    Plugin Author Justin Greer

    (@justingreerbbi)

    Thank you for providing the error logs. Are you using MySQL DB or another type of DB?

    Thread Starter sem101

    (@sem101)

    Ubuntu 14
    Apache 2.4
    MySQL 5.5
    PHP 5.6

    Thread Starter sem101

    (@sem101)

    Also, I just checked and this plugin creates 7 DB tables. Woah…

    Please add an uninstall hook for these DB tables when this plugin is deleted.

    Thanks

    Plugin Author Justin Greer

    (@justingreerbbi)

    Fair enough statement. I will see about getting an update out for the “Headers already sent” error. I am assuming you are installing fresh?

    I will update this thread here when the push has been made.

    Plugin Author Justin Greer

    (@justingreerbbi)

    I have pushed an update. I will be working on adding an uninstall option to the plugin as well here shortly. Thank you for letting me know about the issues.

    Thread Starter sem101

    (@sem101)

    Cool. I just installed the update with debug on and the plugin activated fine. So I’ll mark this as solved.

    FYI, in your settings pages, it looks like a tabs() dependency is missing in your admin.js file. I haven’t inspected any of your source, but I just see this in JS Notifier and Console.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘162 characters of unexpected output during activation’ is closed to new replies.