• I’m actually using version 2.8.5, but that’s not yet an option in the version pulldown as I create this post.

    When I use the built-in plugin editor to make changes to a plugin, I click the button to “Update File” and with some files I get a “page not found” error and my changes don’t get saved. The URL showing when this happens is https://myurl/wp-admin/plugin-editor.php. When it works, its more like https://myurl/wp-admin/plugin-editor.php?file=akismet/readme.txt&plugin=akismet/akismet.php. So for some reason those extra parameters aren’t getting appended to the URL in some cases

    I did a test on a few files by just trying to add some text to a comment line and don’t see any pattern to why some files are editable and others aren’t. All files have the same ownership and permissions.

    Akismet plugin:
    readme.txt – editable
    askismet.php – not editable

    Lightbox2:
    readme.txt – editable
    lightbox2.php – not editable
    options.php – editable
    lighbox.js – not editable

    Anyone know why that might be happening?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Assign 766 recursive permissions to wp-content directory from SSH. If you do not have an access of SSH then contact your hosting service provider to grant the permissions.

    Thanks,

    Shane G.

    Thread Starter limekiller

    (@limekiller)

    Good suggestion, but that didn’t fix it. The files look to be editable. By which I mean the “update file” button is visible. All files have 644 permissions, folders have 755. I changed akismet.php to 766, edited a comment, clicked “update file”, and it got a 404 page not found error. I go back to my plugin editor and see that my change wasn’t made. I don’t have SSH capability, so I only tried that single file. Do I need to change the folder to something else? I should reiterate that all those files in my original post have the same permissions, yet some throw the error and some don’t.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin Editor fails to save changes’ is closed to new replies.