WordPress.org

Ready to get started?Download WordPress

Forums

BUG: JQuery + WordPress 2.8 Render Many Dashboard Features Useless (10 posts)

  1. toddwshaffer
    Member
    Posted 5 years ago #

    Luckily I'm one of the individuals that upgrades non-production blogs before upgrading my clients and my own production wordpress installations. Right now the majority of any JQuery enabled features within the dashboard are broken.

    This means all AJAX enabled submission (updating tags, adding categories) and functionality (lightbox/thickbox, etc) is reporting errors. This is across all three major browsers Firefox, IE, and Chrome.

    I am not looking for community support, I'm looking for Automattic developers to acknowledge and release a fix. Uninstalling and reinstalling 30+ production installations with all of their individual plugins and settings is not a realistic answer.

    Please Advise.

  2. Samuel B
    moderator
    Posted 5 years ago #

    I am not looking for community support, I'm looking for Automattic developers to acknowledge and release a fix

    why do you think a fix is required - I have so far upgrade 12 blogs without problems - for sure nothing like yours.

  3. Andrew Ozz
    WordPress Dev
    Posted 5 years ago #

    @toddwshaffer if you look at the html code do you see the closing </body></html> tags or it stops before finishing?

  4. MooseToga
    Member
    Posted 5 years ago #

    I've encountered the same exact issue on one of the three blogs I've upgraded. Unfortunately the client actually did the upgrade and didn't bother to back things up (never should have given him admin privs), so I'm hoping to find a fix soon.

  5. GimpArm
    Member
    Posted 5 years ago #

    The plugin I wrote, all calls like
    jQuery.ajax({ url:"admin-ajax.php", action:"myplugin_update", success:onReturn, error:onError });

    The ajax request is sent, the server receives it and process it but the onReturn or onError functions are never triggered. This worked fine in 2.7 and I can't find a reason why it stopped nor can I find out why.

  6. Andrew Ozz
    WordPress Dev
    Posted 5 years ago #

    @GimpArm perhaps this will help: http://docs.jquery.com/Ajax/jQuery.ajax#examples

    There's no "action" in the $.ajax() settings and you're missing the "data" part.

  7. WraithKenny
    Member
    Posted 5 years ago #

    I've had this problem and it plagued me for since the update. It has an easy fix for me tho, I set the server memory allocation for php higher. The error was occuring with various files, index-extra.php (which called ?jax=dashboard_primary etc.), the editor, and the general tab. Turning off high memory plugins works too, but allocating more memory is better. Hope this fixes your issue as well.

    BTW, if your hosted at mosso/rackspace cloud, the default memory is 32MB, but its very easy (and free) to up that to 64MB. Just add "php_value memory_limit 64M" to your htaccess file.

  8. WraithKenny
    Member
    Posted 5 years ago #

    or I found this in another thread

    define('WP_MEMORY_LIMIT', '64M');

    put that in the config file.

  9. WraithKenny
    Member
    Posted 5 years ago #

    the above doesn't work for me :( , but the htaccess code does :)

  10. Heirem
    Member
    Posted 4 years ago #

    WordPress 2.8 includes a concatenation of scripts and CSS. This puts the quality of these scripts at a higher level than before.

    The temporary solution is to place it in the wp-config.php one of these two values :
    define('CONCATENATE_SCRIPTS', false );
    or
    define('SCRIPT_DEBUG', true);

    I also invite you to read the header of wp-includes\script-loader.php

Topic Closed

This topic has been closed to new replies.

About this Topic