Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter gajannk

    (@gajannk)

    I would like to say the plugin I use to replace media is called: Enable Media Replace.. I don’t know if they don’t support your plugin or the other way around..?

    Plugin Author David Lingren

    (@dglingren)

    I downloaded and installed Enable Media Replace Version 2.9.3, by Mans Jonasson. It works fine on my test system; I was able to replace one JPG image with another and did not get any error messages of the type you report. I tested this from the “Replace Media/Upload a new file” button on the Edit Media screen as well as the “Replace media” link on the Media/Library screen.

    MLA does not have any interaction with the Enable Media Replacement plugin that I know of. Note, for example, that the “Replace media” link does not appear in the rollover actions of the Media/Assistant screen.

    The “You do not have sufficient privileges to access this page.” message has nothing to do with file/folder permissions. It is issued when a user does not have the right WordPress Role or Capabilities to perform the action requested, or when the request does not appear to come from a source WordPress considers legitimate.

    If you are logged in with an Administrator-level account and getting this error, there may be a problem with the plugin. There is a check_admin_referer call in the EMR plugin code that would give you the error if the check failed.

    You could try disabling the Media Library Assistant plugin and see if the problem still occurs. If so, it is an issue with the Enable Media Replace plugin. If the problem only happens when MLA is enabled, let me know and I will investigate further.

    I will leave this issue unresolved until I hear back from you. Thanks for your interest and for your understanding.

    Thread Starter gajannk

    (@gajannk)

    Hi David..

    Thanks for ur reply.. I have disabled the MLA plugin and used the build in libary in WordPress, the replace works. Its only when i use MLA and wants to replace the error appears.. But the wierd part is, i have another site where both MLA and Replace is installed, its working there.. Its only on this site where is not working.. The url for the site is https://www.easj.dk

    Thanks..

    /Gajan

    Thread Starter gajannk

    (@gajannk)

    Hi David

    I think i have found the problem..

    When i have unchecked the

    Display Media/Library
    Check/uncheck this option to display/remove the WordPress Media/Library submenu entry.

    the replace does not work, but when its “checked” it works..

    Plugin Author David Lingren

    (@dglingren)

    Thank you for this update and for taking the time to do some excellent detective work! I was able to reproduce and analyze the problem by unchecking the “Display Media/Library” option as you suggested.

    The Enable Media Replace plugin requires the Media/Library submenu (and its associated upload.php file) as the parent of the plugin’s “Replace Media Upload” screen. If you uncheck the “Display Media/Library” option this submenu is no longer available and the plugin cannot function.

    I cannot think of any way to solve this problem without the possibility of some other, worse side effect. If you want to use Enable Media Replace you will have to leave the Media/Library submenu active (i.e. leave the “Display Media/Library” option checked).

    You can change the “Submenu Order” of the Media/Assistant submenu to a value between 1 and 4 to move it up to the top of the Media menu. It will then become the default submenu and be displayed when you click the “Media” menu entry.

    I will clarify the documentation in my next version to warn others about this potential conflict. Thanks again for all you good work and your interest in the plugin.

    Thread Starter gajannk

    (@gajannk)

    Hi David

    Sorry for my late respons.. Im sad to hear that i cannot disable the WordPress media and use yours. Your plugin is the best.. ?? but as you mentioned i have to work around it.. Thanks for your help…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘replace media error’ is closed to new replies.