Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lightbox works locally but not when uploaded to the server

I'm having a problem. I'm using jquery.lightbox-0.5 to display images and everything works fine on my local machine. However, as soon as I upload to my server it doesn't work.

Anyone come across this?

As far as I can tell it's not a capitalisation issue.

I'd be grateful if someone would be able to have a look!

The site is: http://greendeco.ca/gallery.html

like image 922
LAntics Avatar asked Dec 02 '25 06:12

LAntics


1 Answers

always try to use firebug excellent tool which can tell you the error right way.

if you are not using , please start using it.

You are getting the following error

$ is not defined
[Break On This Error] $(function() { 

that means jquery is not included properly ,

this is the error when i try to acess jquery on your page

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /jquery-lightbox-0.5/js/jquery.js
on this server.</p>
<hr>
<address>Apache/2.0.54 Server at greendeco.ca Port 80</address>
</body></html>
like image 158
kobe Avatar answered Dec 04 '25 21:12

kobe