Results 1 to 5 of 5

Thread: Ultimate Fade in Slideshow works in development not in production

  1. #1
    Join Date
    Jan 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade in Slideshow works in development not in production

    1) Script Title: Ultimate Fade-in slideshow (v2.4)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.htm

    3) Describe problem: Script works fine in local development using MAMP on Mac with OSX Mountain Lion. However, when I upload to hosted server, I get nothing. I was doing my local previews with the same browser that is having the problem, FireFox 18.0. All files were uploaded.

    url for problem: www.lillyconstructioninc.com/preview/index.php

    Thanks for any help!

    Catherine

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Just for the sake of troubleshooting, try putting the contents of the gallery.js file back into the body of the web page and set all paths to images/js/CSS as absolute.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    That's sort of the right idea Beverleyh, but the wrong path, at least for the slideshow images.

    There could also be other problems, but the images:

    Code:
    ["../img/slides/aggregate.jpg", "", "", "", ""],
    ["../img/slides/welding.jpg", "", "", "",""],
    ["../img/slides/dozer.jpg", "", "", "", ""]
    are all 404 Not Found. The correct paths are:

    Code:
    ["img/slides/aggregate.jpg", "", "", "", ""],
    ["img/slides/welding.jpg", "", "", "",""],
    ["img/slides/dozer.jpg", "", "", "", ""]
    It can be confusing. Using the relative path in an external script like that, the paths are relative to the page that the images are to appear on, not to the script. When in doubt, one may always use the absolute path:

    Code:
    ["http://www.lillyconstructioninc.com/preview/img/slides/aggregate.jpg", "", "", "", ""],
    ["http://www.lillyconstructioninc.com/preview/img/slides/welding.jpg", "", "", "",""],
    ["http://www.lillyconstructioninc.com/preview/img/slides/dozer.jpg", "", "", "", ""]
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Jan 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks, John - the path was exactly what caused my problem. I do understand the issue of relative paths, but I never thought to look at that because it was working on my local development server. Any idea why it would have worked locally? Just pondering and aiming for deeper understanding. Meanwhile, problem fixed and I am moving on. Love the script, by the way!
    Catherine

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    If it worked on the local server, the paths were correct on the local server. Either there were copies of the images in the mistaken path or the folder structure was simply correct on the local server. When things got transferred to the live server, either the folder structure changed or the copies of the images that were in the correct path weren't brought along.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Ultimate Fade-in slideshow (v2.0) 2.4 works locally but not on server
    By mblohowiak in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 04-13-2012, 03:04 PM
  2. Ultimate Fade-in Slideshow 2.4 works on IE but not chrome, FF or safari
    By Orionburst in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 02-27-2012, 04:20 PM
  3. Ultimate Fade-In works locally, but not on production server
    By dianagard in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 08-01-2011, 06:10 PM
  4. Ultimate Fade In Slideshow v2.0 Only works offline
    By peanutville in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 05-10-2010, 10:05 PM
  5. Ultimate Fade-in slideshow Preview works, upload doesn't
    By Dragonfly9 in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 06-25-2009, 06:00 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •