Support » Fixing WordPress » Edit Permalink function has broken Javascript

  • Resolved sempervirent

    (@sempervirent)



    I just upgraded to 3.0.4 using the automatic updater. This issue may have been occurring before that, but I haven’t tried to edit a permalink until now.

    The problem is this: the “Edit” button which allows me to change a permalink on other WP installs doesn’t work on this one installation. My JS console in Firefox shows:

    “editPermalink is not defined.”

    This basically translates to: “WordPress seems to be missing some Javascript files,” but the file containing this function (/wp-admin/js/post.dev.js/) is on the server.

    I can’t provide a link because this is an in-progress website for a nonprofit. Any ideas?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Also, the Edit button works as expected in Google Chrome.

    I have Chrome version 8.0.552.237
    And Firefox 3.6.13

    I have to say that I’m having the same issue with 3.0.4. I tried both in Chrome and FF and it doesn’t work in either. Anyone know how to fix this? I can’t publish anything till I get this sorted out.

    PS – I can work around this for now using the Quick-Edit feature and typing out the slug myself. Anyone have any clue as to why this isn’t working though? I checked my wp-admin folder and I have all the js files and they all have 644 permission.

    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.

    Thanks esmi. I will try that. This is on a live site that has quite a bit of traffic so I’m a little weary about messing with things. I’ve also been having issues with auto plugin updates via wordpress hanging on me and creating issues. 3.0.4 seems to have brought a whole set of headaches along with it 🙁

    On the problem installation, there are no plugins. I already deleted Akismet and Hello Dolly and never installed anything else.

    @sempervirent: Try adding define('CONCATENATE_SCRIPTS', false ); to the bottom of your wp-config.php file (just before the require_once line).

    Thanks Esmi, that worked. Just the kind of esoteric fix I was hoping for!

    Can you briefly explain what this does, for my benefit and for future anonymous web searchers?

    Simply amazing esmi!! Thanks so very much! Works like a charm. If I can venture a guess…does this prevent WP from appending all scripts into one group this breaking multiple scripts if one of them has a problem?

    Thanks again esmi. This is what I love about WordPress and the community! 🙂

    does this prevent WP from appending all scripts into one group

    Bingo! Some servers simply can’t handle this kind of script concatenation.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Edit Permalink function has broken Javascript’ is closed to new replies.