WordPress.org

Ready to get started?Download WordPress

Forums

Author dropdown on post.php displays IE error, "Stop running this script?" (11 posts)

  1. dbvista
    Member
    Posted 3 years ago #

    Whenever I visit wp-admin/posts.php to post a new article, and I click the Author dropdown to try to change the author, I get an Internet Explorer error dialog:

    Stop running this script?
    A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive.

    Is this a bug?

    Note that the Author dropdown has over 700 entries in it.

    The problem does not occur in Firefox 3.6.18.

  2. dbvista
    Member
    Posted 3 years ago #

    Someone else reported this problem in 3.2 but did not get any help:

    http://wordpress.org/support/topic/cannot-edit-change-author-when-editing-blog-posts-with-word-press-324

  3. esmi
    Forum Moderator
    Posted 3 years ago #

    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 Eleven 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.

  4. dbvista
    Member
    Posted 3 years ago #

    Yes, I have done all that. The problem remains.

  5. dbvista
    Member
    Posted 3 years ago #

    The problem disappears if fewer names are in the Author dropdown.

    With about 250 names, if I click on the dropdown, then IE sits for about 3 seconds and then displays the dropdown. It gets slower as I add names and eventually the "Stop running this script" dialog starts popping up.

  6. dbvista
    Member
    Posted 3 years ago #

    Here's a possible clue...

    If I remove this line from wp-admin/admin-header.php:

    ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>',

    the problem disappears.

  7. kmessinger
    Volunteer Moderator
    Posted 3 years ago #

    Stop running this script?
    A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive.

    Not a wp problem.

    http://support.microsoft.com/kb/175500

  8. dbvista
    Member
    Posted 3 years ago #

    I'm afraid I must (respectfully) disagree. In the same browser, on a different web page, I just opened and operated a dropdown with 5000 entries. It was speedy and had no delays. In contrast, the Author dropdown on wp-admin/post.php has only 700 items and it breaks as described above.

    The appearance of the "Stop running this script" dialog is not an error. It indicates that some JavaScript has run for a long time, longer than a threshold.

    So I believe this does indeed look like a wp problem.

  9. kmessinger
    Volunteer Moderator
    Posted 3 years ago #

    A slow running script is not necessarily a bug. Running slow also is not broken. Not running or running in a loop is broken.

    You most likely would not have noticed if the browser did not say anything.

    The browser can be adjusted as to how often it polls. It has that feature because MS anticipated slooooooow scripts.

    But, here is how to report a bug if you are so inclined, http://codex.wordpress.org/Reporting_Bugs.

  10. dbvista
    Member
    Posted 3 years ago #

    You're right that a slow-running script isn't necessarily a bug, but in this case, we're talking a completely frozen browser for many seconds, even before the dialog appears. Trust me, when your browser hangs for 10 seconds, you notice. :-)

    Because of the following facts:

    1. IE displays other, much larger dropdowns (outside of wp) without any delay

    2. Firefox displays the wp Author dropdown without any delay, regardless of the number of entries

    I suspect wp has an IE-specific JavaScript bug, and I will report it. Thanks.

  11. dbvista
    Member
    Posted 3 years ago #

    This is now Trac ticket 18022.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.