<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>That helped, but now this (same 336 kB)</div><div><br></div><div>Hugh</div><img id="b0327685-9acb-4320-8c32-e2d57dd5b18c" height="68" width="502" apple-width="yes" apple-height="yes" src="cid:128228CF-6E7C-4E14-9E98-1FD95B2FFBFE"><br><div><div>On Nov 12, 2012, at 7:12 AM, Jonathan Sattelberger wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><tt>Done. Added if(!in_array(</tt><u><tt><font color="#ff0000"><b>strtolower</b></font></tt></u><tt>($filetype),
$ALLOWED_TYPES))</tt><tt><br>
</tt><tt><br>
</tt><tt>In reference to:</tt><tt><br>
</tt><tt><br>
</tt><tt>$ALLOWED_TYPES = array('jpg', 'jpe', 'jpeg', 'png'); //
allowed extensions</tt><tt><br>
</tt><tt>$LOOKUP_TYPES = array(</tt><tt><br>
</tt><tt> 'jpg' => 'image/jpeg',</tt><tt><br>
</tt><tt> 'jpe' => 'image/jpeg',</tt><tt><br>
</tt><tt> 'jpeg' => 'image/jpeg',</tt><tt><br>
</tt><tt> 'png' => 'image/png'</tt><tt><br>
</tt><tt> ); //allowed file types per extension</tt><br>
<br>
On 11/11/12 4:05 PM, Hugh Hudson wrote:<br>
</div>
<blockquote cite="mid:B35FD7BD-5624-4C85-A893-05FA46932986@ssl.berkeley.edu" type="cite">OK, tried again with another small (336 kB) .jpg, and
it did not go. Here is the resulting message:
<div><br>
</div>
<div><img moz-do-not-send="true" id="d5aa1b41-ba98-4a62-b8ee-8ab0b2730217" apple-width="yes" apple-height="yes" height="50" width="605" src="cid:866BED21-5A23-42DD-89E6-B5760F2CE1F9"></div>
<div><br>
</div>
<div>Hugh</div>
<div>jona<br>
<div>
<div>On Nov 12, 2012, at 4:54 AM, Jonathan Sattelberger wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hugh,<br>
<br>
<b>Mimetype</b> - fixed! The /tmp directory was
overtaken with 550,000 temporary directories. Therefore
the script was unable to create the temporary file name
it needed during the POST process.<br>
<br>
<b>Internal Server Error</b> - This may have been
related to the /tmp directory issue mentioned above.
What is the file size of the image uploaded from the
iPod? Currently the MAX SIZE per image is 64 MB. The
Form POST session is set to 128 MB.<br>
<br>
Jonathan<br>
<br>
On 11/10/12 11:38 PM, Hugh Hudson wrote:<br>
</div>
<blockquote cite="mid:6F178A58-3769-4BDB-817B-D6145E7FC90F@ssl.berkeley.edu" type="cite">
<pre wrap="">Jonathan, that's nice, but still no luck with the upload. I get this message:
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">That was just with an arbitrary .jpg. I then tried it with an actual Ipod image, and it crashed completely with this message:
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">Hugh
On Nov 11, 2012, at 2:28 PM, <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:jsattelb@head.cfa.harvard.edu">jsattelb@head.cfa.harvard.edu</a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hugh,
Please try the following URL:
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://helio.cfa.harvard.edu/megamovie/">http://helio.cfa.harvard.edu/megamovie/</a>
Jonathan
</pre>
<blockquote type="cite">
<pre wrap="">Alas, that page does not appear to have a skin and won't accept a jpeg I
tried to upload.
H
On Nov 10, 2012, at 4:37 AM, Alisdair Davey wrote:
</pre>
<blockquote type="cite">
<pre wrap="">A skinned version of the general photo upload form is now available at
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://helio.cfa.harvard.edu/megamovie/upload_request.shtml">http://helio.cfa.harvard.edu/megamovie/upload_request.shtml</a>
I think all that is missing is some words of guidance and maybe some
links to the main page etc.
Comments? Jon is working on a page that will allow us to browse uploaded
photos too.
Cheers
A.
--
Alisdair Davey Phone: 617-272-5778
Mail Stop #58, Email: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:ard@head.cfa.harvard.edu">ard@head.cfa.harvard.edu</a>
Harvard Smithsonian Center for Astrophysics
Cambridge, MA 02155
_______________________________________________
EMP2012 mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:EMP2012@mailman.ucar.edu">EMP2012@mailman.ucar.edu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/emp2012">http://mailman.ucar.edu/mailman/listinfo/emp2012</a>
</pre>
</blockquote>
<pre wrap="">_______________________________________________
EMP2012 mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:EMP2012@mailman.ucar.edu">EMP2012@mailman.ucar.edu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/emp2012">http://mailman.ucar.edu/mailman/listinfo/emp2012</a>
</pre>
</blockquote>
<pre wrap="">_______________________________________________
EMP2012 mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:EMP2012@mailman.ucar.edu">EMP2012@mailman.ucar.edu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/emp2012">http://mailman.ucar.edu/mailman/listinfo/emp2012</a>
</pre>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
EMP2012 mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:EMP2012@mailman.ucar.edu">EMP2012@mailman.ucar.edu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/emp2012">http://mailman.ucar.edu/mailman/listinfo/emp2012</a>
</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
EMP2012 mailing list<br>
<a moz-do-not-send="true" href="mailto:EMP2012@mailman.ucar.edu">EMP2012@mailman.ucar.edu</a><br>
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/emp2012">http://mailman.ucar.edu/mailman/listinfo/emp2012</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</blockquote></div><br></body></html>