Forums | Mahara Community
Support
/
Problems with importing leap2A in 22.04.1
25 May 2022, 21:47
Hi,
I've some problems with importing leap2A files of more complex collections (a lot of different content types and a complex layout). When I load the leap2A file, some of the files won't be transfered (see screenshot).
When I press IMPORT I get the following error:
Mahara: Site unavailable
A nonrecoverable error occurred. This probably means you have encountered a bug in the system.
The interesting thing is, that some of the pages of the imported collection were actuelly imported with the original layout, but some pages weren't. The html export worked well.
I tried to import a not so complex collection (only text blocks, one per row). And that works completly fine.
Is there something I can do to get this problem fixed?
Thanks,
Christine
26 May 2022, 11:10
Hi Christine,
What's the actual error message that is in the error log? The 'nonrecoverable error' message is a placeholder for production sites so that potentially confidential information isn't disclosed, but it doesn't tell us anything. We'd need to know what it says in the error log in order to see if we can help.
Thank you
Kristina
15 June 2022, 0:01
Hi Kristina,
sorry for the delay. The error logs are as followed:
[WAR] ca (import/leap/lib.php:1394) unserialize(): Error at offset 65113 of 65535 bytes, referer: https://mahara.uni-konstanz.de/
Call stack (most recent first):, referer: https://mahara.uni-konstanz.de/
* log_message(string(size 51), integer, true, true, string(size 62), integer) at /var/www/mahara.kim.uni-konstanz.de/htdocs/lib/errors.php:515, referer: https://mahara.uni-konstanz.de/
* error(integer, string(size 51), string(size 62), integer, array(size 4)) at Unknown:0, referer: https://mahara.uni-konstanz.de/
* unserialize(string(size 65535)) at /var/www/mahara.kim.uni-konstanz.de/htdocs/import/leap/lib.php:1394, referer: https://mahara.uni-konstanz.de/
* PluginImportLeap->render_import_entry_requests() at /var/www/mahara.kim.uni-konstanz.de/htdocs/import/leap/lib.php:467, referer: https://mahara.uni-konstanz.de/
* PluginImportLeap->build_import_entry_requests_form() at /var/www/mahara.kim.uni-konstanz.de/htdocs/import/index.php:291, referer: https://mahara.uni-konstanz.de/
* print_import_items_form() at /var/www/mahara.kim.uni-konstanz.de/htdocs/import/index.php:64, referer: https://mahara.uni-konstanz.de/
, referer: https://mahara.uni-konstanz.de/
[WAR] ca (import/leap/lib.php:1398) Undefined index: type, referer: https://mahara.uni-konstanz.de/
Call stack (most recent first):, referer: https://mahara.uni-konstanz.de/
* log_message(string(size 21), integer, true, true, string(size 62), integer) at /var/www/mahara.kim.uni-konstanz.de/htdocs/lib/errors.php:515, referer: https://mahara.uni-konstanz.de/
* error(integer, string(size 21), string(size 62), integer, array(size 5)) at /var/www/mahara.kim.uni-konstanz.de/htdocs/import/leap/lib.php:1398, referer: https://mahara.uni-konstanz.de/
* PluginImportLeap->render_import_entry_requests() at /var/www/mahara.kim.uni-konstanz.de/htdocs/import/leap/lib.php:467, referer: https://mahara.uni-konstanz.de/
* PluginImportLeap->build_import_entry_requests_form() at /var/www/mahara.kim.uni-konstanz.de/htdocs/import/index.php:291, referer: https://mahara.uni-konstanz.de/
* print_import_items_form() at /var/www/mahara.kim.uni-konstanz.de/htdocs/import/index.php:64, referer: https://mahara.uni-konstanz.de/
, referer: https://mahara.uni-konstanz.de/
Call stack (most recent first):, referer: https://mahara.uni-konstanz.de/
* log_message(string(size 51), integer, true, true, string(size 62), integer) at /var/www/mahara.kim.uni-konstanz.de/htdocs/lib/errors.php:515, referer: https://mahara.uni-konstanz.de/
* error(integer, string(size 51), string(size 62), integer, array(size 1)) at Unknown:0, referer: https://mahara.uni-konstanz.de/
* unserialize(string(size 65535)) at /var/www/mahara.kim.uni-konstanz.de/htdocs/import/leap/lib.php:1257, referer: https://mahara.uni-konstanz.de/
* PluginImportLeap->import_view_from_request(object(stdClass)) at /var/www/mahara.kim.uni-konstanz.de/htdocs/import/leap/lib.php:1221, referer: https://mahara.uni-konstanz.de/
* PluginImportLeap->import_from_requests() at /var/www/mahara.kim.uni-konstanz.de/htdocs/import/leap/lib.php:520, referer: https://mahara.uni-konstanz.de/
* PluginImportLeap->do_import_from_requests() at /var/www/mahara.kim.uni-konstanz.de/htdocs/import/index.php:347, referer: https://mahara.uni-konstanz.de/
* do_import() at /var/www/mahara.kim.uni-konstanz.de/htdocs/import/index.php:71, referer: https://mahara.uni-konstanz.de/
, referer: https://mahara.uni-konstanz.de/
[WAR] ec (lib/errors.php:530) [TypeError]: Argument 1 passed to View::import_from_config() must be of the type array, bool given, called in /var/www/mahara.kim.uni-konstanz.de/htdocs/import/leap/lib.php on line 1258 bei /var/www/mahara.kim.uni-konstanz.de/htdocs/lib/view.php:3396, referer: https://mahara.uni-konstanz.de/
Call stack (most recent first):, referer: https://mahara.uni-konstanz.de/
* exception() at Unknown:0, referer: https://mahara.uni-konstanz.de/
, referer: https://mahara.uni-konstanz.de/
Christine