Support » Plugin: PageSpeed Ninja » 404 Not Found on minified scripts

  • Resolved Liam McArthur

    (@liammcarthur)



    I previously closed this ticket but have decided to re-open it as I’m getting the same problem again. I’m using the PHP method to minify my scripts but I’m still getting strange 404 errors for scripts that don’t exist, but all of my Javascript has been imported into the other scripts that so it seems that your plugin is trying to fetch another file that isn’t even required or exists.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Denis Ryabov

    (@dryabov)

    Do you use Apache or Nginx webserver? Do settings of your webserver allow to run PHP scripts in s directory (in the document root of the website)? Is there related message in webserver’s error_log file?

    Liam McArthur

    (@liammcarthur)

    We’re using an Apache webserver and there isn’t anything to prevent PHP files running in this directory. The entire website is actually working fine, it’s just trying to load /s/d18b37.js – which doesn’t even exist.

    It’s throwing this error in my error.log file:

    [13-Feb-2018 09:26:59 UTC] Catched error in Ressio_JsCombiner::combine: File /home/user/domain.co.uk/s/d18b37.js not found. [in file: /s/d18b37.js]

    Plugin Author Denis Ryabov

    (@dryabov)

    Could you try to disable “Load external files” option in the “Leverage browser caching” section of Advanced tab on PageSpeed Ninja settings page?

    Liam McArthur

    (@liammcarthur)

    Something I’ve changed appears to have fixed the issue since posting. I’ve checked the “Load external files” setting and that is still enabled, so I’m not sure which setting corrected the issue, but it’s working now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘404 Not Found on minified scripts’ is closed to new replies.