• I recently moved my WP site to e new server. Now, every time i open the main page, the progress indicator of the browser keep running end running like never end.
    Seems that a script is still in progress even though the page is loaded completely.
    I don’t know how to check which script (of a plugin perhaps) is not finished on having and never end looping error.
    Please advise.
    env.asean.org

Viewing 4 replies - 1 through 4 (of 4 total)
  • Depending on your browser there’s a few tools that can help. IE (version 9 at least) and Chrome have their own built-in consoles, and FireFox has FireBug for the same thing. To get to each of those you hit F12 and you’ll see the console window pop up. The terminolog is slighly different on each, but you’ll need to find a tab that’s “Network” or “Net”. That will show you the individual file requests that have been made by that page along with how long they have taken to download. That wil qucikyl show you what isn’t being loaded correctly.

    Most times this is releated to some sort of external JavaScript library file that is either not available, or not set up the right way.

    Thread Starter manthono

    (@manthono)

    Thank you Michael.
    I did what you suggested and finally found what plugin cause lots of errors. When I deactivated it, the running progress indicator stopped.
    Since I really need the plugin, now I need to figure out how to overcome the plugin error. The plugin was perfectly fine before, btw.
    Do you think it will be possible by limiting the allocation of time for the php execution?

    P.S : the plugin called YSlider, a news slider like on Yahoo homepage.

    Thank you very much for your help.

    It is possible. By default PHP scripts are run with a 30-second timer attached to them. You can change or remove this in yoru code by using the set_time_limit() function, so if it’s a PHP processing error, this is what the plugin would be doing. You didn’t say what actual file/process was causing the problems, so it’s very hard to say if there’s anything that can be done.

    Thread Starter manthono

    (@manthono)

    This two processes take really long time and seems never end.
    It might be right like what you said that it’s related to jquerry problem.

    on chrome browser, the errors were this:

    show_image.php /wp-content/plugins/yslider
    method: GET
    Tyep: image/png
    Inititator: jquery.js:2 Script

    show_image.php
    /wp-content/plugins/yslider
    method: GET
    Tyep: image/png
    Inititator: jquery.accessible-news-slider.js:65

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Never-ending running script’ is closed to new replies.