<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Verdana","sans-serif";
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Verdana","sans-serif";
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>I can&#8217;t get those errors, but the path thing is an issue<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>Change from<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>root file path = c:\xampp\htdocs\xertetoolkits\<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>to<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>root file path = c:/xampp/htdocs/xertetoolkits/<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>as in firebug the \ are seen as escape characters</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal style='margin-left:36.0pt'><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"'>
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Johnathan
Kemp<br>
<b>Sent:</b> 09 June 2009 14:51<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] Xerte Toolkits - Project properties - Mediaandquota-can'tdelete
files not in use<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>Hello Pat,</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>I was not sure whether for the
time being you wanted just the last couple of characters deleting or everything
to the left of&nbsp; &quot;&lt;--- remove this&quot; so here are the results of
both.</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>Deleting&nbsp;the </span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>\&quot;</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>as requested&nbsp;solves the
inclusion of an extra &quot;.</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>Internet Explorer continues to
throw its error message and deletion of files in Firefox or IE still does not
happen.</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>Deleting the whole line</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Courier New"'>onclick=\&quot;javascript:delete_file('&quot; .
$dir_path . &quot;/&quot; . $f . &quot;')&quot; . &quot;\&quot; \&quot;</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>resolves the Internet Explorer
error messages as well but then leaves no function call to delete the selected
file.</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>I hope this gives you the
information you require :-)</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>In my site settings I have</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>module path = modules/</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>website code path = website_code/</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>short file area path = USER-FILES/</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>php library path =
website_code/php/</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>root file path =
c:\xampp\htdocs\xertetoolkits\</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>import path =
c:\xampp\htdocs\xertetoolkits\import/</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>File uploading from within pages
works and uploading a file from the project properties / media quota section
works.</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>Am I wrong in thinking that a path
like the one shown in the extraction from fiddler below is going to fail
because of the mix of back and forward slashes?</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>onclick=&quot;javascript:delete_file('C:\xampp\htdocs\xertetoolkits\USER-FILES/5-john.kemp-Nottingham/media/xerteTest4.flv')&quot;</span><o:p></o:p></p>

<p style='margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Am I getting this mix of back and forward slashes because of
incorrect settings in my site settings?</span><o:p></o:p></p>

<p style='margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Thank you for your help with this</span><o:p></o:p></p>

<div>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>Johnathan</span><o:p></o:p></p>

</div>

<p style='margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Johnathan
Kemp<br>
IT Dev. Manager<br>
Connexions Staffordshire<br>
</span><a href="http://www.cxstaffs.co.uk/"><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>www.cxstaffs.co.uk</span></a><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>01785 355714</span><o:p></o:p></p>

<p style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

<div>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
lang=EN-US>

<hr size=2 width="100%" align=center>

</span></div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><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"'>
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Patrick
Lockley<br>
<b>Sent:</b> 09 June 2009 13:35<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] Xerte Toolkits - Project properties -
Mediaandquota-can't delete files not in use</span><span lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'>Website_code/php/properties/media_and_quota_template.php<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'>This is near line 83 in my text
editor (its in the media_folder_loop function).<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:9.0pt;
font-family:"Courier New"'>$result = &quot;&lt;div class=\&quot;filename
notfound\&quot; onclick=\&quot;document.getElementById('linktext').value='&quot;
. $xerte_toolkits_site-&gt;site_url .
str_replace($xerte_toolkits_site-&gt;root_file_path,&quot;&quot;,$dir_path) .
&quot;/&quot; . $f&nbsp; . &quot;'\&quot;&gt;&quot; . $f .
&quot;&lt;/div&gt;&lt;div class=\&quot;filesize notfound\&quot;&gt;&quot; .
substr((filesize($full)/1000000),0,4) . &quot; MB&lt;/div&gt;&lt;div
class=\&quot;fileinuse notfound notfoundtextcolor\&quot;&gt;Not in use &lt;img
alt=\&quot;Click to delete\&quot; title=\&quot;Click to delete\&quot;
&nbsp;onclick=\&quot;javascript:delete_file('&quot; . $dir_path . &quot;/&quot;
. $f . &quot;')&quot; . &quot;\&quot; \&quot; </span><span style='font-size:
22.0pt;font-family:"Courier New";color:red'>&lt;------ Remove this</span><span
style='font-size:22.0pt;font-family:"Courier New"'> </span><span
style='font-size:9.0pt;font-family:"Courier New"'>align=\&quot;absmiddle\&quot;
src=\&quot;website_code/images/delete.gif\&quot; /&gt;&lt;/div&gt;&quot;;<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:9.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:9.0pt;
font-family:"Courier New"'>And try again<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:9.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:9.0pt;
font-family:"Courier New"'>Let me know if this works so I can fix it for the
next patch.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:9.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:9.0pt;
font-family:"Courier New"'>Apologies<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:9.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal style='margin-left:72.0pt'><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"'>
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Johnathan
Kemp<br>
<b>Sent:</b> 09 June 2009 13:28<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] Xerte Toolkits - Project properties - Media
andquota-can't delete files not in use<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal style='margin-left:72.0pt'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>Hello Pat,</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>I have installed firebug and
fiddler.</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>On opening the project properties
and then selecting the Media and Quota tab -</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>After Internet Explorer throws a
box that has a blue title&nbsp;bar that just says &quot;Error&quot; and which
contains the text &quot;A Runtime Error has occurred. Do you wish to debug?</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>Line: 0 </span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>Error: Expected hexadecimal digit</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>If I choose to debug and click the
Yes button The visual Studio just in time debugger box opens to offer me a
choice of Microsoft Script Editor or Visual Studio 2005</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>However at the top of this
dialogue box is the text &quot;An unhandled exception ('Unhandled Exception')
occurred in iexplore.exe [5528]&quot;</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>I have not been able to establish
what that might mean.</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>I used fiddler to extract the code
that had been generated for the media and quota page and created a html file
that I ran from the xertetookits folder.</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>The same errors occurred. When I
broke the text down into individual lines the errors were reported consistently
against the line immediately preceding the onclick event which is part of the
following code block.</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>The code block below is copied
from fiddler un-edited.</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>I could be wrong here but it looks
to me that there may be two potential issues</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:108.0pt;text-indent:-18.0pt'>1.<span style='font-size:7.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>an extra &quot; after the closing ) in the delete_file call</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:108.0pt;text-indent:-18.0pt'>2.<span style='font-size:7.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>a mixing of back and forward slashes in the file reference</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>&lt;div class=&quot;fileinuse
notfound notfoundtextcolor&quot;&gt;<br>
Not in use <br>
&lt;img alt=&quot;Click to delete&quot; title=&quot;Click to delete&quot;&nbsp;
onclick=&quot;javascript:delete_file('C:\xampp\htdocs\xertetoolkits\USER-FILES/5-john.kemp-Nottingham/media/xerteTest1.flv')&quot;
&quot; align=&quot;absmiddle&quot;
src=&quot;website_code/images/delete.gif&quot; /&gt;<br>
&lt;/div&gt;</span><o:p></o:p></p>

<div>

<p class=MsoNormal style='margin-left:72.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>Changing all the slashes to back
slashes and removing the extra &quot; did not prevent the Internet Explorer
error, though changing the onclick event to onclick=&quot;&quot; did stop the
error which suggests that the error is something to do with the call to
delete_file(). Incidentally in Firefox removing the extra &quot; and changing
to all back slashes did cause firefox to pause when the red x was clicked as if
it was trying to do something, but the file was not deleted (possibly because I
was working with extracted code and something else was needed to enable the
process to be completed.&nbsp;</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:72.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>I don't know if this gives you any
ideas what may be happening.</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:72.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>The only other thought I had
regarding why firefox was not deleting the file was if there is a file
permission issue preventing the deletion. Should I be using a htaccess file in
order to make the deletion possible? Could there be something incorrect in my
apache configuration to cause the mixing of back and forward slashes?</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:72.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>Kind regards</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:72.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>Johnathan</span><o:p></o:p></p>

</div>

<p style='margin-left:72.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Johnathan
Kemp<br>
IT Dev. Manager<br>
Connexions Staffordshire<br>
</span><a href="http://www.cxstaffs.co.uk/"><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>www.cxstaffs.co.uk</span></a><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>01785 355714</span><o:p></o:p></p>

<p style='margin-left:72.0pt'>&nbsp;<o:p></o:p></p>

<div>

<p class=MsoNormal style='margin-left:72.0pt'>&nbsp;<o:p></o:p></p>

</div>

<p class=MsoNormal style='margin-left:72.0pt'><o:p>&nbsp;</o:p></p>

<div style='margin-left:36.0pt'>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
lang=EN-US>

<hr size=2 width="100%" align=center>

</span></div>

</div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:72.0pt'><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"'>
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Patrick
Lockley<br>
<b>Sent:</b> 09 June 2009 10:59<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] Xerte Toolkits - Project properties - Media and
quota-can't delete files not in use</span><span lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'>Hello,<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'>Testing in IE8 it works here
&#8211; and I get a red X displayed.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'>Testing in Firefox 3.0.8 it
works here &#8211; and I get a red X displayed.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'>Looking at the code in
website_code/php/properties/media_and_quota_template.php &#8211; there is no
hex in there (it&#8217;s all styled from CSS) &#8211; is the error you&#8217;re
getting JS, PHP, or something else?<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'>If you&#8217;re in firefox could
you install firebug? That will watch the PHP and let you know any JS errors. In
IE you could install fiddler as well.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'>Thanks<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'>Pat<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal style='margin-left:108.0pt'><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"'>
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Johnathan
Kemp<br>
<b>Sent:</b> 09 June 2009 10:42<br>
<b>To:</b> xerte@lists.nottingham.ac.uk<br>
<b>Subject:</b> [Xerte] Xerte Toolkits - Project properties - Media and quota
-can't delete files not in use<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal style='margin-left:108.0pt'><o:p>&nbsp;</o:p></p>

<div>

<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>Hello Xerte Team,</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:108.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>I have a test Xerte on-line Toolkits set up
running and am setting up a few projects to show colleagues how to use Xerte.</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:108.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>In the Project Properties / Media and Quota
section there are several files listed as &quot;not in use&quot;. These are
.swf and .flv files that I loaded into project pages and then as I carried on
testing I edited the pages and loaded different files, so the original ones
became redundant.</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:108.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>In Firefox 3.0.5 when I click on the red X an
alert box pops up asking &quot;Are you sure you want to delete&nbsp;this
file?&quot; with&nbsp;OK or Cancel options.</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>When I click on OK&nbsp;the alert box
disappears but nothing else seems to happen. The file I want to delete is still
there, even if I completely close down my browser windows and start afresh.</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:108.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>In Internet Explorer version 7.0.5730.11,
when I open project properties / media and quota the quota details are
displayed, save that place markers are shown instead of the red x and an error
message is displayed &quot;A runtime error has occurred. Do you wish to Debug?
Line: 0 Error: Expected hexadecimal digit&quot;. If I elect not to debug the
first red x is displayed and the error message is shown again, always for Line:
0. This repeats until every red x is finally displayed. However once displayed,
whilst the tooltip shows for the red x nothing happens if you click on them,
i.e. no alert box is displayed and the file is not deleted.</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:108.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>Is this likely to be something wrong with the
way I have things configured, or is there an error in the Xerte on-line
Toolkits code?</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:108.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>I am running on windows with an xampp
installation.</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:108.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>Kind regards</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:108.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>Johnathan</span><o:p></o:p></p>

</div>

<p style='margin-left:108.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Johnathan
Kemp<br>
IT Dev. Manager<br>
Connexions Staffordshire<br>
</span><a href="http://www.cxstaffs.co.uk/"><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>www.cxstaffs.co.uk</span></a><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>01785 355714</span><o:p></o:p></p>

<p style='margin-left:108.0pt'>&nbsp;<o:p></o:p></p>

<div>

<p class=MsoNormal style='margin-left:108.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<div style='margin-left:36.0pt'>

<div style='margin-left:36.0pt'>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'>

<hr size=2 width="100%" align=center>

</div>

</div>

</div>

<p class=MsoNormal style='margin-left:108.0pt'>This email and any files
transmitted with it are confidential and are intended solely for the use of the
individual(s) or entity(s) to whom they are addressed. All messages are
monitored for virus, high risk files and inappropriate content. As a result
users should be aware that this mail maybe accessed, read and the right is
reserved to reject, return, remove attachments or delete if considered to be
inappropriate or unsuitable. Liability cannot be accepted for any loss or
damage arising from this email (or any attachments) or from scripts or any
virus transmitted. This communication represents the originator's personal
views and opinions, which do not necessarily reflect those of Connexions
Staffordshire. If you are not the original recipient or the person responsible
for delivering the email to the intended recipient, be advised that you have
received this email in error, and that any use, dissemination, forwarding,
printing, or copying of this email is strictly prohibited. If you received this
email in error, please immediately reply to the sender or notify
postmaster@cxstaffs.co.uk Connexions Staffordshire Limited is registered in
England No.4355170 Registered office: Foregate House, 70 Foregate Street,
Stafford, Staffordshire, ST16 2PX<o:p></o:p></p>

</div>

<div>

<div style='margin-left:36.0pt'>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'>

<hr size=2 width="100%" align=center>

</div>

</div>

<p class=MsoNormal style='margin-left:72.0pt'>This email and any files
transmitted with it are confidential and are intended solely for the use of the
individual(s) or entity(s) to whom they are addressed. All messages are
monitored for virus, high risk files and inappropriate content. As a result
users should be aware that this mail maybe accessed, read and the right is
reserved to reject, return, remove attachments or delete if considered to be
inappropriate or unsuitable. Liability cannot be accepted for any loss or
damage arising from this email (or any attachments) or from scripts or any
virus transmitted. This communication represents the originator's personal
views and opinions, which do not necessarily reflect those of Connexions
Staffordshire. If you are not the original recipient or the person responsible
for delivering the email to the intended recipient, be advised that you have
received this email in error, and that any use, dissemination, forwarding,
printing, or copying of this email is strictly prohibited. If you received this
email in error, please immediately reply to the sender or notify
postmaster@cxstaffs.co.uk Connexions Staffordshire Limited is registered in
England No.4355170 Registered office: Foregate House, 70 Foregate Street,
Stafford, Staffordshire, ST16 2PX<o:p></o:p></p>

</div>

<div>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'>

<hr size=2 width="100%" align=center>

</div>

<p class=MsoNormal style='margin-left:36.0pt'>This email and any files
transmitted with it are confidential and are intended solely for the use of the
individual(s) or entity(s) to whom they are addressed. All messages are
monitored for virus, high risk files and inappropriate content. As a result
users should be aware that this mail maybe accessed, read and the right is
reserved to reject, return, remove attachments or delete if considered to be
inappropriate or unsuitable. Liability cannot be accepted for any loss or
damage arising from this email (or any attachments) or from scripts or any
virus transmitted. This communication represents the originator's personal
views and opinions, which do not necessarily reflect those of Connexions
Staffordshire. If you are not the original recipient or the person responsible
for delivering the email to the intended recipient, be advised that you have
received this email in error, and that any use, dissemination, forwarding,
printing, or copying of this email is strictly prohibited. If you received this
email in error, please immediately reply to the sender or notify postmaster@cxstaffs.co.uk
Connexions Staffordshire Limited is registered in England No.4355170 Registered
office: Foregate House, 70 Foregate Street, Stafford, Staffordshire, ST16 2PX<o:p></o:p></p>

</div>

</div>

</body>

</html>