← Back to team overview

mahara-contributors team mailing list archive

[Bug 600873] Re: Portfolio Export from Moodle fails

 

issue occurs if PHP 5 is installed - new version of Pear class added here:
http://gitorious.org/mahara/mahara/commit/613ae7c581c5976e69f95a526a3c0fb54d24f8d3
calls the new file PEAR5.php if php is installed and certain functions are being called (like is_tar)

fixed by adding the PEAR5.php file to master.

** Changed in: mahara
     Assignee: (unassigned) => Dan Marsden (danmarsden)

** Changed in: mahara
       Status: New => Fix Committed

** Changed in: mahara
    Milestone: None => 1.3.0

-- 
Portfolio Export from Moodle fails
https://bugs.launchpad.net/bugs/600873
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: Fix Committed

Bug description:
When exporting a file from the Assignment mod in Moodle 2.0 to Mahara via the portfolio plugin I get the following error in Moodle:
Failed to start communication with remote server: Payload not encryptedERROR 1:
1:Payload not encrypted 

This seems to occur as the function send_content_ready returns an empty response...

tracing this further it seems to die in Mahara when the following call is made in  add_artefacts() in import/file/lib.php

                $id = ArtefactTypeFile::save_file(
                    $uzd . $f->actualfilename,
                    $data,
                    $this->get('usrobj'),
                    true
                );

I haven't had a chance to see why that is failing - might get a chance on the weekend to look closer.





References