[EMP2012] Upload form

Hugh Hudson hhudson at ssl.berkeley.edu
Sun Nov 11 14:37:30 MST 2012


Success! Please look for IMG_0012.JPG. I think it's there!

Hugh

On Nov 12, 2012, at 7:31 AM, Jonathan Sattelberger wrote:

> Not sure why that called back to you. Disabled the filesize and image resolution size checking. Try again.
> 
> On 11/11/12 4:22 PM, Hugh Hudson wrote:
>> 
>> That helped, but now this (same 336 kB)
>> 
>> Hugh
>> 
>> On Nov 12, 2012, at 7:12 AM, Jonathan Sattelberger wrote:
>> 
>>> Done. Added if(!in_array(strtolower($filetype), $ALLOWED_TYPES))
>>> 
>>> In reference to:
>>> 
>>> $ALLOWED_TYPES = array('jpg', 'jpe', 'jpeg', 'png'); // allowed extensions
>>> $LOOKUP_TYPES  = array(
>>>         'jpg'  => 'image/jpeg',
>>>         'jpe'  => 'image/jpeg',
>>>         'jpeg' => 'image/jpeg',
>>>         'png'  => 'image/png'
>>>         ); //allowed file types per extension
>>> 
>>> On 11/11/12 4:05 PM, Hugh Hudson wrote:
>>>> OK, tried again with another small (336 kB) .jpg, and it did not go. Here is the resulting message:
>>>> 
>>>> 
>>>> 
>>>> Hugh
>>>> jona
>>>> On Nov 12, 2012, at 4:54 AM, Jonathan Sattelberger wrote:
>>>> 
>>>>> Hugh,
>>>>> 
>>>>> Mimetype - 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.
>>>>> 
>>>>> Internal Server Error - 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.
>>>>> 
>>>>> Jonathan
>>>>> 
>>>>> On 11/10/12 11:38 PM, Hugh Hudson wrote:
>>>>>> Jonathan, that's nice, but still no luck with the upload. I get this message:
>>>>>> 
>>>>>> 
>>>>>> That was just with an arbitrary .jpg. I then tried it with an actual Ipod image, and it crashed completely with this message:
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> Hugh
>>>>>> 
>>>>>> On Nov 11, 2012, at 2:28 PM, jsattelb at head.cfa.harvard.edu wrote:
>>>>>> 
>>>>>>> Hugh,
>>>>>>> 
>>>>>>> Please try the following URL:
>>>>>>> 
>>>>>>> http://helio.cfa.harvard.edu/megamovie/
>>>>>>> 
>>>>>>> Jonathan
>>>>>>> 
>>>>>>>> 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:
>>>>>>>> 
>>>>>>>>> A skinned version of the general photo upload form is now available at
>>>>>>>>> 
>>>>>>>>> http://helio.cfa.harvard.edu/megamovie/upload_request.shtml
>>>>>>>>> 
>>>>>>>>> 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: ard at head.cfa.harvard.edu
>>>>>>>>> Harvard Smithsonian Center for Astrophysics
>>>>>>>>> Cambridge, MA 02155
>>>>>>>>> 
>>>>>>>>> _______________________________________________
>>>>>>>>> EMP2012 mailing list
>>>>>>>>> EMP2012 at mailman.ucar.edu
>>>>>>>>> http://mailman.ucar.edu/mailman/listinfo/emp2012
>>>>>>>> _______________________________________________
>>>>>>>> EMP2012 mailing list
>>>>>>>> EMP2012 at mailman.ucar.edu
>>>>>>>> http://mailman.ucar.edu/mailman/listinfo/emp2012
>>>>>>>> 
>>>>>>> _______________________________________________
>>>>>>> EMP2012 mailing list
>>>>>>> EMP2012 at mailman.ucar.edu
>>>>>>> http://mailman.ucar.edu/mailman/listinfo/emp2012
>>>>>> 
>>>>>> 
>>>>>> _______________________________________________
>>>>>> EMP2012 mailing list
>>>>>> EMP2012 at mailman.ucar.edu
>>>>>> http://mailman.ucar.edu/mailman/listinfo/emp2012
>>>>> 
>>>>> _______________________________________________
>>>>> EMP2012 mailing list
>>>>> EMP2012 at mailman.ucar.edu
>>>>> http://mailman.ucar.edu/mailman/listinfo/emp2012
>>>> 
>>> 
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/emp2012/attachments/20121112/99a3d522/attachment.html 


More information about the EMP2012 mailing list