Solved

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

Posted on 2009-04-09
3
442 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article discusses how to create an extensible mechanism for linked drop downs.
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…

734 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