Topic: SV won't load on my site - Please advise

I created an SV gallery locally and it works fine on my computer.  After uploading the SV gallery folder to my website, I was getting a “gallery xml not found” error.  I found this advice on the forum: http://www.simpleviewer.net/forum/viewt … p?id=15823 and updated my index.htm (called “DesignThumbs.html”) with the code below where my “SV_BaxaDesign “ is the name of my Gallery Folder. 

Now I no longer get the error message, and the “DesignThumbs.html” page loads (http://www.baxaart.com/portfolio/Design … humbs.html), showing my “you need flash to view this” message, BUT THE SIMPLE VIEWER GALLERY WILL NOT LOAD.    See embed code below. (I am not versed in Javascript, only html)  Please help me!  Thanks, Tom

    <!--START SIMPLEVIEWER EMBED -->
    <script type="text/javascript" src="SV_BaxaDesign/svcore/js/simpleviewer.js"></script>
    <script type="text/javascript">
    var flashvars={};
    flashvars.baseURL="SV_BaxaDesign/";
    simpleviewer.ready(function () {
        simpleviewer.load('sv-container', '100%', '100%', '333333', true, flashvars);
    });
    </script>
    <div id="sv-container"></div>
    <!--END SIMPLEVIEWER EMBED -->

Re: SV won't load on my site - Please advise

Your gallery's 'simpleviewer.js' file is not located at: http://www.baxaart.com/portfolio/Design … eviewer.js (as defined in your ewmbedding code).
Going directly to that location in a browser results in an error 404 (file not found).
Instead, it is located here: http://www.baxaart.com/portfolio/Design … eviewer.js
So change:

<script type="text/javascript" src="SV_BaxaDesign/svcore/js/simpleviewer.js"></script>

... to:

<script type="text/javascript" src="svcore/js/simpleviewer.js"></script>

It also looks like you may need to remove the baseURL from your embedding code unless your gallery is, indeed, located in this folder: http://www.baxaart.com/portfolio/Design … axaDesign/

Steven Speirs
SimpleViewer Support Team.

Re: SV won't load on my site - Please advise

Thanks for the speedy response!  I changed my embed code back to the way it was generated by SV, and removed the flashvars.  Here’s the code.

    <!--START SIMPLEVIEWER EMBED -->
    <script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
    <script type="text/javascript">
    simpleviewer.ready(function () {
        simpleviewer.load(“sv-container”, “100%”, “100%”, “673456”, true);
    });
    </script>
    <div id="sv-container"></div>
    <!--END SIMPLEVIEWER EMBED -->

What appears to be happening is that the Simple Viewer loads, but all I can see is the solid background color of hex #673456 as indicated in the code.  Nothing else.

I’m using IE9 and Flash is up to date.  In Firefox, the background color of hex #673456 appears and I get the “gallery xml not found” error.  What’s happening?  Why aren’t the thumbs and images or anything showing up? 

Thanks so much for your help - Tom

Re: SV won't load on my site - Please advise

By default, SimpleViewer looks for an XML file named 'gallery.xml' in the same directory as the HTML document containing the embedding code.
Going to http://www.baxaart.com/portfolio/Design … allery.xml in a browser, it looks like you have a 'gallery.xml' page there (no error 404) but it looks to be completely empty. Try re-uploading it in case something happened to it during the initial upload.

Steven Speirs
SimpleViewer Support Team.

Re: SV won't load on my site - Please advise

I tested the ‘gallery.xml’ file locally on my computer and it works fine.  I looked at it in Microsoft Frontpage html editor, and it’s full of code.  The ‘gallery.xml’ file is indeed in the same directory as the HTML document containing the embedding code, both locally and on my website server. 

I re-uploaded it (even though I’ve done that many times in my earlier testing) and nothing has changed.  The uploaded ‘gallery.xml’ file shows to be the same size as my local copy (10,655kb).  And I downloaded it to another location on my hard drive, and it seems fine.  Any other ideas?

Re: SV won't load on my site - Please advise

The problem is certainly with your 'gallery.xml' file.
Try opening it directly in a browser: http://www.baxaart.com/portfolio/Design … allery.xml
You will see a blank page.
It should look something like this one: http://www.simpleviewer.net/simpleviewe … allery.xml
If you are sure it has been uploaded to the correct location and that it is the correct file size on your web server, then perhaps your web host can help further as it looks to be a 0-byte file as far as browsers are concerned.

Edit: I have just tried opening your 'gallery.xml' file in Google Chrome 20 and received the following error message:

Server error
The website encountered an error while retrieving http://www.baxaart.com/portfolio/Design … allery.xml. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

I would contact your web host and ask them to look into the problem for you.

Steven Speirs
SimpleViewer Support Team.