Solved

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

Posted on 2009-04-09
3
438 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
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…

743 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

11 Experts available now in Live!

Get 1:1 Help Now