<html><body bgcolor="#FFFFFF"><div>Hover over the share link and note the parameters?<br><br>On 20 Apr 2012, at 11:42, "Ron Mitchell" <<a href="mailto:ronm@mitchellmedia.co.uk">ronm@mitchellmedia.co.uk</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Pat<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">apologies for the delayed response but I wanted to test this on a pre 1.8 install to verify what happens...<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">In a pre 1.8 installation if I share an LO with another user when that user clicks preview it loads preview.xml from my lo folder e.g. USER-FILES/31-ronm-Nottingham/preview.xml?time=1334918728<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">In this current 1.8 beta if I share an LO with your account and then you try to preview that LO it's looking at <a href="mailto:USER-FILES/31-patrick.lockley@googlemail.com-Nottingham">USER-FILES/31-patrick.lockley@googlemail.com-Nottingham</a>/preview.xml?time=1334918794<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">So unless the way this works has changed (?) it seems like the preview code is looking in the wrong place e.g. the shared user account rather than the owner account. In the example below USER-FILES/31-ronm-Nottingham/preview.xml exists but <a href="mailto:USER-FILES/31-patrick.lockley@googlemail.com-Nottingham">USER-FILES/31-patrick.lockley@googlemail.com-Nottingham</a>/preview.xml doesn't but I'm not sure it should? Is the wrong username being passed somewhere?<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Cheers<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Ron<o:p></o:p></span></p><p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></a></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:xerte-dev-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Pat Lockley<br><b>Sent:</b> 20 April 2012 09:44<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: testing and tracking issues with XOT 1.8 beta<o:p></o:p></span></p></div><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Is the file there?<br><br>On Friday, April 20, 2012, Ron Mitchell wrote:<o:p></o:p></p><p class="MsoNormal">Hi Pat<br>it seems I spoke to soon when saying the sharing functionality is fixed :-(<br>It is fixed in terms of owners are now able to share access with other users<br>but it seems those other users get an error when trying to preview the LO.<br>I've shared a very simple LO with your account (just has a title page) and<br>you'll see that when you try to preview you'll get the following errors:<br><br>Warning:<br>file_get_contents(<a href="mailto:USER-FILES/31-patrick.lockley@googlemail.com-Nottingham/da"><a href="mailto:USER-FILES/31-patrick.lockley@googlemail.com-Nottingham">USER-FILES/31-patrick.lockley@googlemail.com-Nottingham</a>/da</a><br>ta.xml): failed to open stream: No such file or directory in<br>/var/www/vle/xot/modules/xerte/preview.php on line 35 Warning:<br>fopen(<a href="mailto:USER-FILES/31-patrick.lockley@googlemail.com-Nottingham/preview.xml"><a href="mailto:USER-FILES/31-patrick.lockley@googlemail.com-Nottingham">USER-FILES/31-patrick.lockley@googlemail.com-Nottingham</a>/preview.xml</a>):<br>failed to open stream: No such file or directory in<br>/var/www/vle/xot/modules/xerte/preview.php on line 37 Warning: fwrite()<br>expects parameter 1 to be resource, boolean given in<br>/var/www/vle/xot/modules/xerte/preview.php on line 38 Warning: fclose()<br>expects parameter 1 to be resource, boolean given in<br>/var/www/vle/xot/modules/xerte/preview.php on line 39<br><br>Jonathan also reported the same issue with an LO I shared with quite a few<br>accounts and obviously this hasn't been a problem with previous versions. Is<br>it another mangle as a result of the svn merge? Is there a fix?<br><br>Cheers<br>Ron<br><br>-----Original Message-----<br>From: <a href="javascript:;"><a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a></a><br>[<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"><a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a></a>] On Behalf Of Ron Mitchell<br>Sent: 19 April 2012 19:59<br>To: 'For Xerte technical developers'<br>Subject: [Xerte-dev] Re: testing and tracking issues with XOT 1.8 beta<br><br>Hi Pat<br>thanks for the code updates and regarding convention with the fields feel<br>free to change the category column or let me know what you feel they should<br>be.<br><br>I've uploaded your code updates and the project sharing is definitely fixed<br>now but I can't verify the management page fixes because the management.php<br>page is now showing a blank screen? Any ideas on that?<br><br>Ron<br><br>-----Original Message-----<br>From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"><a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a></a><br>[<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"><a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a></a>] On Behalf Of Pat Lockley<br>Sent: 19 April 2012 19:18<br>To: For Xerte technical developers<br>Subject: [Xerte-dev] Re: testing and tracking issues with XOT 1.8 beta<br><br>Could we get some convention with the fields - some stuff is PHP, some stuff<br>is referencing a page - it's a bit messed up.<br><br>On Thu, Apr 19, 2012 at 5:31 PM, Ron Mitchell <<a href="mailto:ronm@mitchellmedia.co.uk"><a href="mailto:ronm@mitchellmedia.co.uk">ronm@mitchellmedia.co.uk</a></a>><br>wrote:<br>> Hi all<br>> thanks to those who have been testing the XOT 1.8 beta via the JISC<br>> Techdis installation and recording issues via the Google doc we have<br>> set<br>up.<br>><br>> The list of items in the Google doc has increased dramatically since I<br>> shared that this morning but for obvious reasons please don't share<br>> the link to that via this list. If anyone else on the dev list reading<br>> this is keen to get involved in testing and better still fixing please<br>> contact me off-list to send you details.<br>><br>> The Google doc is just an initial way of sharing test results and I<br>> guess key bugs will be transferred to the google code issue tracker.<br>><br>> The categories of issues have grown but for me there are some<br>> immediate issues categorised as php/website code issues e.g. can't<br>> share a project, can't save anything via the management page and lot's<br>> of errors on various management pages.<br>><br>> These and more are listed in the Google doc but I'm not sure when, how<br>> and by whom the various issues will be fixed. There is a column for<br>> who will fix what and some additions to that but it seems there's<br>> quite a way to go before a 1.8 release is likely to be ready. However<br>> I think the Google doc is working as a way of listing and commenting<br>> on the issues so would be great if we can continue with that over the<br>> next<br>few days.<br>><br>> Cheers<br>> Ron<br>><br>><br>> _______________________________________________<br>> Xerte-dev mailing list<br>> <a href="mailto:Xerte-dev@lists.nottingham.ac.uk"><a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a></a><br>> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank"><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></a><br>><br>> This message and any attachment are intended solely for the addressee<br>> and<br>may contain confidential information. If you have received this message in<br>error, please send it back to me, and immediately delete it.   Please do not<br>use, copy or disclose the information contained in this message or in any<br>attachment.  Any views or opinions expressed by the author of this email do<br>not necessarily reflect the views of the University of Nottingham.<br>><br>> This message has been checked for viruses but the contents of an<br>> attachment may still contain software viruses which could damage your<br>computer system:<br>> you are advised to perform your own checks. Email communications with<br>> the University of Nottingham may be monitored as permitted by UK<br>legislation.<br>><br><br>_______________________________________________<br>Xerte-dev mailing list<br><a href="mailto:Xerte-dev@lists.nottingham.ac.uk"><a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a></a><br><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank"><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></a><br>This message and any attachment are intended solely for the addressee and<br>may contain confidential information. If you have received this message in<br>error, please s<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><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. <o:p></o:p></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. <o:p></o:p></p></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Xerte-dev mailing list</span><br><span><a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a></span><br><span><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></span><br><span></span><br><span>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.</span><br><span></span><br><span>This message has been checked for viruses but the contents of an attachment</span><br><span>may still contain software viruses which could damage your computer system:</span><br><span>you are advised to perform your own checks. Email communications with the</span><br><span>University of Nottingham may be monitored as permitted by UK legislation.</span><br><span></span><br></div></blockquote></body></html>