Not Solved [JavaScript] Weird 404 error in headerinclude
Not Solved
In the headerinclude template, there are these two lines:

var spinner_image = "{$theme['imgdir']}/spinner.gif";
var spinner = "<img src='" + spinner_image +"' alt='' />";

I'm assuming spinner will have the spinner_image string appended to itself.

However in my 404 logs I have multiple errors with the URI: /forums/%22%20+%20spinner_image%20+%22. And that's literally

forums/ " + spinner_image +"
so i have changed my headerinclude template to:

var spinner_image = "{$theme['imgdir']}/spinner.gif";
var spinner = "<img src='{$theme['imgdir']}/spinner.gif' alt='' />";

This forum also has the same javascript code, can the admins here check the logs and see if they get similiar 404 errors?

Not entirely sure what this spinner var is supposed to do. Everything works AFAICT?

Forum Jump:

Users browsing this thread: 1 Guest(s)