Forum Moderators: open

Message Too Old, No Replies

Have you seen this type of error before?

         

SaminOz

11:57 am on Jun 7, 2009 (gmt 0)

10+ Year Member



Has anyone had a situation like this before? I have loaded up a JS file which is clearly there on the server, but once loaded up index.php can't find it? It finds the others and the permissions all look the same to me (644). I can't help but think it is a permissions issue - It also can't find the css file that I loaded up. Must be something obvious?

The error message below is presented by firebug when I inspect the page.

<script src="crossFader.js" type="text/javascript" language="JavaScript">
1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
2<html><head>
3<title>404 Not Found</title>
4</head><body>
5<h1>Not Found</h1>
6<p>The requested URL /crossFader.js was not found on this server.</p>
7<p>Additionally, a 404 Not Found
8error was encountered while trying to use an ErrorDocument to handle the request.</p>
9<hr>
10<address>Apache/2.2.11 Server at www.whoswaiting.com.au Port 80</address>
11</body></html>
12
</script>

daveVk

12:32 pm on Jun 7, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Wrong directory ? Check server error log file.

SaminOz

2:01 pm on Jun 7, 2009 (gmt 0)

10+ Year Member



no that wasn't it. I have <base href=> set for a form script that I have added (that needs it). If I disable that then it it finds everything.

Any idea what might be happening with the <base> tag and how to keep it for the form script and still have my href and src attributes work?

SaminOz

2:07 pm on Jun 7, 2009 (gmt 0)

10+ Year Member



forget that last one - I've just realised why this is happening. Thanks for the orignal tip. Best, Sam.