Possible script error
  • My web logs show a repeating error when users access my site. I get the message, "71.71.243.219 tried to load www.garydarling.net/photos/libraries/themes/dark/". The IP address changes obviously, but I'm having trouble tracing the source.

    My thinking is there is a script buried somewhere in the code, probably in the /libraries subfolder, that is making a call to the /themes folder without providing the ROOT variable or a"../" first. When a user clicks something in the site that calls this script, I get an error log entry. I have no idea what the user sees at that point, but I'm assuming it's transparent to them as the theme is already loaded. In fact, I can cause the error message from my own IP address, and I see no hiccups.

    Any ideas what is doing this?
  • thanks gary, i'll check on that issue and be back to you.
  • This might help; the trail leading to the 404 error (these appear to be in sequential order):

     /photos/index.php
    Http Code: 200 Date: Jun 18 13:48:05
    Http Version: HTTP/1.1 Size in Bytes: 7331
    Referer: http://www.garydarling.net/
    Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
    .NET CLR 1.1.4322; .NET CLR 2.0.50727)


    /photos/libraries/script.loader.php?load=init
    Http Code: 200 Date: Jun 18 13:48:06
    Http Version: HTTP/1.1 Size in Bytes: 5760
    Referer: http://www.garydarling.net/photos/index.php
    Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
    .NET CLR 1.1.4322; .NET CLR 2.0.50727)


    /photos/libraries/script.loader.php?load=gallery
    Http Code: 200 Date: Jun 18 13:48:06
    Http Version: HTTP/1.1 Size in Bytes: 17928
    Referer: http://www.garydarling.net/photos/index.php
    Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
    .NET CLR 1.1.4322; .NET CLR 2.0.50727)


    /photos/libraries/themes/dark/
    [b]Http Code: 404[/b] Date: Jun 18 13:48:07
    Http Version: HTTP/1.1 Size in Bytes: 5433
    Referer: http://www.garydarling.net/photos/index.php
    Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
    .NET CLR 1.1.4322; .NET CLR 2.0.50727)


    /photos/libraries/ajax.gateway.php?cpaint_function=get_galleries
    &cpaint_response_type=TEXT
    Http Code: 200 Date: Jun 18 13:48:07
    Http Version: HTTP/1.1 Size in Bytes: 111
    Referer: http://www.garydarling.net/photos/index.php
    Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
    .NET CLR 1.1.4322; .NET CLR 2.0.50727)