Forums

Cannot access widgets - permissions error after upgrade to 2.8.3 (32 posts)

  1. graball
    Member
    Posted 2 years ago #

    I just upgraded from 2.6 to 2.8.3. Everything is working fine, except that I cannot access the widgets page. It tells me:

    "You do not have sufficient permissions to access this page."

    And the URL it is trying to access is:

    "http://www.fontcraft.com/fontcraft/wp-admin/themes.php?page=widgets.php"

    I've checked the permissions on those files on the server, turned off all my plugins and even tried a different theme and nothing works. I've also looked at the files in the database with phpmyadmin and the problem others have mentioned about an incorrect prefix does not seem to apply.

    No access to widgets is not a good thing since a lot of the structure of my site is based on the widgets and they need to be updated periodically.

    Can anyone help?

    Dave

  2. graball
    Member
    Posted 2 years ago #

    BTW, my next move is going to be to start over again with a clean install. Can't think of anything else to try.

    Dave

  3. graball
    Member
    Posted 2 years ago #

    Ok, I did a lovely clean install and the problem remains. Help?

    Dave

  4. graball
    Member
    Posted 2 years ago #

    Is it normal for these questions to be ignored for days? Is there someplace else I can go to get help with this problem?

    Dave

  5. graball
    Member
    Posted 2 years ago #

    3 days now. Problem persists. Don't suppose 2.84 will fix it?

    Dave

  6. graball
    Member
    Posted 2 years ago #

    Upgraded to 2.8.4, still no widgets.

    Dave

  7. Adz
    Member
    Posted 2 years ago #

    Hi,
    I'm not entirely certain about this, but I had a somewhat similar issue with accessing a theme options pages.

    The widget is in the widgets.php file, right? Open it up and look for a header redirect. I don't recall the code by memory, but it'll be something like header('location:http:/:....') It'll probably end in themes.php. Change that to widgets.php and hopefully it will start working.

    Hope that helps.

  8. graball
    Member
    Posted 2 years ago #

    Adz, thanks for pointing me in the right direction. I've figured it out. I can't believe we aren't getting complaints from hundreds of users, because it's a path error in the themes.php file in wp-admin which should hit anyone using 2.8.3 or 2.8.4.

    When you click on Appearance in the admin sidebar and then click on Widgets it takes you to:
    http://www.fontcraft.com/fontcraft/wp-admin/themes.php?page=widgets.php

    Which doesn't work and gives you the permissions error I mentioned.

    Instead, if you manually change the URL to:
    http://www.fontcraft.com/fontcraft/wp-admin/widgets.php

    You can then access the widgets admin screen. So now I just need to go find that path and fix it in themes.php to make the fix automatic, or I can keep entering the URL manually.

    Hopefully someone in WP-land is paying attention and will fix this bug in the next release.

    Dave

  9. Superheidi
    Member
    Posted 2 years ago #

    I am having a similar issue. Just created a clean install on 2.84 and I get :

    Call to undefined function wp_list_widgets() in /home/****/public_html/test/wp-admin/widgets.php on line 343

    Now, I tried finding the call function in wp-admin/themes.php that you're talking about and changing it, but I can't for the life of me find that line. I can't seem to find anything with 'widgets' in it in themes.php. Do you know what line it is on?

    I don't have 343 lines in the themes.php file so perhaps my issue is different.

  10. Rayvin
    Member
    Posted 2 years ago #

    Has anyone found where to fix this problem yet? I can't finf the line in themes.php either. But I have the same problem, on my own blog as well as my clients.

  11. msweet
    Member
    Posted 2 years ago #

    I'm having the same issue on my 2.8.4 blogs.

    Can't edit widgets - in fact none of the ajax (jquery?) works on the page at all.

    No drag and drop
    No expanding menus
    No Screen Options - it won't fold down
    No New Post dropdown

    regards,

    Matt

  12. Rayvin
    Member
    Posted 2 years ago #

    I can access the widgets just fine if I manually edit the link from
    http://Blog.com/wp-admin/themes.php?page=widgets.php
    to http://Blog.com/wp-admin/widgets.php

    But that's no good for my clients.
    Rayvin

  13. nachiketk
    Member
    Posted 2 years ago #

    The widget page can be access from the dashboard but not from the sidebar menu.
    Has any one found any solution for the issue?

  14. nachiketk
    Member
    Posted 2 years ago #


  15. kimijye
    Member
    Posted 2 years ago #

    I have the right uri but still can't move my widgets. Can't make a long post either.

    Gulp.

  16. muradh
    Member
    Posted 2 years ago #

    I got the same issue.. then i checked it from Chrome and it works well. :).. have a look guys.. I use ff 3.013 and chrome.. chrome is good.
    Murad..

    http://www.maldivestravelservices.com

  17. drruss
    Member
    Posted 2 years ago #

    Can't drag and drop widgets
    screen options and help don't work
    There is another thread on this issue in the forums that goes back 2 months ago someone from word press should wake up cause this is killing us.

  18. kimijye
    Member
    Posted 2 years ago #

    I've been struggling with upgrade issues for a couple weeks now and finally ran to my server admin begging for help. He looked into my wp file structure and found that my wp_includes>js folder wasn't present.

    I've occasionally had it happen before that when I recursively delete a folder with my ftp client and then upload a new folder with the same name, the new folder is sort of ghosted - I can see it in my ftp client's file list but it isn't actually recognized on my server. Maybe that's what happened here.

    The admin did a new install of wp into a different folder in my site and moved the new install's js folder from there to my blog. Now everything js dependent - drag and drop widgets and other stuff - works fine.

    He also found out that the 'long post not appearing bug' has to do with a server side security feature called mod_security. Admin changed a setting and now that behaviour functions normally too and I can make long posts again.

    My other issue - sidebar customization - resolved itself without additional intervention and the sidebar was displayed properly after this fix was carried out.

  19. muymalestado
    Member
    Posted 2 years ago #

    @ kimijye "He also found out that the 'long post not appearing bug' has to do with a server side security feature called mod_security. Admin changed a setting and now that behaviour functions normally too and I can make long posts again."

    Can we know what this security setting is and how to change it?

    Thank you for your explanations - what forums are for. Wish everyone would do this.

  20. chartinael
    Member
    Posted 2 years ago #

    same here ... what is it?

  21. Dark Severance
    Member
    Posted 2 years ago #

    I have access to change mod_security, but I would need to know what was changed.

  22. kimijye
    Member
    Posted 2 years ago #

  23. Dark Severance
    Member
    Posted 2 years ago #

    Following those instructions for the blacklist/whitelisting ended up returning "500 Internal Server Error" messages. Now if you go to the website that you linked, it is also returning the same 500 Internal Server Errors as well.

  24. Rayvin
    Member
    Posted 2 years ago #

    WTF!! WP Even the new 2.8.5. update didn't fix this problem!! As if..

  25. emilbus20
    Member
    Posted 2 years ago #

    ANyone find a fix for this? I have tried the above but no luck.
    I am running 2.9.1 now and nothing.

    The theme I created needs widgets.

    arghhh

    Anyone? PLease!

    THanks

  26. emilbus20
    Member
    Posted 2 years ago #

    Ok I got it to work!!

    I had to add "include('./includes/widgets.php');" to widgets.php

    Hope this helps some people!!

  27. Rayvin
    Member
    Posted 1 year ago #

    Where did you add that emilbus20?
    Because stll after a new install of WP
    I still get wp-admin/themes.php?page=widgets.php
    in the Appearance - Widgets instead of wp-admin/widgets.php
    I could fix this but I have no idea which file needs to be fixed.
    I checked all three widgets.php and they seem to be correct!

    This is a real pain.... I deal with multiple blogs and can't seem to find the soloution. (I'm using FireFox and tried IE same issue)

  28. Rayvin
    Member
    Posted 1 year ago #

    OMG I just figured it out!!!
    Look in your plugin folder
    if you have a widgets.php there.
    Delete it! And the problem is fixed!!!

  29. Romeon
    Member
    Posted 1 year ago #

    Is someone finding a solution for this?!

  30. Amit85
    Member
    Posted 1 year ago #

    Can you give me the link to the theme you are using?...I suppose your theme is not widget supported

Topic Closed

This topic has been closed to new replies.

About this Topic