Okay
  Public Ticket #263161
Runaway jackbox.js calls
Closed

Comments

  • Clint started the conversation

    My site is making over 50,000 calls to the following URL:

    http://www.protoolreviews.com/wp-content/themes/po...

    I did some digging and found that this is being created by the 

    wp-content/themes/powermag/inc/jackbox/js/jackbox.js file. 

    Why this is being generated this way? 

    This is the line that\'s doing it:

    <code>$.getJSON(preloaderUrl + "?jackbox_path=" + graphicsPath, jsonLoaded);
    

    It doesn't look like it's even calling an image, just the path to the images.

    I'd like to remedy this, but I'm not certain if this code is required or necessary.

  •  93
    djwd replied

    HI there,

    That's a line from the included lightbox plugin Jackbox, I need to do some tests about it on my installs as I didn't notice the calls. I'm pretty sure that line could be safely removed, however, if you do rely on other solutions for images preview, you can fully disable jackbox plugin from the theme options and the jackbox.js file won't be loaded at all.

    Regards
    djwd

    Regards
    djwd

  • Clint replied

    Just an update. I disabled Jackbox in the theme options and am still seeing around 45,000 calls to the following URL:

    www.protoolreviews.com/wp-content/themes/powermag/inc/jackbox/php/graphics.php?jackbox_path=/wp-content/themes/powermag/inc/jackbox/img/graphics/

    Any ideas on how to remedy this? It's actually being counted as traffic from my hosting provider and is the second "most popular" URL accessed on my site.

    I'm at a loss as how to troubleshoot it further. Perhaps this is something visible in others' logs as well and not limited to my install.

  •  93
    djwd replied

    Hi there,

    Actually I'm having a hard time understanding how could this be possible if you disabled the option. The file is called from jackbox-for-powermag.js, but disabling the option prevents it to be enqueued at all.

    You could give it a try by manually remove line 319 in functions.php

    Next step would be to completely delete/rename the inc/jackbox folder since you're not using it.

    Regards
    djwd

    Regards
    djwd