Hi Darren
I've just tried importing the attached file into a clean Mahara 1.3.5
install on Ubuntu Lucid (this comes with php 5.3.2) and had no trouble
with it.
I've attached the import log file.
Is there anything about your install that you can think of that might
cause import problems?
Thanks
Darryl
** Attachment added: import.log
https://bugs.launchpad.net/mahara/+bug/746079/+attachment/2071154/+files/import.log
** Changed in: mahara
Status: Triaged = In Progress
** Changed in: mahara
Assignee: (unassigned) = Darryl Hamilton (lordp)
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/746079
Title:
leap2a import fails on PHP 5.3.2
Status in Mahara ePortfolio:
In Progress
Bug description:
Reported for Mahara 1.3.5 on PHP 5.3.2 environment
When attempting to import a LEAP2A file, the following errors are
reported. This error is consistent with exports from the same system
and exports from a separate Mahara 1.2.6 system, also on PHP 5.3.2.
Export file is attached.
Error reported in browser:
Sorry - Importing the LEAP2A file failed.
This could be because you did not select a valid LEAP2A file to
upload. Alternatively, there may be a bug in Mahara causing your file
to fail, even though it is valid.
Please go back and try again, and if the problem persists, you may
want to post to the Mahara Forums to ask for help. Be prepared to be
asked for a copy of your file!
Error captured in error_log
[Wed Mar 30 16:03:21 2011] [error] [client 131.232.8.152] [WAR] 55
(import/leap/lib.php:122) simplexml_load_file():
/var/lib/mahara1/elab.athabascau.ca.mahara/temp/import/darrentest3-1301522601/extract/mahara-export-leap-user3-1301520892.zip:1:
parser error : Start tag expected, ', referer:
http://portfolio-dev.elab.athabascau.ca/admin/users/add.php
[Wed Mar 30 16:03:21 2011] [error] [client 131.232.8.152] Call stack (most
recent first):, referer:
http://portfolio-dev.elab.athabascau.ca/admin/users/add.php
[Wed Mar 30 16:03:21 2011] [error] [client 131.232.8.152] *
log_message(simplexml_load_file(): /var/lib/mahara1/elab.athab..., 8, true,
true, /usr/share/mahara1/htdocs/import/leap/lib.php, 122) at
/usr/share/mahara1/htdocs/lib/errors.php:444, referer:
http://portfolio-dev.elab.athabascau.ca/admin/users/add.php
[Wed Mar 30 16:03:21 2011] [error] [client 131.232.8.152] * error(2,
simplexml_load_file(): /var/lib/mahara1/elab.athab...,
/usr/share/mahara1/htdocs/import/leap/lib.php, 122, array(size 2)) at
Unknown:0, referer: http://portfolio-dev.elab.athabascau.ca/admin/users/add.php
[Wed Mar 30 16:03:21 2011] [error] [client 131.232.8.152] *
simplexml_load_file(/var/lib/mahara1/elab.athabascau.ca.mahara/temp/im...,
SimpleXMLElement, 67584) at
/usr/share/mahara1/htdocs/import/leap/lib.php:122, referer:
http://portfolio-dev.elab.athabascau.ca/admin/users/add.php
[Wed Mar 30 16:03:21 2011] [error] [client 131.232.8.152] *
PluginImportLeap-process() at
/usr/share/mahara1/htdocs/admin/users/add.php:300, referer:
http://portfolio-dev.elab.athabascau.ca/admin/users/add.php
[Wed Mar 30 16:03:21 2011] [error] [client 131.232.8.152] *
adduser_submit(object(Pieform), array(size 13)) at Unknown:0, referer:
http://portfolio-dev.elab.athabascau.ca/admin/users/add.php
[Wed Mar 30 16:03:21 2011] [error] [client 131.232.8.152] *
call_user_func_array(adduser_submit, array(size 2)) at
/usr/share/mahara1/htdocs/lib/pieforms/pieform.php:512, referer:
http://portfolio-dev.elab.athabascau.ca/admin/users/add.php
[Wed Mar 30 16:03:21 2011] [error] [client 131.232.8.152] *
Pieform-__construct(array(size 7)) at
/usr/share/mahara1/htdocs/lib/pieforms/pieform.php:161, referer:
http://portfolio-dev.elab.athabascau.ca/admin/users/add.php
[Wed Mar 30 16:03:21 2011] [error] [client 131.232.8.152] *
Pieform::process(array(size 7)) at
/usr/share/mahara1/htdocs/lib/pieforms/pieform.php:71, referer:
http://portfolio-dev.elab.athabascau.ca/admin/users/add.php
[Wed Mar 30 16:03:21 2011] [error] [client 131.232.8.152] *
pieform(array(size 7)) at /usr/share/mahara1/htdocs/admin/users/add.php:145,
referer: http://portfolio-dev.elab.athabascau.ca/admin/users/add.php
[Wed Mar 30 16:03:21 2011] [error] [client 131.232.8.152] , referer:
http://portfolio-dev.elab.athabascau.ca/admin/users/add.php
[Wed Mar 30 16:03:21 2011] [error] [client 131.232.8.152] [WAR] 55
(import/leap/lib.php:122) simplexml_load_file(): PK\x03\x04\x14, referer:
http://portfolio-dev.elab.athabascau.ca/admin/users/add.php
[Wed Mar 30 16:03:21 2011] [error] [client 131.232.8.152] Call stack (most
recent first):, referer:
http://portfolio-dev.elab.athabascau.ca/admin/users/add.php
[Wed Mar 30 16:03:21 2011] [error] [client 131.232.8.152] *
log_message(simplexml_load_file(): PK\x03\x04\x14, 8, true, true,
/usr/share/mahara1/htdocs/import/leap/lib.php,