Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.
  • Page:
  • 1
  • 2

TOPIC:

Preview screen displaying blank page 9 years 5 months ago #2395

  • js2292
  • js2292's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
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.

Preview screen displaying blank page 9 years 5 months ago #2396

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1293
  • Thank you received: 308
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.

Preview screen displaying blank page 9 years 5 months ago #2397

  • js2292
  • js2292's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
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.

Preview screen displaying blank page 9 years 5 months ago #2398

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1293
  • Thank you received: 308
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.

Preview screen displaying blank page 9 years 5 months ago #2399

  • js2292
  • js2292's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
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.

Preview screen displaying blank page 9 years 5 months ago #2401

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1293
  • Thank you received: 308
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.

  • Page:
  • 1
  • 2
Moderators: ronmjultenJohnSmith
Time to create page: 0.123 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search