<html>
<head>
<meta name="generator" content="Windows Mail 17.5.9600.20279">
<style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoNormal, li.MsoNormal, div.MsoNormal {
margin:0in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, 
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, 
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style></head>
<body dir="ltr">
<div data-externalstyle="false" dir="ltr" style="font-family: 'Calibri', 'Arial', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic';font-size:12pt;"><div>Hi Tom,</div><div><br></div><div>This seems to have changed the problem. When I run with error reporting turned on in config.php, I get a load of warnings as shown below:</div><div><br></div><div><img tabindex="-1" style="max-height: 640px; max-width: 640px;" src="cid:Image837.png@142000dea1c346"><br></div><div data-signatureblock="true"><div><br></div><div>However the object is imported and shows up in the workspace when I click on the OK button. If I click on ‘edit’ I get nothing at all, but if I click on ‘properties’ and then list the Media, everything shows up. I can also see everything in File Explorer. You can see all this in the attached image.</div><div><br></div><div>I’ve had a look at it with the management.php page and the access is set to ‘private’ however if I look at the properties, it’s set to ‘public’. None of the other objects seem to exhibit this behaviour, but I’m not sure if this is a symptom or a cause!</div><div><br></div><div>I’m surprised this doesn’t show up in proper server testing. I’ll try it on my Web Server and see if it’s something that’s specific to XAMPP/USB Drives, but I need to prepare for a visit to one of our providers tomorrow, so may not be able to fit this in today.</div><div><br></div><div>Kindest regards, Thomas</div><div>Sent from Windows Mail</div><div><br></div></div><div style="padding-top: 5px; border-top-color: rgb(229, 229, 229); border-top-width: 1px; border-top-style: solid;"><div><font face=" 'Calibri', 'Arial', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic'" style='line-height: 15pt; letter-spacing: 0.02em; font-family: "Calibri", "Arial", "Segoe UI", "Meiryo", "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic"; font-size: 12pt;'><b>From:</b> <a href="mailto:reijnders@tor.nl" target="_parent">Tom Reijnders</a><br><b>Sent:</b> ‎Saturday‎, ‎26‎ ‎October‎ ‎2013 ‎10‎:‎08<br><b>To:</b> <a href="mailto:xerte-dev@lists.nottingham.ac.uk" target="_parent">For Xerte technical developers</a></font></div></div><div><br></div><div dir="">
    Fixed this one.<br>
    <br>
    <div class="moz-cite-prefix">Tom Reijnders schreef op 26-10-2013
      10:58:<br>
    </div>
    <blockquote style="margin-top: 0px; margin-bottom: 0px;" cite="mid:526B8451.7060603@tor.nl">
      
      Thomas's issue has to do with some debugging code left behind by
      someone (I think it was Pat).<br>
      <br>
      I'll have a closer look.<br>
      <br>
      <br>
      <div class="moz-cite-prefix">Smith, John schreef op 26-10-2013
        10:00:<br>
      </div>
      <blockquote style="margin-top: 0px; margin-bottom: 0px;" cite="mid:ovn08sl4r8cgmwmi2d0x4cre.1382774438404@email.android.com">
        <pre>Hi Thomas

Yes i was referring to Tom's issue number 2 but your issue seems to be a separate third issue...

I think Tom made some changes to the import/export code to solve in-memory issues so he might be able to shed some light on your problem.

You always seem to have a very up to date windows install though so it would be very useful if you could try to replicate the media upload issue in Firefox 24 on whatever windows version you have. I think the Jisc sandbox is running the very latest version of the software now.

Thanks in advance.

Regards

John Smith
Learning Technologist
School of Health and Life Sciences

Sent from Samsung Galaxy SII



"Thomas Rochford (Jiscadvance)" <a class="moz-txt-link-rfc2396E" href="mailto:thomas.rochford@jiscadvance.ac.uk" target="_parent"><thomas.rochford@jiscadvance.ac.uk></a> wrote:


Hi John,

Your image shows media rather than a zip being upload. My problem is that I can upload the zip file and Xerte can unzip it in the import directory, however the file does not appear in the Workspace and there’s nothing in the USER_FILES directory and nothing in the template_details table, and no success/failure message under normal settings.

I’ve turned on error reporting and get this:

[<a class="moz-txt-link-freetext" href="cid:_com_android_email_attachmentprovider_1_28415_RAW@sec.galaxytab" target="_parent">cid:_com_android_email_attachmentprovider_1_28415_RAW@sec.galaxytab</a>]

The offending line reads

echo $zip $new_file_name .”<br />”;

Kindest regards, Thomas




From: <a class="moz-txt-link-abbreviated" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_parent">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a class="moz-txt-link-freetext" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_parent">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Smith, John
Sent: 25 October 2013 16:01
To: For Xerte technical developers
Subject: [Xerte-dev] Re: New 2.1, there are 2 problems in Firefox only

Hi Tom, Thomas,

I’ve now updated the server to the latest install and I’m still not seeing the issue:

[<a class="moz-txt-link-freetext" href="cid:_com_android_email_attachmentprovider_1_28409_RAW@sec.galaxytab" target="_parent">cid:_com_android_email_attachmentprovider_1_28409_RAW@sec.galaxytab</a>]

I’ve also tracked the upload.php url parameters and get the correct URL (which is why the upload happens)

POST /modules/xerte/engine/upload.php?path=USER-FILES/1-pat-Nottingham/media/&BROWSER=firefox&AUTH=xerte&PHPSESSID=**mysession** HTTP/1.1

SO I’m not sure why you are seeing &null instead of BROWSER=firefox&AUTH=xerte&PHPSESSID=**mysession** HTTP/1.1

That is definitely the cause of the issue on your machine. The session cannot be restarted in upload.php because it doesn’t have the correct information. I assume you have cleared the cache since upgrade although the code to pass the correct info to upload.php hasn’t changed for a while…

Thinking about it too, we I updated the wizard to use file_exists.php but that message you got is perhaps as confusing… perhaps we should leave the file_exists.php and create a new file which can give some better feedback on whether it is a session issue, a permissions issue, etc etc.

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: <a class="moz-txt-link-abbreviated" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_parent">xerte-dev-bounces@lists.nottingham.ac.uk</a><a class="moz-txt-link-rfc2396E" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_parent"><mailto:xerte-dev-bounces@lists.nottingham.ac.uk></a> [<a class="moz-txt-link-freetext" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_parent">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Thomas Rochford (Jiscadvance)
Sent: Friday, October 25, 2013 3:29 PM
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: New 2.1, there are 2 problems in Firefox only

Hi,

I’ve just checked, the files are there, in the import folder, all neatly unzipped, so it’s not a permissions problem with the file system.

I don’t know enough about the way the code works the delve much deeper, but my next thoughts are that if it’s not the file system properties, it could be something to do with the SQL, or the way it transfers the date to the USER_FILES.

I’ve done a manual transfer to the USER_FILES (creating a stub in the editor, then uploading the media and template.xwd into the directory created, and copying the latter to ‘data’ after deleting the ‘data’ file that was there) and that works just fine. I’m not sure if I need to overwrite the ‘data’ file or not, but it seems to work.

Kindest Regards,
Thomas
==========================================================
Thomas Rochford  |  e-Learning Advisor  |  Jisc RSC Eastern
Tel: 01223 564749 |  Mobile: 07500 669002  |  Skype: cambridge.serendipity
Email: <a class="moz-txt-link-abbreviated" href="mailto:thomas.rochford@jiscadvance.ac.uk" target="_parent">thomas.rochford@jiscadvance.ac.uk</a><a class="moz-txt-link-rfc2396E" href="mailto:thomas.rochford@jiscadvance.ac.uk" target="_parent"><mailto:thomas.rochford@jiscadvance.ac.uk></a>  |  Web: <a class="moz-txt-link-freetext" href="http://www.jiscrsc.ac.uk/eastern" target="_parent">http://www.jiscrsc.ac.uk/eastern</a>
Cambridge Serendipity, 35 Gough Way, Cambridge, CB3 9LN
For the full range of RSC UK events, resources and blog, visit <a class="moz-txt-link-freetext" href="http://www.jiscrsc.ac.uk" target="_parent">http://www.jiscrsc.ac.uk</a><a class="moz-txt-link-rfc2396E" href="http://www.jiscrsc.ac.uk/" target="_parent"><http://www.jiscrsc.ac.uk/></a>



From: <a class="moz-txt-link-abbreviated" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_parent">xerte-dev-bounces@lists.nottingham.ac.uk</a><a class="moz-txt-link-rfc2396E" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_parent"><mailto:xerte-dev-bounces@lists.nottingham.ac.uk></a> [<a class="moz-txt-link-freetext" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_parent">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Smith, John
Sent: 25 October 2013 14:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: New 2.1, there are 2 problems in Firefox only

Oh right ok, I’ll give it a try – that server is relatively up to date (not latest though) but I wasn’t aware of any code changes to the upload path (other than the moov stuff being removed)…

Let me update and try again…

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: <a class="moz-txt-link-abbreviated" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_parent">xerte-dev-bounces@lists.nottingham.ac.uk</a><a class="moz-txt-link-rfc2396E" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_parent"><mailto:xerte-dev-bounces@lists.nottingham.ac.uk></a> [<a class="moz-txt-link-freetext" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_parent">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Tom Reijnders
Sent: Friday, October 25, 2013 2:21 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: New 2.1, there are 2 problems in Firefox only

No I am not, and I am using the latest 2.1

[<a class="moz-txt-link-freetext" href="cid:_com_android_email_attachmentprovider_1_28410_RAW@sec.galaxytab" target="_parent">cid:_com_android_email_attachmentprovider_1_28410_RAW@sec.galaxytab</a>]
Smith, John schreef op 25-10-2013 15:16:
Hmm..

Tom, are you using windows 8.1?

I just tried in Windows 7 with Firefox 24 and it worked fine for me… Can anyone else with Windows 8 or 8.1 confirm whether it works for them?

[<a class="moz-txt-link-freetext" href="cid:_com_android_email_attachmentprovider_1_28411_RAW@sec.galaxytab" target="_parent">cid:_com_android_email_attachmentprovider_1_28411_RAW@sec.galaxytab</a>]

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: <a class="moz-txt-link-abbreviated" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_parent">xerte-dev-bounces@lists.nottingham.ac.uk</a><a class="moz-txt-link-rfc2396E" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_parent"><mailto:xerte-dev-bounces@lists.nottingham.ac.uk></a> [<a class="moz-txt-link-freetext" href="mailto:xerte-d" target="_parent">mailto:xerte-d</a><a class="moz-txt-link-rfc2396E" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_parent"><mailto:xerte-dev-bounces@lists.nottingham.ac.uk></a>

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.
<a class="moz-txt-link-freetext" href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name%2c6219%2cen.html" target="_parent">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html</a>

Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
<a class="moz-txt-link-freetext" href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name%2c15691%2cen.html" target="_parent">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html</a>
</pre>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre>_______________________________________________
Xerte-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xerte-dev@lists.nottingham.ac.uk" target="_parent">Xerte-dev@lists.nottingham.ac.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_parent">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a>
</pre>
      </blockquote>
      <br>
      <pre class="moz-signature">-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

</pre>
      <br>
      <p>This message and any attachment are intended solely for the
        addressee and may contain confidential information. If you have
        received this message in error, please send it back to me, and
        immediately delete it.   Please do not use, copy or disclose the
        information contained in this message or in any attachment.  Any
        views or opinions expressed by the author of this email do not
        necessarily reflect the views of the University of Nottingham.</p>
      <p>This message has been checked for viruses but the contents of
        an attachment may still contain software viruses which could
        damage your computer system, you are advised to perform your own
        checks. Email communications with the University of Nottingham
        may be monitored as permitted by UK legislation.</p>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
Xerte-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xerte-dev@lists.nottingham.ac.uk" target="_parent">Xerte-dev@lists.nottingham.ac.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_parent">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature">-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

</pre>
  
<br>
<p>This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.</p><p>This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.</p><br>


</div></div>
</body>
</html>