This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 21 - Pages: 2 [ Previous | 1 2 ] - Last Post: 05-Dec-2018 20:44 Last Post By: waltbros
jGromit

Posts: 7,494
Registered: 31-Jan-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 18:06   in response to: waltbros in response to: waltbros
 
  Click to reply to this thread Reply
The mystery deepens. Those lines are correct, and they're the only two changes in that entire template file from the previous version.

Give me a bit more time to mull it over - I'll probably need to send you a temporary replacement file that will spit out some variable values to the system console. The error message frustratingly doesn't actually tell me which variable is void.

ETA: Just one thing - when you look at the file, are you actually seeing the "%20" encodings in line 36? When you simply look at the file, you should be seeing spaces where those are, like this:
ipNav += "\n<div class="sa-navleftip"><a onclick='goindex()'><img id='sa-prevarrow' src='res/index" + ipiconclass + ".svg' alt='" + stIndexPage + "' title='" + stIndexPage + "'></a></div>";
waltbros

Posts: 35
Registered: 26-Dec-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 18:17   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
ETA: Just one thing - when you look at the file, are you actually seeing the "%20" encodings in line 36? When you simply look at the file, you should be seeing spaces where those are, like this:
ipNav += "\n</div>
<div class="sa-navleftip"><a><img id='sa-prevarrow' src='res/index"%20+%20ipiconclass%20+%20".svg' alt='" + stIndexPage + "' title='" + stIndexPage + "'></a></div>
";
I don't see any %20 anywhere
jGromit

Posts: 7,494
Registered: 31-Jan-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 18:33   in response to: waltbros in response to: waltbros
 
  Click to reply to this thread Reply
We're starting to go around in circles, here. In my post, there are spaces in this string:
res/index" + ipiconclass + ".svg
When you are posting the same thing, the spaces are being encoded:
res/index"%20+%20ipiconclass%20+%20".svg
I don't know who or what is doing that.
jGromit

Posts: 7,494
Registered: 31-Jan-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 18:40   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Mystery solved!! I just grabbed the lifeboat file from your website (oh, thank you David for making that the default). There, sitting in the image directory of the album, is infopage.htt. And, it's the version from Saturn 11. So, when you make the album, jAlbum says, "I'm supposed to use the infopage.htt template file. But this user has provided his own, so I'll try to process that one." Poof - error!

There should be no template files in the image directory. Open your jAlbum project. Choose Tools, Open directories, Image directory. Delete infopage.htt from that location. Now, Saturn v.12 will work properly.

You may not like one of the changes, however - I've eliminated the now rather dated-looking PNG navigation icons, and am using only SVG's.
waltbros

Posts: 35
Registered: 26-Dec-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 18:50   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
While waiting for your reply I looked at the project on my hard drive and the infopage.htt file was dated sometime in 2017. So I deleted it from my hard drive and copied the new infopage.htt file from the skin directory to the project. All is good now.
jGromit

Posts: 7,494
Registered: 31-Jan-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 19:10   in response to: waltbros in response to: waltbros
 
  Click to reply to this thread Reply
waltbros wrote:
So I ... copied the new infopage.htt file from the skin directory to the project.

NO!! Do not do that. The template files, like infopage.htt, should never be sitting in the project. They should exist only in the skin directory. By copying it to the project, you're just setting yourself up for the same kind of error the next time there's a skin update.

Open the project (image) directory, and delete infopage.htt.
waltbros

Posts: 35
Registered: 26-Dec-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 20:44   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
After re-reading your post, I did just that.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums