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


Permlink Replies: 22 - Pages: 2 [ 1 2 | Next ] - Last Post: 17 Aug 21, 13:58 Last Post By: JeffTucker Threads: [ Previous | Next ]
Carambozilla

Posts: 10
Registered: 11-Oct-2016
unexpected error occured in Photoblogger
Posted: 10 Aug 21, 14:44
 
  Click to reply to this thread Reply
I like photoblogger skin and I'm desperate because suddenly an unexpected error occured in Photoblogger. Somebody to save me ?
Thanks by advance :)

Stack trace for jAlbum 24.1 using skin PhotoBlogger 3.17.1:
 
se.datadosen.util.ScriptException: <eval>:118 TypeError: Cannot read property "getVars" from undefined in content.inc at line number 5
	at se.datadosen.util.ScriptException.of(ScriptException.java:59)
	at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.java:89)
	at se.datadosen.jalbum.ast.ASTNode.eval(ASTNode.java:50)
	at se.datadosen.jalbum.ast.GroupNode.doEval(GroupNode.java:78)
	at se.datadosen.jalbum.ast.IncludeNode.doEval(IncludeNode.java:89)
	at se.datadosen.jalbum.ast.ASTNode.eval(ASTNode.java:50)
	at se.datadosen.jalbum.ast.GroupNode.doEval(GroupNode.java:78)
	at se.datadosen.jalbum.ast.EnterNode.doEval(EnterNode.java:23)
	at se.datadosen.jalbum.ast.ASTNode.eval(ASTNode.java:50)
	at se.datadosen.jalbum.ast.GroupNode.doEval(GroupNode.java:78)
	at se.datadosen.jalbum.ast.ASTNode.eval(ASTNode.java:50)
	at se.datadosen.jalbum.AST.eval(AST.java:75)
	at se.datadosen.jalbum.AlbumBean.makeIndexPages(AlbumBean.java:3432)
	at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:1712)
	at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:1808)
	at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2992)
	at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2894)
	at se.datadosen.jalbum.JAlbumFrame$6.run(JAlbumFrame.java:1129)
Caused by: javax.script.ScriptException: TypeError: Cannot read property "getVars" from undefined in <eval> at line number 118
	at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(Unknown Source)
	at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(Unknown Source)
	at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine$3.eval(Unknown Source)
	at java.scripting/javax.script.CompiledScript.eval(Unknown Source)
	at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.java:60)
	... 16 more
Caused by: <eval>:118 TypeError: Cannot read property "getVars" from undefined
	at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ECMAErrors.error(Unknown Source)
	at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ECMAErrors.typeError(Unknown Source)
	at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ECMAErrors.typeError(Unknown Source)
	at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ECMAErrors.typeError(Unknown Source)
	at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.Undefined.get(Unknown Source)
	at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$116$\^eval\_.:program(<eval>:118)
	at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(Unknown Source)
	at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunction.invoke(Unknown Source)
	at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptRuntime.apply(Unknown Source)
	... 20 more
Laza

Posts: 1,732
Registered: 6-Sep-2005
Re: unexpected error occured in Photoblogger
Posted: 10 Aug 21, 15:05   in response to: Carambozilla in response to: Carambozilla
 
  Click to reply to this thread Reply
The content.inc is a custom page you created and contains some error, or came from another skin with a different scripting language. You might want to exclude content.inc.
JeffTucker

Posts: 8,039
Registered: 31-Jan-2006
Re: unexpected error occured in Photoblogger
Posted: 10 Aug 21, 15:07   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
I'm seeing content.inc in the Photoblogger skin directory.
Carambozilla

Posts: 10
Registered: 11-Oct-2016
Re: unexpected error occured in Photoblogger
Posted: 10 Aug 21, 15:21   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Thanks for your answer.
The skin used to works without any problems, exept today.
I emptied the whole folder of the site and I wanted to recreate the files but impossible, I always have the error message.
And where to find the content.inc file and how to exclude it?
JeffTucker

Posts: 8,039
Registered: 31-Jan-2006
Re: unexpected error occured in Photoblogger
Posted: 10 Aug 21, 15:25   in response to: Carambozilla in response to: Carambozilla
 
  Click to reply to this thread Reply
The mystery is why it's causing a problem for you. I can create a little test project, and it works fine. What happens if you start with a new, empty project, add a few images, and hit Make Album?

ETA: If a new test project works, that suggests that there's some combination of settings in your main project that's triggering the problem. Please attach your jalbum-settings.jap file.
Carambozilla

Posts: 10
Registered: 11-Oct-2016
Re: unexpected error occured in Photoblogger
Posted: 10 Aug 21, 15:38   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Here it is my jalbum-settings.jap file
JeffTucker

Posts: 8,039
Registered: 31-Jan-2006
Re: unexpected error occured in Photoblogger
Posted: 10 Aug 21, 15:55   in response to: Carambozilla in response to: Carambozilla
 
  Click to reply to this thread Reply
I still don't get any errors, even using your settings. Perhaps Laza can sort this out, but I think he's going to need a link to your actual, online album.

(BTW, you appear to have only a Standard License for jAlbum. Commercial use requires a Pro License.)
Carambozilla

Posts: 10
Registered: 11-Oct-2016
Re: unexpected error occured in Photoblogger
Posted: 10 Aug 21, 16:07   in response to: Carambozilla in response to: Carambozilla
 
  Click to reply to this thread Reply
Well, I found the nature of the problem. I created a new folder and, for some reason, it doesn't accept any subfolders (even though there are plenty in the other folders...).
Could you explain that ?
Carambozilla

Posts: 10
Registered: 11-Oct-2016
Re: unexpected error occured in Photoblogger
Posted: 10 Aug 21, 16:09   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Commercial use ?
JeffTucker

Posts: 8,039
Registered: 31-Jan-2006
Re: unexpected error occured in Photoblogger
Posted: 10 Aug 21, 16:16   in response to: Carambozilla in response to: Carambozilla
 
  Click to reply to this thread Reply
Yes, for a business site. Aren't these your sites?

https://www.carambozilla.com/

https://www.pascale-varenne.fr/varenne_design/
JeffTucker

Posts: 8,039
Registered: 31-Jan-2006
Re: unexpected error occured in Photoblogger
Posted: 10 Aug 21, 16:18   in response to: Carambozilla in response to: Carambozilla
 
  Click to reply to this thread Reply
Carambozilla wrote:
Well, I found the nature of the problem. I created a new folder and, for some reason, it doesn't accept any subfolders (even though there are plenty in the other folders...).
Could you explain that ?

No, I can't explain that. I've never seen that happen before.

ETA: The skin doesn't play any role in this. It sounds like a jAlbum core problem, though I don't think anyone has ever encountered it before.

If I were you, I would do a complete uninstall/reinstall of jAlbum. It will take only a few minutes, and you won't lose any of your projects or settings. Don't skip any steps - it's important to make sure that there aren't any leftover files from previous installs:

https://jalbum.net/forum/thread.jspa?threadID=35746
Carambozilla

Posts: 10
Registered: 11-Oct-2016
Re: unexpected error occured in Photoblogger
Posted: 10 Aug 21, 16:38   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Ah, OK, I'll do it in the next update.
Carambozilla

Posts: 10
Registered: 11-Oct-2016
Re: unexpected error occured in Photoblogger
Posted: 10 Aug 21, 18:01   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Thank you, I will try this
Laza

Posts: 1,732
Registered: 6-Sep-2005
Re: unexpected error occured in Photoblogger
Posted: 10 Aug 21, 18:34   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
The skin's custom page is called "Contents.inc", while Carambozilla has probably created a Empty page, and renamed to "content.inc".
JeffTucker

Posts: 8,039
Registered: 31-Jan-2006
Re: unexpected error occured in Photoblogger
Posted: 10 Aug 21, 18:37   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Attachment ss009327.png (53.2 KB)
Then what's this?
Legend
Forum admins
Helpful Answer
Correct Answer

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