[resolved] Admin Menu Link Errors (4 posts)

  1. ninjaraptor
    Posted 5 years ago #

    I'm doing some maintenance on a WordPress site, and the Media and Library links on the admin menu are generating 'You do not have sufficient permissions to access this page.' messages. Comparing these to links in a clean WordPress install, they appear to be malformed;

    Clean Media/Library: http://www.url.com/wp-admin/upload.php
    Site Media: http://www.url.com/wp-admin/admin.php?page=upload.php
    Site Library: http://www.url.com/wp-admin/upload.php?page=upload.php

    The menu.php is identical to the clean install, but there may be a function somewhere else that's rewriting it. I've tried to track the error to its source, but had no luck, so I'm turning to the forums. Any help would be great!

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the Twenty Ten theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

  3. ninjaraptor
    Posted 5 years ago #

    Hey Esmi,

    Thanks for the tips - I ran through all of that and it still wasn't working, so I stripped out parts of the install piece-by-piece on my local instance until the problem went away. Turned out the previous developer had written a proprietary plugin in a file named...upload.php. Looks like somewhere along the line the menu was parsing this file as a destination, so I renamed it and problem solved.

    Caveat emptor - Don't trust other people's work!

  4. esmi
    Forum Moderator
    Posted 5 years ago #

    Amen to that! Glad to hear that you got it sorted eventually.

Topic Closed

This topic has been closed to new replies.

About this Topic