WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Tweetable] Canot access permissions error (21 posts)

  1. shawnsandy05
    Member
    Posted 5 years ago #

    Cannot access the page
    Message:-
    You do not have sufficient permissions to access this page.

  2. redwallhp
    Member
    Posted 5 years ago #

    Are you an administrator on the blog? And have you run through the setup yet?

  3. dirkhillbrecht
    Member
    Posted 5 years ago #

    I have exactly the same problem with a freshly installed Tweetable 1.0.8 on an up-to-date 2.8.1 German WordPress installation. Own server, so no access problems. Problem is that I even cannot start the setup process, as soon as I click on any menu items in the new "Twitter" menu in the sidebar, I get "You are not allowed to access this page" (or, more precisely, the German version of this error message).

    I'm a bit stuck. :-(

  4. k0marik
    Member
    Posted 5 years ago #

    I get the same error with permission. Running WP 2.8.1.

    Thanks

  5. shawnsandy05
    Member
    Posted 5 years ago #

    yes i am the admin

  6. redwallhp
    Member
    Posted 5 years ago #

    I think the significant part in this case is in admin_menus.php:

    $main_menu_permission = get_option('tweetable_main_menu_permission');
    
    if ($main_menu_permission == '') {
    	add_option('tweetable_main_menu_permission', 'edit_themes');
    	$main_menu_permission = 'edit_themes';
    }

    Does anyone want to try replacing if ($main_menu_permission == '') with if (empty($main_menu_permission)) ?

  7. dokool
    Member
    Posted 5 years ago #

    Just tried it, no joy.

  8. dirkhillbrecht
    Member
    Posted 5 years ago #

    @redwallhp: Already looked at that. Is not the problem as the installation of the module fills the wp_options table with tweetable_main_menu_permission=edit_themes. So that condition is never matched, anyway.

    On Twitter, I got confirmation from other people that this behaviour seems to be general. Perhaps you should make a fresh 2.8.1 install on your own and trace the module's behaviour in that. I'm pretty sure that it's a minor glitch and has something to do with the special situation of the module before setup starts.

  9. Ashutosh
    Member
    Posted 5 years ago #

    I'm yet another user with this problem. Waiting for a solution... :)

  10. redwallhp
    Member
    Posted 5 years ago #

    Perhaps you should make a fresh 2.8.1 install on your own and trace the module's behaviour in that. I'm pretty sure that it's a minor glitch and has something to do with the special situation of the module before setup starts.

    That was going to be my next step. The trouble is, it doesn't seem to affect everyone. If any of you have any unique features to your server setup or WordPress installation, be sure to mention any that might cause problems. New PHP releases, funky WP plugins, Windows servers, things like that.

  11. redwallhp
    Member
    Posted 5 years ago #

    Just tagged 1.0.9. It should fix the problem.

    http://wordpress.org/extend/plugins/tweetable/

    Apparently WP 2.8.1 added some "security" features... :)

  12. dirkhillbrecht
    Member
    Posted 5 years ago #

    Looks much better now! :-) Installation procedure starts now, but I must admit that I'm too tired to perform installation. Has to wait until tomorrow European time...

    Thank you!

  13. redwallhp
    Member
    Posted 5 years ago #

    That's good. I was afraid something else would blow up now that I made changes. :)

  14. efikim
    Member
    Posted 4 years ago #

    I've just updated tweetable to 1.1.0 on WordPress 2.8.1 and can't change the Twitter account in the tweetable settings page (we want to use a new twitter account).
    If I click on the 'change' link I get the message

    You do not have sufficient permissions to access this page.

  15. redwallhp
    Member
    Posted 4 years ago #

    Just tagged version 1.1.1. (Will be available for download within 15 minutes.) It should fix it.

    I had missed a bit of logic that adds-in the installer page when you click the link. WordPress 2.8.1 changed some things, which are great for security, but make for some re-coding headaches. :)

  16. efikim
    Member
    Posted 4 years ago #

    no, just upgraded to 1.1.1 and still the same

  17. redwallhp
    Member
    Posted 4 years ago #

    *rollseyes* It seems there was a flaw in the logic... AND instead of OR. :) 1.1.2 should do the job properly. (Will be available within 15min.)

  18. efikim
    Member
    Posted 4 years ago #

    Thanks!

    now works, though not quite as I expected. It doesn't change the account used by the 'twitter application' that was generated before, but creates a new application that has to have a new name. Never mind, its fixed the problem I'd caused and a slightly different application name is of no great importance!

    thanks for the prompt fix - re-tweet is working correctly and I'll try to think of something to write to test the automatic posting tomorrow.

  19. redwallhp
    Member
    Posted 4 years ago #

    @efikim Actually, you can use the same application. Just ignore step one and press next. It will even fill-in the application's keys again for you.

  20. efikim
    Member
    Posted 4 years ago #

    thanks - I'll try to remember that if there's a 'next time'

    automatic posting is working correctly too :)

  21. Ashutosh
    Member
    Posted 4 years ago #

    I'm trying to change the Twitter account associated with Tweetable and I'm getting the "You don't have sufficient permissio" error. Using WP 2.8.5 and Tweetable 1.1.4.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags