← Back to team overview

mahara-contributors team mailing list archive

[Bug 576026] Re: leap2a import fails

 

I added the "$cfg->sendemail = false;" to my config.php file and that
took care of the "Invalid address: You must provide at least one
recipient email address." error but the leap import still failed.  I've
been running it through a debugger and on line 82 of
/var/www/mahara/import/leap/lib.php it makes the function call "$data =
$this->get('data');"  which eventually throws an exception on line 80 of
/var/www/mahara/import/lib.php because the field 'data' doesn't exist.

Any ideas?

-- 
leap2a import fails
https://bugs.launchpad.net/bugs/576026
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: New

Bug description:
When importing a leap2a archive the import fails with the message "A nonrecoverable error occured. This probably means you have encountered a bug in the system".  In the top left of the screen is a second error message that appears to come from php directly (ie. not mahara code, not mahara style) which says "Invalid address: You must provide at least one recipient email address.".  If unzipped and examined, the archive *does* contain a valid email address.  

System exporting the leap2a archive:
Ubuntu 9.04
PHP 5.2.6 (Zend 2.2.0)
Mahara 1.2.4 (2009111013)
postgreSQL 8.3.10

System importing the leap2a archive:
Ubuntu 10.04
PHP 5.3.2 (Zend 2.3.0)
Mahara 1.2.4 (2009111013)
MySQL 5.0.75





References