<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I fixed issue 2 yesterday evening. Too many people ran into that
one.<br>
<br>
<br>
<div class="moz-cite-prefix">Op 4-5-2013 11:21, Pat @ Pgogy schreef:<br>
</div>
<blockquote
cite="mid:D3CACC60-ADB0-4B4F-9DC5-753318F3A5D6@pgogywebstuff.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<div>2 is simple enough to fix</div>
<div><br>
</div>
<div>3 is a problem - would want want the maximum size to be a php
ini limit, or a XOT specific limit? Different sites on the same
server?</div>
<div><br>
On 3 May 2013, at 22:09, "Thomas Rochford" <<a
moz-do-not-send="true"
href="mailto:thomas.rochford@jiscadvance.ac.uk">thomas.rochford@jiscadvance.ac.uk</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1013261970;
mso-list-type:hybrid;
mso-list-template-ids:771137760 134807569 134807577 134807579 134807567 134807577 134807579 134807567 134807577 134807579;}
@list l0:level1
{mso-level-text:"%1\)";
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></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]-->
<div class="WordSection1">
<p class="MsoNormal">Good Evening Tom,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">First of all a Big Thank you for your
work. As a small gesture of appreciation I have produced a
document describing how to upload Learning Objects
directly, via FTP, webDav etc. If you think it will be
useful, please put it somewhere appropriate on the
Community web site. It would be good if you (and others?)
looked it over, in case I have made some mistakes or you
feel things could have been explained a little better.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It was an ‘interesting’ experience, and
I learnt a number of lessons that may help others.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoListParagraph"
style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="mso-list:Ignore">1)<span style="font:7.0pt
"Times New Roman""> </span></span><!--[endif]-->My
website is hosted in Germany (I believe) by 1&1
Internet. They offer quite a restricted interface compared
with some others that I have seen and I think that there
is a ridiculously long period in which pages are cached by
the server. For no reason that I can think of, Tom’s new
code (replacing the ‘fault’ occasioned by not having a
temporary upload file specified in php.ini with a
‘warning’) did not seem to work. Furthermore any changes
that I made (e.g. trying to FORCE it to go to page1.php by
commenting out just about everything else), didn’t work
either, so I suspect the output had been cached by the
server (I flushed the browser cache). So I just went
straight to page1.php. It might be a good idea to add a
link to this at the bottom, rather than using the ‘submit’
button.<br>
In any event generating a fault or warning of this kind is
probably not necessary. Because I wanted to do a clean
installation in order to test it out, I had to re-import
my existing LOs as .zip files and they all worked well,
provided they were less than the ridiculously low level
set by 1&1. But of that more anon…<o:p></o:p></p>
<p class="MsoListParagraph"
style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="mso-list:Ignore">2)<span style="font:7.0pt
"Times New Roman""> </span></span><!--[endif]-->The
next problem I encountered was to do with database.php.
1&1 do not allow you to choose the name of your
database and give it a thoroughly unmemorable and easily
mistyped name and the same for the managing account. I
tried to copy and paste them from the web page but, in
doing so, inadvertently copied an extra space at the end
of the database name. Although I went back via the browser
and re-entered it correctly, the installer still had the
pesky space and I had to get rid of it by editing
database.php. Would it be possible to overwrite any
existing database.php with a new one every time the data
is re-submitted , because I’m sure other users could also
make this mistake.<o:p></o:p></p>
<p class="MsoListParagraph"
style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="mso-list:Ignore">3)<span style="font:7.0pt
"Times New Roman""> </span></span><!--[endif]-->The
final problem I had was uploading some LOs. I’m sure it
was size related, but the generic failure message about
only accepting zip files threw me for a few minutes. I
would like to suggest that the upload script checks to
make sure that the size of the object to be uploaded is
less than ‘max_file_uploadsize’ (or whatever the php
variable is called), before attempting the upload and
warns the user that they will have to transfer the data
manually if it is.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Because of problem #3 I documented the
process of FTP’ing data directly up to Toolkits as
described in the attached document.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I should point out that this could be
quite an issue because many smaller organisations are
either using the free JANET-hosted web servers, or other
commercially hosted ones which have locked down php.ini
files which they will not change, so some or all of these
points may have relevance to a significant number of other
users.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Apologies for the length.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Kindest regards, Thomas<o:p></o:p></p>
</div>
<br>
<br>
<br>
</div>
</blockquote>
<blockquote type="cite">
<div><Manual Uploads to Xerte.docx></div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>Xerte-dev mailing list</span><br>
<span><a moz-do-not-send="true"
href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a></span><br>
<span><a moz-do-not-send="true"
href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></span><br>
</div>
</blockquote>
<br>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Xerte-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
</pre>
</body>
</html>