List:Eventum General Discussion« Previous MessageNext Message »
From:Georger Araujo Date:September 11 2008 12:27am
Subject:Re: File Uploads larger than 1mb
View as plain text  
Hi Curtis,
Please see http://lists.mysql.com/eventum-users/3345
max_allowed_packet at 16M is just a suggestion. Set it to the size you find most adequate
to your deployment.
Regards,

Georger

--- Em qua, 10/9/08, Curtis Von Lintel <curtis.vonlintel@stripped> escreveu:

> De: Curtis Von Lintel <curtis.vonlintel@stripped>
> Assunto: File Uploads larger than 1mb
> Para: eventum-users@stripped
> Data: Quarta-feira, 10 de Setembro de 2008, 19:02
> We are just getting started using eventum, a major feature
> for us is the 
> file upload. Like in this
> <http://lists.mysql.com/eventum-users/841> 
> post files that are larger than 1mb fail. On upload, the
> upload window 
> goes white and when the issue page is refreshed it shows
> uploaded 
> entries without filenames. I have tested up to 817Kb with
> success and 
> 1,438Kb fail. We are running PHP 5.2.6, Apache 2.2.8,
> Eventum 2.1.1 on 
> Windows 2003.
> 
> Anyone know how to fix this?
> Thanks
> 
> The error log from failed uploads:
> Lookoutbelow
> An error was found on line '534' of script 
> 'E:\wamp\www\support\eventum\include\class.attachment.php'.
> 
> The error message passed to us was:
> 
> 'DB Error: unknown error'
> 
> A more detailed error message follows:
> 
> 'INSERT INTO
>                     eventum.eventum_issue_attachment_file
>                  (
>                     iaf_iat_id,
>                     iaf_filename,
>                     iaf_filesize,
>                     iaf_filetype,
>                     iaf_file
>                  ) VALUES (
>                     11,
>                     'analog_60w32.zip',
>                     '1757232',
>                     'multipart/x-zip',
>                     
> 'PK\n\0\0\0\0\0+"1\0\0\0\0\0\0\0\0\0\0\0\0\0\0analog
> 6.0/UT    
> \0°ÅAEURÄÄAUx\0¢Ù
> PK\0\0\0\0u"1+û,öEUR\0\0\0¤\0\0\0\0\0analog
> 
> 6.0/SETUP.txtUT    \0ø'ÅAEURÄÄAUx\0¢Ù 
>
> 5̱Â0нRÿá~\nKþ?±+??6.?HíÊv$Ú¯\'qÛ?z(îαÈIÈxp0QB"'×=Ð>FJ1p?V¾ôÝÈæZgÏÂ+¨"Ìx4²QX}+ßê+a''HÛ÷l}++--«(v1ËS9~(Û_å++TEå3ïhû¤ò\"¾...¾û\0PK\n\0\0\0\0\0+"1\0\0\0\0\0\0\0\0\0\0\0\0\0\0analog
> 
> 6.0/examples/U'..., (integer )0, true, (string
> )'error', true, true)
> E:\wamp\www\support\eventum\include\class.error_handler.php:127
>   Mail_API->send((string
> )'support@stripped', (string 
> )'curtis.vonlintel@stripped', (string
> )'Eventum - Error found! - 
> 09/10/2008 16:11:42', (integer )0, true, (string
> )'error')
> E:\wamp\www\support\eventum\include\class.error_handler.php:75
>   Error_Handler::_notify((string )'An error was found
> on line '534' of 
> script
> 'E:\wamp\www\support\eventum\include\class.attachment.php'.
> 
> The error message passed to us was:
> 
> 'DB Error: unknown error'
> 
> A more detailed error message follows:
> 
> 'INSERT INTO
>                     eventum.eventum_issue_attachment_file
>                  (
>                     iaf_iat_id,
>                     iaf_filename,
>                     iaf_filesize,
>                     iaf_filetype,
>                     iaf_file
>                  ) VALUES (
>                     11,
>                     'analog_60w32.zip',
>                     '1757232',
>                     'multipart/x-zip',
>                     
> 'PK\n\0\0\0\0\0+"1\0\0\0\0\0\0\0\0\0\0\0\0\0\0analog
> 6.0/UT    
> \0°ÅAEURÄÄAUx\0¢Ù
> PK\0\0\0\0u"1+û,öEUR\0\0\0¤\0\0\0\0\0analog
> 
> 6.0/SETUP.txtUT    \0ø'ÅAEURÄÄAUx\0¢Ù 
>
> 5̱Â0нRÿá~\nKþ?±+??6.?HíÊv$Ú¯\'qÛ?z(îαÈIÈxp0QB"'×=Ð>FJ1p?V¾ôÝÈæZgÏÂ+¨"Ìx4²QX}+ßê+a''HÛ÷l}++--«(v1ËS9~(Û_å++TEå3ïhû¤ò\"¾...¾û\0PK\n\0\0\0\0\0+"1\0\0\0\0\0\0\0\0\0\0\0\0\0\0analog
> 
> 6.0/examples/UT    \0ì°Å'..., (string
> )'support@stripped', 
> (string )'curtis.vonlintel@stripped', (string 
> )'E:\wamp\www\support\eventum\include\class.attachment.php',
> (integer )534)
> E:\wamp\www\support\eventum\include\class.attachment.php:534
>   Error_Handler::logError((array )Array, (string 
> )'E:\wamp\www\support\eventum\include\class.attachment.php',
> (integer )534)
> E:\wamp\www\support\eventum\include\class.attachment.php:478
>   Attachment::addFile((integer )11, (string
> )'analog_60w32.zip', (string 
> )'multipart/x-zip', (string )'PK


      Novos endereços, o Yahoo! que
> você conhece. Crie um email novo com a sua cara @ymail.com ou
> @rocketmail.com.
http://br.new.mail.yahoo.com/addresses
Thread
File Uploads larger than 1mbCurtis Von Lintel10 Sep
  • Re: File Uploads larger than 1mbGeorger Araujo11 Sep
    • Re: File Uploads larger than 1mbCurtis Von Lintel11 Sep
      • SV: File Uploads larger than 1mbAnders Klarström11 Sep
Re: SV: File Uploads larger than 1mbGerman Pizarro11 Sep
  • Re: SV: File Uploads larger than 1mbBryan Alsdorf11 Sep
    • Re: SV: File Uploads larger than 1mbCurtis Von Lintel11 Sep
    • RE: SV: File Uploads larger than 1mbM  IN BLR SISL Srivathsan12 Sep
Re: SV: File Uploads larger than 1mbGerman Pizarro12 Sep
  • RE: SV: File Uploads larger than 1mbFaisal Siddiqui12 Sep
Re: SV: File Uploads larger than 1mbGerman Pizarro12 Sep
Re: SV: File Uploads larger than 1mbGerman Pizarro12 Sep
  • RE: SV: File Uploads larger than 1mbFaisal Siddiqui12 Sep
    • RE: SV: File Uploads larger than 1mbAndrew Coghlan12 Sep
Re: SV: File Uploads larger than 1mbGerman Pizarro12 Sep
  • Re: SV: File Uploads larger than 1mbGeorger Araujo12 Sep
    • RE: SV: File Uploads larger than 1mbFaisal Siddiqui14 Sep
      • RE: SV: File Uploads larger than 1mbGeorger Araujo14 Sep