EDIT: posted head code EDIT 2: clarification on php
I have been designing a site for weeks using JQuery. I don't have a local server or a testing server so I just created a directory through FTP, '/testing'. Everything was working great in the testing directory.
I attempted to go live tonight by moving all the files in '/testing' to the root directory and I changed all file paths and script sources accordingly. The site loads, but everything related to JQuery is non-functional. Javascript console gives errors of (just as an example from a plugin):
'$.os.name' is not a function
I'm at loss for what to do. I changed the paths referencing the JQuery library, installed a fresh copy of JQuery (to a new directory), etc.
There is a wordpress installation in a different directory '/blog'. I've read about some compatibility issues with wordpress, but that seems to be related to using JQuery inside wordpress, which I am not.
Here is the head code:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="main.css" rel="stylesheet" type="text/css">
<link href="jquery.lightbox-0.5.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="jq.browser.js"></script>
<script type="text/javascript" src="compatible.js"></script>
<script type="text/javascript" src="nav.js"></script>
<script type="text/javascript" src="jquery.lightbox-0.5.js"></script>
<script type="text/javascript">
$(function() {
$('a.lightbox').lightBox();
});
</script>
<title>Pearce Images</title>
<script type="text/javascript" src="slider.js"></script>
<link href="slider.css" rel="stylesheet" type="text/css">
</head>
It's worth noting that all the pages are in PHP. I'm not a PHP developer, I only use 1 function: require_once('some.file.php'). (sorry for no code markup, but I just can't get a handle on this markdown thing). I just use that to pull the same code for a header and footer for all the pages, that way if changes need to be made, I only have to change one chunk of code.
Your help is greatly appreciated.