Solved

Javascript works local but not on server, any reasons why this might be?

Posted on 2009-04-09
3
439 Views
Last Modified: 2012-05-06
Hiya all

Right this page here http://www.exhibition-vision.co.uk/?page=home_test is meant to display an Ajax slideshow but the main image is blank.

Works locally however and I've uploading and downloaded the whole website to ensure the files match. All I can think is that its my hosting, is that possible?

If someone could look at the errors and give me advice that would be great. I've not done enough JS to really get this working myself without tears.

Thanks
Ryan
0
Comment
Question by:Ryan Bayne
  • 2
3 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 24106185
First off I get

Error: BackgroundSlider is not defined
Source File: http://www.exhibition-vision.co.uk/ajax_gallery/slideshow/slideshow.js
Line: 81
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 125 total points
ID: 24106193
and here is why:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<html><head>

<title>404 Not Found</title>

</head><body>

<h1>Not Found</h1>

<p>The requested URL /ajax_gallery/utils/backgroundslider.js was not found on this server.</p>

<hr>

<address>Apache/2 Server at www.exhibition-vision.co.uk Port 80</address>

</body></html>

Open in new window

0
 
LVL 2

Author Comment

by:Ryan Bayne
ID: 24108042
Jeaze it was a spelling mistake! I need to setup my localhost to behave the same way as this is what made me think it was basically caused by hosting.

cheers
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now