Page 1 of 1
Simpleviewer Problem
Posted: Fri Mar 17, 2006 9:46 pm
by kevin christi
I realized I accidentally posted in another simpleviewer topicĀ so I started a new one please forgive....
Greetings:
Please forgive me as I am a newbie........
I have a working version of Simple Viewer installed via xampp on a Windows machine. Feeling confident from this I installed on my CMSMS install on my webpage....and doesn't work. I get a page with no images.
From what I can tell the .simpleviewer.xml and the .thumbs folder do not appear on my webpage version (in the folder containing the created gallery) but they do on my xampp machine. I was told by someone it is because the system is unix and files begininning with a period (.simpleviewer.xml will not work. I have limited Unix knowledge so if anyone could give me assistance I would be most appreciative!!
Re: Simpleviewer Problem
Posted: Fri Mar 24, 2006 10:57 am
by viv
kevin christi wrote:
the folder containing the created gallery) but they do on my xampp machine. I was told by someone it is because the system is unix and files begininning with a period (.simpleviewer.xml will not work. I have limited Unix knowledge so if anyone could give me assistance I would be most appreciative!!
I've just been struggling with this myself. Eventually tried it out in Firefox browser and it works. so there seems to be some incompatibility with Internet explorer. Now, I need to find out how to get the images displaying at their correct size instead of tiny wee ones...
Re: Simpleviewer Problem
Posted: Fri Mar 24, 2006 12:32 pm
by cyberman
Re: Simpleviewer Problem
Posted: Wed Apr 05, 2006 3:43 pm
by christks
Thanks for the link. I was hopeful it would fix the problem. Unfortunately it did not fix. I think I have a different problem than what your fix was for. My gallery behaves the same in Firefox and Explorer. The navigation arrows show up but no images.
I realize I probably poorly articulated the issue before. I hope this clarifies. I have CMS installed on my PC via xampp. When I create a gallery on my xampp install simpleviewer creates two files in the gallery folder (one folder, one file) that seem to be missing from my webpage CMS install which is on a unix server. One file is called .simpleviewer.xml file and the other is a folder named .thumbs. They are located inside my created gallery folder along with the images and another folder called thumbs and the index.htm file.
So to summarize, the xampp install has these two files files and my webserver does not. Xampp works perfectly and the webserver does not. If I delete these two files from the xampp version it duplicates the webserver problem exactly. Because of this I am deductiing that these files are the culprit.
I try to FTP them manually to the server and it won't allow any filenames to be uploaded that begin with a period. So assuming at this point that the web page version needs the .simpleviewer.xml file and the .thumbs folder to work....BUT I have no idea how to get them uploaded to the server since it won't accept filenames beginning with a period. I hope this makes more sense. Any help you can give is greatly appreciated.
Re: Simpleviewer Problem
Posted: Wed Apr 05, 2006 3:52 pm
by fredt
Just a fix : try renaming ".simpleviewer.xml" to "my.simpleviewer.xml" on your PC before uploading, then remove "my" after it's uploaded. I guess your ftp tool refuses to upload, not your web server!
Re: Simpleviewer Problem
Posted: Wed Apr 05, 2006 4:19 pm
by christks
Thanks for the suggestion. I get an error that it won't rename the file. It just doesn't want the period in front of the filename. It is hosted on yahoo and I have tried to rename it directly from the file manager too. It tells me it is an invalid filename. Not sure what else to do....
Re: Simpleviewer Problem
Posted: Wed Apr 05, 2006 4:24 pm
by fredt
mmmhhh.... Can't you write some php code you'd call to rename it ?
did you check it's not a permission pb ? I mean, can you rename it to foo.xml ?
Re: Simpleviewer Problem
Posted: Wed Apr 05, 2006 4:31 pm
by christks
Thanks for your help. Unfortunately I wouldn't have the first clue on how to write the PHP code. I am able to rename the file to anything as long as it doesn't start with a period so I don't think it is a permissions problem.
Re: Simpleviewer Problem
Posted: Wed Apr 05, 2006 8:03 pm
by christks
Just wanted to update this. I was able to get it working. I had to change the output file .simpleviewer.xml in the config.php to a filename that did not begin with a period and all now works! Thanks for all of your help!