• Resolved taliesin1077

    (@taliesin1077)


    Ok, I posted a similar issue regarding specifically AJAXed WordPress, but the problem does not appear to be restricted to that installation. Here’s the setup:

    I have an installation of WordPress that I’ve been upgrading on for a couple years now. I’ve had many plugins and many themes installed on this wordpress. It’s even migrated to another server in that time.

    WP Ajax Edit Comments and AJAXed WordPress do not work correctly on this installation. I’ve configured the plugins correctly, etc. I thought it was a problem with the plugins, as unlikely as that may seem, since I thought I was doing everything correctly. I no longer think it’s a problem with the plugins.

    I have a second installation of WordPress installed on the same server. (Different database, different subdomain of my main domain….sifferent directory, etc.) This one was installed with 2.5.0 and has only been upgraded to 2.5.1, and only has 1 plugin installed. (Event Calendar).

    I installed both of the non-functional plugins into the newer installation, configured them, and they both work perfectly!

    So my question is thus: What could be screwed up in an installation of WordPress that would cause JavaScript to not function correctly with various plugins? The Admin panel works fine.

    I have taken the entire /wp-includes/js/ directory and subdirectories from the new, working installation, and copied it over the non-functional one. Same problems. I do not have a /wp-content/cache directory to empty. Anyone else have any other suggestions?

    edit: Also, in an effort to determine what could be causing this, I reverted back to the default theme, and completely deactivated all my plugins, except WP Ajax Edit Comments. As far as I can tell, it’s not a plugin conflict or a theme problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter taliesin1077

    (@taliesin1077)

    I was finally able to get FireBug downloaded. (The mozilla addon site was down for awhile.)

    This is the error that is being thrown on the WP Ajax Edit Comments plugin. Does this tell anyone anything about my installation that would cause problems? Again, the plugins work on another installation of WordPress. but not my primary one:

    [Exception... "'Permission denied to get property Window.tb_remove' when calling method: [nsIDOMEventListener::handleEvent]"  nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)"  location: "<unknown>"  data: no]
    
    Line 0
    Thread Starter taliesin1077

    (@taliesin1077)

    Ok. Another of the plugins provided me with a more informative error message.

    It turns out that since my blog address was a different domain from my wordpress installation, the AJAX was having a problem loading the external domain address.

    As to why I had a different domain set in the control panel, I have no idea. This was something that was set differently than my actual subdomain when I originally installed it a couple years ago. I just kept the status quo every time I upgraded.

    I changed the addresses to be the same, and AJAX started working. Just a heads up to anyone who might be experiencing that same problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JavaScript in various plugins not working in one WP installation…’ is closed to new replies.