• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 450
  • Last Modified:

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

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.

Ryan Bayne
Ryan Bayne
  • 2
1 Solution
Michel PlungjanIT ExpertCommented:
First off I get

Error: BackgroundSlider is not defined
Source File: http://www.exhibition-vision.co.uk/ajax_gallery/slideshow/slideshow.js
Line: 81
Michel PlungjanIT ExpertCommented:
and here is why:

<title>404 Not Found</title>
<h1>Not Found</h1>
<p>The requested URL /ajax_gallery/utils/backgroundslider.js was not found on this server.</p>
<address>Apache/2 Server at www.exhibition-vision.co.uk Port 80</address>

Open in new window

Ryan BayneWordPress DeveloperAuthor Commented:
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.


Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now