Tested on Mahara 15.04:
When I export a portfolio as HTML website and I use the social media block in a page, the following error occurs:
<div class="backtrace">[WAR] b7 (export/html/lib.php:215) copy(/home/kristina/code/1504stable/htdocs/artefact/internal/blocktype/socialprofile/theme/raw/static/images/email.png): failed to open stream: No such file or directory</div>
<div class="backtrace"><strong>Call stack (most recent first):</strong> <ul><li><span style="color:#933;"></span><span style="color:#060;"></span><span style="color:#339;">log_message</span><span style="color:#060;">(</span><span style="color:#f00;">"copy(/home/kristina/code/1504stable/htdocs/artefac...", 8, true, true, "/home/kristina/code/1504stable/htdocs/export/html/...", 215</span><span style="color:#060;">)</span> at <strong>/home/kristina/code/1504stable/htdocs/lib/errors.php:441</strong></li><li><span style="color:#933;"></span><span style="color:#060;"></span><span style="color:#339;">error</span><span style="color:#060;">(</span><span style="color:#f00;">2, "copy(/home/kristina/code/1504stable/htdocs/artefac...", "/home/kristina/code/1504stable/htdocs/export/html/...", 215, array(size 22)</span><span style="color:#060;">)</span> at <strong>Unknown:0</strong></li><li><span style="color:#933;"></span><span style="color:#060;"></span><span style="color:#339;">copy</span><span style="color:#060;">(</span><span style="color:#f00;">"/home/kristina/code/1504stable/htdocs/artefact/int...", "/var/lib/maharadata/1504stable/export/6/1432243091..."</span><span style="color:#060;">)</span> at <strong>/home/kristina/code/1504stable/htdocs/export/html/lib.php:215</strong></li><li><span style="color:#933;">PluginExportHtml</span><span style="color:#060;">-></span><span style="color:#339;">export</span><span style="color:#060;">(</span><span style="color:#f00;"></span><span style="color:#060;">)</span> at <strong>/home/kristina/code/1504stable/htdocs/export/download.php:98</strong></li></div>
Could not copy static file '/home/kristina/code/1504stable/htdocs/artefact/internal/blocktype/socialprofile/theme/raw/static/images/email.png'
I don't get any error message with the Leap2A export.
Could this be related to bug #1317435?
This was fixed along the way.