|
Replies:
22
-
Pages:
2
[
1
2
| Next
]
-
Last Post:
17 Aug 21, 13:58
Last Post By: JeffTucker
|
Threads:
[
Previous
|
Next
]
|
|
Posts:
10
Registered:
11-Oct-2016
|
|
|
unexpected error occured in Photoblogger
Posted:
10 Aug 21, 14:44
|
|
|
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
|
|
|
Posts:
1,732
Registered:
6-Sep-2005
|
|
|
Re: unexpected error occured in Photoblogger
Posted:
10 Aug 21, 15:05
in response to: Carambozilla
|
|
|
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.
|
|
|
Posts:
8,039
Registered:
31-Jan-2006
|
|
|
Re: unexpected error occured in Photoblogger
Posted:
10 Aug 21, 15:07
in response to: Laza
|
|
|
I'm seeing content.inc in the Photoblogger skin directory.
|
|
|
Posts:
10
Registered:
11-Oct-2016
|
|
|
Re: unexpected error occured in Photoblogger
Posted:
10 Aug 21, 15:21
in response to: Laza
|
|
|
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?
|
|
|
Posts:
8,039
Registered:
31-Jan-2006
|
|
|
Re: unexpected error occured in Photoblogger
Posted:
10 Aug 21, 15:25
in response to: Carambozilla
|
|
|
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.
|
|
|
Posts:
10
Registered:
11-Oct-2016
|
|
|
Re: unexpected error occured in Photoblogger
Posted:
10 Aug 21, 15:38
in response to: JeffTucker
|
|
|
|
Here it is my jalbum-settings.jap file
|
|
|
Posts:
8,039
Registered:
31-Jan-2006
|
|
|
Re: unexpected error occured in Photoblogger
Posted:
10 Aug 21, 15:55
in response to: Carambozilla
|
|
|
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.)
|
|
|
Posts:
10
Registered:
11-Oct-2016
|
|
|
Re: unexpected error occured in Photoblogger
Posted:
10 Aug 21, 16:07
in response to: Carambozilla
|
|
|
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 ?
|
|
|
Posts:
10
Registered:
11-Oct-2016
|
|
|
Re: unexpected error occured in Photoblogger
Posted:
10 Aug 21, 16:09
in response to: JeffTucker
|
|
|
|
|
Posts:
8,039
Registered:
31-Jan-2006
|
|
|
Re: unexpected error occured in Photoblogger
Posted:
10 Aug 21, 16:16
in response to: Carambozilla
|
|
|
|
|
Posts:
8,039
Registered:
31-Jan-2006
|
|
|
Re: unexpected error occured in Photoblogger
Posted:
10 Aug 21, 16:18
in response to: Carambozilla
|
|
|
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
|
|
|
Posts:
10
Registered:
11-Oct-2016
|
|
|
Re: unexpected error occured in Photoblogger
Posted:
10 Aug 21, 16:38
in response to: JeffTucker
|
|
|
Ah, OK, I'll do it in the next update.
|
|
|
Posts:
10
Registered:
11-Oct-2016
|
|
|
Re: unexpected error occured in Photoblogger
Posted:
10 Aug 21, 18:01
in response to: JeffTucker
|
|
|
Thank you, I will try this
|
|
|
Posts:
1,732
Registered:
6-Sep-2005
|
|
|
Re: unexpected error occured in Photoblogger
Posted:
10 Aug 21, 18:34
in response to: JeffTucker
|
|
|
The skin's custom page is called "Contents.inc", while Carambozilla has probably created a Empty page, and renamed to "content.inc".
|
|
|
Posts:
8,039
Registered:
31-Jan-2006
|
|
|
Re: unexpected error occured in Photoblogger
Posted:
10 Aug 21, 18:37
in response to: Laza
|
|
|
|
|
|
|
Legend
|
|
Forum admins
|
|
Helpful Answer
|
|
Correct Answer
|
|