Questions on getting Xerte Toolkits installed on your server and questions about authentication and user logins.

Cannot Export LO

  • g-marsh
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
10 jaren 6 maanden geleden #3502 door g-marsh
Cannot Export LO werd gestart door g-marsh
We upgraded from V2 to V3.1 in January and the authors say this is the first time they have tried to export.
I have a very simple LO - just a couple of very small text pages.
I try to export it but when I click on Get Deployment Zip nothing appears to happen.
I have tried this in IE, Firefox and Chrome browser with similar results i.e. no export.

There were no error messages in the PHP error log.
Empty files were created such as, /tmp/xerteExportKzfWy4

I set $development = true; in config.php, restarted Apache and retried the export.

This time I got the following error in the PHP error log,
[Thu Feb 18 14:07:42 2016] [error] [client 164.11.232.43] PHP Fatal error: Class 'Xerte_Zip_Factory' not found in /var/www/modules/xerte/export.php on line 124, referer: xerte.uwe.ac.uk/properties.php?template_id=476

I also had this in the /tmp/debug.log,
2016-02-18 14:07:42 /var/www/website_code/php/database_library.php175Running : select templatedetails.template_name as zipname, templaterights.template_id, logindetails.username, originaltemplatesdetails.template_name,originaltemplatesdetails.template_framework from templaterights, logindetails, originaltemplatesdetails, templatedetails WHERE templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templaterights.template_id = templatedetails.template_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id= ? AND role= ?
2016-02-18 14:07:42 /var/www/modules/xerte/export.php112Temporary zip file is : /tmp/xerteExportKzfWy4

Zip appears to be enabled in PHP,
Output of php -i
-- snip --
zip

Zip => enabled
Extension Version => $Id: 6c872ebfb022206b0cc2a183c7a388c7b6ad8685 $
Zip version => 1.11.0
Libzip version => 0.10.1
-- snip --

Any thoughts or other tests I can run please?

Regards
Greg

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
10 jaren 6 maanden geleden #3507 door tom
Beantwoord door tom in topic Cannot Export LO
What version of php are you using>

class Xerte_Zip_Factor is autoloaded using spl_autoload_register (library/autoloader.php)

But that requires a version of php > 5.1.2

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
10 jaren 5 maanden geleden - 10 jaren 5 maanden geleden #3508 door JohnSmith
Beantwoord door JohnSmith in topic Cannot Export LO
Hi,

Did you download your zip file from Github or from this site?

Check that the files in the /library/Xerte/Zip folder are there on your install (see github.com/thexerteproject/xerteonlineto...op/library/Xerte/Zip )

Maybe even replace these Zip files with the ones from the latest v3.1 download. For some reason some of them are not being loaded...

John
Laatst bewerkt 10 jaren 5 maanden geleden door JohnSmith.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • g-marsh
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
10 jaren 5 maanden geleden #3510 door g-marsh
Beantwoord door g-marsh in topic Cannot Export LO
Thanks Tom.
PHP version is 5.4.45

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
10 jaren 5 maanden geleden #3511 door tom
Beantwoord door tom in topic Cannot Export LO
Please see John's answer as well.

Do you have 3 files in library/Xerte/Zip:
Factory.php, Interface.php and Native.php?

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • g-marsh
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
10 jaren 5 maanden geleden #3512 door g-marsh
Beantwoord door g-marsh in topic Cannot Export LO
John (and Tom),
Many thanks for the help. That seems to have done the trick. I have passed it to the authors for 'proper' testing.
I did not have the Zip folder or the Validate folder, which was causing another issue for me. I downloaded the files from github and all seems well now.
I don't know how I ended up with a partial installation. The original download was the V3.1 from the Xerte site in January.
Thanks again,
Greg

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Tijd voor maken pagina: 0.155 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo