Report any technical problems you discover and discuss solutions.

Preview screen displaying blank page

  • js2292
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 8 months ago #2395 by js2292
Preview screen displaying blank page was created by js2292
I'm getting a blank page when I click preview. I've tried exporting it and uploading to Moodle to run the exercise there, but the result is the same. Any suggestions what might be causing this?

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #2396 by tom
Replied by tom on topic Preview screen displaying blank page
If you try to preview in Chrome, do you get errors in the javascript console?

(Open xot in Chrome, open the learning object, press F12, and go to the console tab, and refresh the page)

Please Log in or Create an account to join the conversation.

  • js2292
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 8 months ago #2397 by js2292
Replied by js2292 on topic Preview screen displaying blank page
Hi Tom, yes a series of errors have appeared. I've attached them here.
Attachments:

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #2398 by tom
Replied by tom on topic Preview screen displaying blank page
Hello,

please see this thread what causes this, and how you can solve it:

www.xerte.org.uk/index.php?option=com_ku...7&Itemid=207&lang=en

Please Log in or Create an account to join the conversation.

  • js2292
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 8 months ago #2399 by js2292
Replied by js2292 on topic Preview screen displaying blank page
Got a step closer - I've followed these instructions and updated the PHP files accordingly, though the Preview still isn't working. I've checked the javascript console again and there's now just one error:

Uncaught SyntaxError: Unexpected identifier VM178:153

The VM178:153 link takes me to this text:
"src": eval(x_currentPageXML.getAttribute("url")),

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #2401 by tom
Replied by tom on topic Preview screen displaying blank page
I suspect there is an error somewhere in the XML.

Can you send me the template.xml or data.xml file that is in the root of the exported zip file by private e-mail? reijnders at tor dot nl

Please Log in or Create an account to join the conversation.

Moderators: ronmjultenJohnSmith
Time to create page: 0.145 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo