← Back to team overview

mahara-contributors team mailing list archive

[Bug 576026] Re: leap2a import fails

 

On line 308 of /var/www/mahara/admin/users/add.php the global variable
$LEAP2A_FILE is used

$filename = substr($LEAP2A_FILE, strlen(get_config('dataroot')));

I've traced the call stack several times and I can't find that variable
being defined anywhere.  I could just be blind but from what I can make
of the flow of the code, if it can't find the file, it would make sense
that the 'data' field wouldn't exist.

-- 
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