Home › Forums › JavaScript › JavaScript works on local not on live server
- This topic is empty.
-
AuthorPosts
-
August 27, 2012 at 4:32 pm #39534aoeuiParticipant
js works fine on my local apache
once I copy it to live server it get screwedserious help needed as this never happened to me !
what could cause this ?August 27, 2012 at 4:35 pm #108551aoeuiParticipanthere is my web
http://daniel-hanka.cz/screenshots to compare as I see it
August 27, 2012 at 4:46 pm #108552stinkyboomboomParticipantDo you see these JS errors in your console?
Failed to load resource: the server responded with a status of 404 (Not Found) http://daniel-hanka.cz/js/jquery.scrollTo-min.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://daniel-hanka.cz/js/jquery.krioImageLoader.js
Uncaught TypeError: Object [object Object] has no method 'krioImageLoader' main.js:3August 27, 2012 at 6:06 pm #108556VermaasParticipantThe location of the JS is not correct. Use the absolute URL to the files and everything will work fine (I guess).
August 28, 2012 at 2:57 am #108587aoeuiParticipanthi guys, I tried both
nothing worked for meinstead of long post here I made a video – 04:15
where I explain and show what it does and does not dono fear :)
I speak English, use quality microphone, so the audio is good and video is in HDAugust 28, 2012 at 4:03 am #108592aoeuiParticipantproblem solved guys … http://daniel-hanka.cz/
example1.js
example2.js
example3.JS
example4.JS
example5.jsproblem was that Windows is fine with upper / lowercase mixed letter
on the hosting is linux running it which settings were case sensitive and for some silly reason I had those 2 files with uppercase .JS at the and of the file namesput lowercase works fine now
August 28, 2012 at 7:24 pm #108627VermaasParticipantIt’s always those tiny mistakes that makes debugging a very annoying job… Happy you found it! Nice website btw!
August 29, 2012 at 1:20 am #108663aoeuiParticipant@vermaas
only if it was my work
this is mere ThemeForest bought theme adjusted for my needsAugust 29, 2012 at 3:08 am #108677VermaasParticipant@krysak4ever: Then I’ll make it: Nicely picked theme ;)!
August 29, 2012 at 4:04 am #108683aoeuiParticipantit is silly though :)
I do make websites but when it comes to my very own wedding (that guy there is me)
I am so busy at work that I have to buy a theme to get at least something up and running for the guests as info web -
AuthorPosts
- The forum ‘JavaScript’ is closed to new topics and replies.