Forums | Mahara Community

Support /
Export HTML and LEAP not working


anonymous profile picture
Account deleted
Posts: 105

06 March 2011, 3:51

Hello,

I just noticed that the export function of our Mahara installation is not working properly :( I tried exporting single views as well as the whole portfolio. Mahara starts generating the export files and says "Export generated succesfully Continue". Then it displays the header image of our installation within the progress bar as can be seen on this image

error.png

Here are the error log messages:

[06-Mar-2011 09:29:45] [WAR] 16 (export/leap/lib.php:174) escapeshellarg() has been disabled for security reasons
[06-Mar-2011 09:29:45] Call stack (most recent first):
[06-Mar-2011 09:29:45]   * log_message("escapeshellarg() has been disabled for security re...", 8, true, true, "/data/web/social/web/social/collabuni/export/leap/...", 174) at /data/web/social/web/social/collabuni/lib/errors.php:444
[06-Mar-2011 09:29:45]   * error(2, "escapeshellarg() has been disabled for security re...", "/data/web/social/web/social/collabuni/export/leap/...", 174, array(size 10)) at Unknown:0
[06-Mar-2011 09:29:45]   * escapeshellarg("/data/web/social/data/export/4/1299400169/mahara-e...") at /data/web/social/web/social/collabuni/export/leap/lib.php:174
[06-Mar-2011 09:29:45]   * PluginExportLeap->export() at /data/web/social/web/social/collabuni/export/download.php:102
[06-Mar-2011 09:29:45]
[06-Mar-2011 09:29:45] [WAR] 16 (export/leap/lib.php:175) escapeshellarg() has been disabled for security reasons
[06-Mar-2011 09:29:45] Call stack (most recent first):
[06-Mar-2011 09:29:45]   * log_message("escapeshellarg() has been disabled for security re...", 8, true, true, "/data/web/social/web/social/collabuni/export/leap/...", 175) at /data/web/social/web/social/collabuni/lib/errors.php:444
[06-Mar-2011 09:29:45]   * error(2, "escapeshellarg() has been disabled for security re...", "/data/web/social/web/social/collabuni/export/leap/...", 175, array(size 10)) at Unknown:0
[06-Mar-2011 09:29:45]   * escapeshellarg("leap2a.xml") at /data/web/social/web/social/collabuni/export/leap/lib.php:175
[06-Mar-2011 09:29:45]   * PluginExportLeap->export() at /data/web/social/web/social/collabuni/export/download.php:102
[06-Mar-2011 09:29:45]
[06-Mar-2011 09:29:45] [WAR] 16 (export/leap/lib.php:176) escapeshellarg() has been disabled for security reasons
[06-Mar-2011 09:29:45] Call stack (most recent first):
[06-Mar-2011 09:29:45]   * log_message("escapeshellarg() has been disabled for security re...", 8, true, true, "/data/web/social/web/social/collabuni/export/leap/...", 176) at /data/web/social/web/social/collabuni/lib/errors.php:444
[06-Mar-2011 09:29:45]   * error(2, "escapeshellarg() has been disabled for security re...", "/data/web/social/web/social/collabuni/export/leap/...", 176, array(size 10)) at Unknown:0
[06-Mar-2011 09:29:45]   * escapeshellarg("files/") at /data/web/social/web/social/collabuni/export/leap/lib.php:176
[06-Mar-2011 09:29:45]   * PluginExportLeap->export() at /data/web/social/web/social/collabuni/export/download.php:102
[06-Mar-2011 09:29:45]
[06-Mar-2011 09:29:45] [WAR] 16 (export/leap/lib.php:180) Undefined variable: returnvar
[06-Mar-2011 09:29:45] Call stack (most recent first):
[06-Mar-2011 09:29:45]   * log_message("Undefined variable: returnvar", 8, true, true, "/data/web/social/web/social/collabuni/export/leap/...", 180) at /data/web/social/web/social/collabuni/lib/errors.php:444
[06-Mar-2011 09:29:45]   * error(8, "Undefined variable: returnvar", "/data/web/social/web/social/collabuni/export/leap/...", 180, array(size 12)) at /data/web/social/web/social/collabuni/export/leap/lib.php:180
[06-Mar-2011 09:29:45]   * PluginExportLeap->export() at /data/web/social/web/social/collabuni/export/download.php:102
[06-Mar-2011 09:29:45]
[06-Mar-2011 09:29:45] [WAR] 16 (export/leap/lib.php:180) exec() has been disabled for security reasons
[06-Mar-2011 09:29:45] Call stack (most recent first):
[06-Mar-2011 09:29:45]   * log_message("exec() has been disabled for security reasons", 8, true, true, "/data/web/social/web/social/collabuni/export/leap/...", 180) at /data/web/social/web/social/collabuni/lib/errors.php:444
[06-Mar-2011 09:29:45]   * error(2, "exec() has been disabled for security reasons", "/data/web/social/web/social/collabuni/export/leap/...", 180, array(size 12)) at Unknown:0
[06-Mar-2011 09:29:45]   * exec("/data/web/social/zip -r   ", array(size 0), null) at /data/web/social/web/social/collabuni/export/leap/lib.php:180
[06-Mar-2011 09:29:45]   * PluginExportLeap->export() at /data/web/social/web/social/collabuni/export/download.php:102
[06-Mar-2011 09:29:45]
[06-Mar-2011 09:29:45] [WAR] 16 (export/leap/lib.php:182) Undefined variable: returnvar
[06-Mar-2011 09:29:45] Call stack (most recent first):
[06-Mar-2011 09:29:45]   * log_message("Undefined variable: returnvar", 8, true, true, "/data/web/social/web/social/collabuni/export/leap/...", 182) at /data/web/social/web/social/collabuni/lib/errors.php:444
[06-Mar-2011 09:29:45]   * error(8, "Undefined variable: returnvar", "/data/web/social/web/social/collabuni/export/leap/...", 182, array(size 12)) at /data/web/social/web/social/collabuni/export/leap/lib.php:182
[06-Mar-2011 09:29:45]   * PluginExportLeap->export() at /data/web/social/web/social/collabuni/export/download.php:102
[06-Mar-2011 09:29:45]

 

Looks like some php functions have been disabled for security reasons.

Best

Alex

Kristina Hoeppner's profile picture
Posts: 4863

06 March 2011, 13:44

Hello Alex,

Which Mahara 1.3 version are you using?

Cheers

Kristina

François Marier's profile picture
Posts: 411

06 March 2011, 16:08

Hi Alex,

It looks like your server configuration is preventing Mahara from using the zip utility at the end of the export.

Cheers,

Francois

3 results