Forums | Mahara Community

Support /
Unable to export portfolio to LEAP2A or HTML


02 February 2018, 23:11

Hi everyone,

Since we changed servers I would like to export all the templates portfolio's I made to the new Mahara server. But when I try to so so, it seems to get stuck. I don't get an error message but it just keeps telling me to 'Wait while my export is generated'. It's been half an hour now so I think it might be a bug. Does anyone know what I can do about this?

 

 

Kristina Hoeppner's profile picture
Posts: 4717

03 February 2018, 20:02

Hello Melissa,

Please take a look into your error log and see if there are any messages in there relating to your export when you attempt it.

Are all the artefacts that you reference on the page still on the site? That might cause the export to hang if it can't locate a file and it's still referenced say in a text box rather than in a file block from which it would be deleted automatically.

Cheers

Kristina

 

Chris Poette's profile picture
Posts: 6

23 March 2018, 5:46

Everyone,

I have the same exact problem.  Upon trying to export to HTML or LEAP2A it appears to be stuck.  I am running version 17.10.2.  I tried upgrading to 17.10.3 in hopes it was a specific bug but still get the same problem.  I looked at the mahara error logs and nothing is reported.  Any help would be appreciated.  Thank you.  

Robert Lyon's profile picture
Posts: 749

23 March 2018, 14:57

I wonder if there is some underlying program missing like php-zip that causes things to hang?

Does export work in older versions of Mahara on that server?

Cheers

Robert

 

Chris Poette's profile picture
Posts: 6

24 March 2018, 5:40

Robert,

Thank you for your reply.  That was one area that slipped my mind.  I did however recently upgrade PHP to version 7.1 from 5.6.  This was done due to Moodle running on the same server.  I did check my PHP modules and zip is installed.  For a brief second you can see a creating zip file and thats where we seem to hang forever.  The system requirements for Mahara does say PHP 5.6 or above so I am assuming PHP 7.x is ok to run.

Robert Lyon's profile picture
Posts: 749

26 March 2018, 10:14

Hi Chris,

This problem looks to be for PHP 7.1+ and Mahara as I don't get the problem on PHP 7.0 - see https://bugs.launchpad.net/mahara/+bug/1757330 for more info

I believe I've found a solution for the problem and have made a fix for it - see https://reviews.mahara.org/#/c/8712/

From my initial tests it works for PHP 7.0 and 7.1+

We hope to get this fix merged very soon

Cheers

Robert

Chris Poette's profile picture
Posts: 6

27 March 2018, 5:39

Robert,

Wonderful.  I am so glad this was found and submitted as a bug.  I did apply this patch and it did fix the problem.  I was currently running 17.10.2.  Thank you so much for your help.

Kristina Hoeppner's profile picture
Posts: 4717

27 March 2018, 14:01

Hello Melissa,

Does the fix that Robert make also fix your export problem? If not, please let us know what your PHP version and operating system are.

Thank you

Kristina

 

A.Emily's profile picture
Posts: 23

01 September 2021, 22:31

Hi Kristina,

I encountered the same issue when I did the migration into the new server. I check the patch posted and found out that the patch has already been added to the 21.04 version. We are using PHP 7.2.24 and centos 8. How can we fix this error? Because now it seems export cannot finish due to the issue

Kristina Hoeppner's profile picture
Posts: 4717

08 September 2021, 12:57

Hi Emily,

Do you have anything in your error log that might give some more information about what's going on? Sometimes if artefacts are not available any more, the export gets stuck.

Thank you

Kristina

17 results