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


Permlink Replies: 3 - Pages: 1 - Last Post: 9 Jan 26, 08:29 Last Post By: Laza Threads: [ Previous | Next ]
EricWander

Posts: 2
Registered: 16-Nov-2012
help: problemen met maken van mijn site - breekt telkens af na eenderde
Posted: 7 Jan 26, 14:17
 
  Click to reply to this thread Reply
Stack trace for jAlbum 38.1.5 using skin Tiger 7.1.4:

se.datadosen.util.ScriptException: <eval>:195 ReferenceError: "pageHook" is not defined in page-header.inc at line number 1
at se.datadosen.util.ScriptException.of(ScriptException.java:59)
at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.java:99)
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.ASTNode.eval(ASTNode.java:50)
at se.datadosen.jalbum.AST.eval(AST.java:75)
at se.datadosen.jalbum.AlbumBean.processTemplateFile(AlbumBean.java:1753)
at se.datadosen.jalbum.AlbumBean.processTemplateFile(AlbumBean.java:1746)
at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:2032)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:3852)
at se.datadosen.jalbum.AlbumBean.smartMakeAlbum(AlbumBean.java:3688)
at se.datadosen.jalbum.JAlbumFrame$7.run(JAlbumFrame.java:1210)
Caused by: javax.script.ScriptException: ReferenceError: "pageHook" is not defined in <eval> at line number 195
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:436)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:420)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine$1.eval(NashornScriptEngine.java:476)
at java.scripting/javax.script.CompiledScript.eval(Unknown Source)
at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.java:67)
... 13 more
Caused by: <eval>:195 ReferenceError: "pageHook" is not defined
at org.openjdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57)
at org.openjdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:318)
at org.openjdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:290)
at org.openjdk.nashorn.internal.objects.Global.__noSuchProperty__(Global.java:1604)
at org.openjdk.nashorn.internal.scripts.Script$232$\^eval\_.:program(<eval>:195)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:646)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:506)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:519)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:415)
... 16 more
Laza

Posts: 1,442
Registered: 6-Sep-2005
Re: help: problemen met maken van mijn site - breekt telkens af na eenderde
Posted: 7 Jan 26, 16:18   in response to: EricWander in response to: EricWander
Helpful
  Click to reply to this thread Reply
Try again running "Make album", and if the same error happens, reinstall the skin: https://jalbum.net/en/skins/skin/Tiger
EricWander

Posts: 2
Registered: 16-Nov-2012
Re: help: problemen met maken van mijn site - breekt telkens af na eenderde
Posted: 8 Jan 26, 20:12   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Thank you for your reply.

I did indeed have to restart it many times, but I couldn't get past it.
My site has over 3,000 photos, and apparently that was too much. Because I limited the photo size, I had to recreate all the photos.
Fortunately, that worked in the end!
Laza

Posts: 1,442
Registered: 6-Sep-2005
Re: help: problemen met maken van mijn site - breekt telkens af na eenderde
Posted: 9 Jan 26, 08:29   in response to: EricWander in response to: EricWander
 
  Click to reply to this thread Reply
I've seen albums with 200 000 images. I guess it's not the number of images, but a broken image or metadata, that triggers the error. Or perhaps a renamed custom page?
Legend
Forum admins
Helpful Answer
Correct Answer

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