Results 1 to 2 of 2

Thread: Script not working after moving site.

  1. #1
    Join Date
    Feb 2007
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Script not working after moving site.

    1) Script Title: Flexi Slideshow

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

    3) Describe problem:

    I have had to move the site from one server to another and now the script isn't working. I haven't changed the nameservers yet, could that be why? I didn't think this would cause a script not to work as I have another script that IS working.

    To get to the site, the url is: http://70.86.235.2/~damaxken/index.html

    Can anyone help?

  2. #2
    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 could be the problem, yes. These things affect different code in different ways. It is the path to files (image files in this case) that is important.

    The way you have the script configured:

    Code:
    variableslide[0]=['/images/slide1.jpg', '', '']
    variableslide[1]=['/images/slide2.jpg', '', '']
    variableslide[2]=['/images/slide3.jpg', '', '']
    variableslide[3]=['/images/slide4.jpg', '', '']
    variableslide[4]=['/images/slide5.jpg', '', '']
    It expects to see the images here:

    Code:
    http://70.86.235.2/images/slide#.jpg
    But, they are really here:

    Code:
    http://70.86.235.2/~damaxken/images/slide#.jpg
    You could change your code to:

    Code:
    variableslide[0]=['images/slide1.jpg', '', '']
    variableslide[1]=['images/slide2.jpg', '', '']
    variableslide[2]=['images/slide3.jpg', '', '']
    variableslide[3]=['images/slide4.jpg', '', '']
    variableslide[4]=['images/slide5.jpg', '', '']
    Or, you could use the absolute path to the images, ex:

    Code:
    variableslide[1]=['http://70.86.235.2/~damaxken/images/slide2.jpg', '', '']
    Once you have a DNS, depending upon how the paths work out, you might be able to go back to your old code.
    - John
    ________________________

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

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
  •