Results 1 to 5 of 5

Thread: Thumbnailviewer2.js not working

  1. #1
    Join Date
    Feb 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thumbnailviewer2.js not working

    Hi,

    I too have this problem, I created a site for a friend and used this gallery setup which has now stopped working??.

    It still works if I run the file locally on my own machine which is more confusing.

    I tried the fixes that were suggested but these didn't seem to do anyting.

    I applied the fix to this page:
    http://www.margobanks.com/paintings_1.html

    Other pages have been left the way they were when It was working before.

    Any suggestions would be much appreciated.

    Last edited by jscheuer1; 02-15-2009 at 01:26 PM. Reason: moved from existing thread

  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

    Generally it is best to start a new thread for a new question, even if you think you have the same question.

    In any case, the situation here is different. Your pages aren't working in any browsers, the thread you posted to was about the script not working only in IE.

    When I try to view the scripts involved on your pages I get a 403 Forbidden for the thumbnailviewer2.js file. This means that the permissions for the file:

    http://www.margobanks.com/Scripts/thumbnailviewer2.js

    and/or the folder:

    http://www.margobanks.com/Scripts/

    are not set properly. Use your FTP program or whatever it is that you use to manage the site, to make sure that the permissions are set properly for general access to that folder and that file. If you need help with that, contact the host.

    There could also be other problems.
    - John
    ________________________

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

  3. #3
    Join Date
    Feb 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi,

    Apologies for adding to the thread, I only realised after that it was closed and that I should've posted a new thread more on topic.

    Thanks for your reply. I have checked the permissions on all the relevant files and folders both through my ftp program and Cpanel.
    It all seems to be correct. but I still get the 403 forbidden error

    I had contacted the service provider initially, they assured me that nothing has changed on the server. I find this strange as I haven't changed anything on this site until now.
    I've contacted them again regarding the issue.

    I'll keep you posted.

    Any more suggestions would be appreciated.

  4. #4
    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

    The script is working/accessible now. The current problem appears to be that:

    Code:
    http://www.margobanks.com/Scripts/images/paintings/Painting2_1.jpg
    and similar are 404 not found. Either they are not on the server, or if they are, they are in a different location, or there is a disagreement in the upper and lower case of the path and/or filename. Remember, upper and lower case almost always matter on the web, usually not on the local machine.
    - John
    ________________________

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

  5. #5
    Join Date
    Feb 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up

    jscheuer1 thanks for your continuing help on this subject.

    I changed all filenames to lowercase (school boy mistake there)
    This still had no effect so I decided to put the Javascript into each page, this has worked and would logically point to the fact that something is blocking access to the .js file.

    Now I just need to get the hosting company to acknowledge that somehting might have indeed happened on this server to block access to any .js file (I tried a different filename).

    One plus I suppose is the server is doing all the charset conversion to avoid the IE bug.

    Thanks for your help again.

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
  •