Supporting each other

Community forums

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

TOPIC:

Exported Zips for offline use show empty screen 3 weeks 1 day ago #9580

  • dannyxerte
  • dannyxerte's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
Hello, I'm from Peru. First of all thanks a lot for your great work!
I've just installed the latest Xerte toolkit version. Running Windows 11 and latest Xampp

When I export a project for offline use, the index page goes blank with the message "The project data has not loaded."
At first, I had de 0Kb Zip file problem, but I finally solved it.
Now, the exported zip file seems fine, but when opening offline this problem arises.

I've notice that if I copy the whole zip folder content within the Xerte folder, the project runs fine. (example: localhost/xerte/pruebas/pruebas/#page1)
It makes me think of a problem with the exporting routine. (all options give me the same result)
Please, help me overcome this issue. I'll be very thankful for the attention you pay to my post.
Blessings!

Please Inloggen or Create an account to join the conversation.

Exported Zips for offline use show empty screen 2 weeks 4 days ago #9586

  • jbijnens
  • jbijnens's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 23
  • Thank you received: 0
The error message ""The project data has not loaded." pops up here when an export is done to a deployed.zip file instead of an offline.zip file.

I have a problem very similar to this.
When I export a project to an offline.zip file, extract it and opens the index.htm file in a browser it shows an empty page. It doesn't matter whether this is accessed through a web server or opened locally.
I have noticed two strange things in the index.htm file

<body><a class="skip-link" href="#pageContents">Skip to main content</a>
<noscript>This Learning Object requires JavaScript!</noscript>
<div id="x_embed_overlay" class="embed-overlay-inactive" aria-hidden="true"></div>
<div id="x_mainHolder" style="visibility:hidden;">

aria-hidden="true" and "visibility:hidden;" look strange to me.

All help/advice is more than welcome.

Please Inloggen or Create an account to join the conversation.

Last edit: by jbijnens.

Exported Zips for offline use show empty screen 2 weeks 3 days ago #9589

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 884
  • Thank you received: 275
Hi
a few points of clarity here regarding the various export formats and then a response to the different questions...
Firstly always click publish before export especially with a project that hasn't previously been published.
Secondly the different formats:
1. Deployment export
Contains only the files required for importing into a VLE/LMS (without SCORM tracking), deploying onto a web server, or for importing into another Xerte installation.
In other words this export will only work when you view it from a web server or import it into Xerte. It will not work if you extract the zip on a local drive and try to view it via index.htm and if you do try that you may well see that "The project data has not loaded" error. This isn't a bug it's expected and due to security restrictions of browsers when viewing local files.
2. SCORM export
Self contained, SCORM 1.2 or SCORM 2004 enables tracking of interactivity scores e.g. into your LMS/VLE gradebook.
Again will not work from a local drive and furthermore will only work when imported as a scorm package into a VLE/LMS.
3. Archive export
As it says - complete export only really needed for troubleshooting xml or other issues.
4. Offline export
Special offline package that can be used offline. Double-click on the index.htm file stored on a local disk or USB stick.
What that perhaps should say is extract the zip first and then double click the index.htm file from the extracted folder. e.g. you have to extract the zip first and you have to have also published first too.

The offline export from 3.14x does seem to have a bug at the moment which we will look into. The offline export from 3.13x seems to work fine however that x in both references represents incremental revisions and I can't say for sure which revisions in each version work with offline export or now but certainly the latest 3.14x does seem to have a bug at the moment which we need to fix.

Finally what is your purpose for using offline export? e.g. there isn't an offline export for Bootstrap projects and although there is with XOT projects you really have to have a specific reason for using offline export e.g. you plan to share the project on a USB or HDD for someone to view without online connectivity or in some specialist cases you want to make it available for use offline on mobile devices. If that is the reason then projects have to be built deliberately without external links or embeds because they obviously will not work without connectivity either.
Offline export is not really meant for extracting locally just to test your project - that should be done by playing via Xerte or deploying the deployment export to a web server.

BTW the code aria-hidden="true" and "visibility:hidden;" isn't strange but as I say there is currently a bug with the latest 3.14x that means offline export isn't working correctly.

HTH
Ron
Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/
The following user(s) said Thank You: jbijnens, dannyxerte

Please Inloggen or Create an account to join the conversation.

Exported Zips for offline use show empty screen 2 weeks 3 days ago #9590

  • jbijnens
  • jbijnens's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 23
  • Thank you received: 0
Thank you for looking into my problem.
After writing a reply to your post, I set up a XAMP installation to do some testing.
I have to admit, I'm an idiot.
I have misinterpreted/overlooked some items describing the different export options.
I have now placed the deployment.zip on the server and it works.
The offline.zip to run the project from an USB stick, still does not work.

My apologies.
Attachments:

Please Inloggen or Create an account to join the conversation.

Last edit: by jbijnens. Reason: Did some additional testing and found the mistake I have made.

Exported Zips for offline use show empty screen 2 weeks 3 days ago #9591

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 884
  • Thank you received: 275
No need to apologise but just to clarify for anyone else reading this thread...
First see my reply explaining the various export options.
Second yes there is currently a bug with offline export from 3.14x but offline export is only for where access is required without a webserver.
Third in most cases deployment export is what is needed for sharing somewhere online outside of Xerte and that works fine from any web server but will not work if you just extract and try to view via index.htm without a webserver.
Regards
Ron
Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/
The following user(s) said Thank You: jbijnens, dannyxerte

Please Inloggen or Create an account to join the conversation.

Exported Zips for offline use show empty screen 2 weeks 3 days ago #9592

  • dannyxerte
  • dannyxerte's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
Thanks a lot Ron for your detailed answer.
So, I will wait for this wonderful team fix the export bug.

In the meanwhile I've installed previous 3.13 version and it is working fine.
Greetings from Peru.

Please Inloggen or Create an account to join the conversation.

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

Search