[ZendTo] Re: Large file upload errors (Sam LaRoche)

Erik T. Britt ebritt at cshlaw.com
Fri Jun 27 20:52:59 BST 2014


Thank you for the suggestions, I believe our problem is with the PHP recompile. I have gone over the steps here http://zend.to/phpfix.php multiple times and continue to have missing packages on:

apt-get -y install libmagic-dev lemon language-pack-de

apt-get -y install apache2-prefork-dev autoconf automake flex hardening-wrapper libapr1-dev libbz2-dev libdb-dev libenchant-dev libgcrypt11-dev libglib2.0-dev libicu-dev libmysqlclient-dev libpcre3-dev libpq-dev libsqlite3-dev libxmltok1-dev libxml2-dev libxslt1-dev quilt



and get missing directory errors here:

perl -i -pe 's/int zend_atoi/long zend_atoi/' Zend/zend_operators.[ch];

perl -i -pe 's/\n/@@@@@@/g' Zend/zend_operators.c;

perl -i -pe 's/(long zend_atoi.*?)int retval/$1long retval/m' Zend/zend_operators.c;

perl -i -pe 's/@@@@@@/\n/g' Zend/zend_operators.c;

perl -i -pe 's/atoi\(content_length\)/atol(content_length)/' `find sapi -name '*.c'`

perl -i -pe 's/\(uint\)( SG\(request_info\))/$1/' `find sapi -name '*.c'`;

perl -i -pe 's/uint post_data_length, raw/uint IGNORE_post_data_length, IGNORE_raw/' main/SAPI.h;

perl -i -pe 's/} sapi_request_info/\tlong post_data_length, raw_post_data_length;\n} sapi_request_info/' main/SAPI.h;

perl -i -pe 's/int read_post_bytes/long read_post_bytes/'    main/SAPI.h;

perl -i -pe 's/int boundary_len *= *0, *total_bytes *= *0/long total_bytes=0; int boundary_len=0/' main/rfc1867.c;

perl -i -pe 's/int max_file_size *= *0,/long max_file_size = 0; int /' main/rfc1867.c;



it certainly makes sense that if these scripts don't run completely that things won't work correctly. I'm not sure how I can do these different to make them work.



Would be great if someone had any ideas for working around this.



Our error:

[cid:image003.jpg at 01CF921F.DEA99190]
Thank you,



[Cranfill Sumner & Hartzog  LLP]<http://www.cshlaw.com/>



        Erik T. Britt
IT Department

P +19198638828
F +19198633427

Post Office Box 27808
Raleigh, NC 27611-7808

WWW.CSHLAW.COM<http://WWW.CSHLAW.COM>



-----Original Message-----
From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of HUGE | Ashley Brandwood
Sent: Monday, June 23, 2014 9:59 AM
To: zendto at zend.to
Subject: [ZendTo] Re: Large file upload errors (Sam LaRoche)



Assuming you aren't using a filesystem that has 4gb limits (FAT32 for example), have you checked your php configuration to ensure that the upload_tmp_dir setting is to a directory/folder capable of taking files greater than 4GB? (i.e. You're not pointing it at /tmp which may be shared space with your swap space)



@





>

>----- Original Message -----

>From: "Sam LaRoche" <sbl at cshlaw.com<mailto:sbl at cshlaw.com>>

>To: zendto at zend.to<mailto:zendto at zend.to>

>Sent: Friday, 20 June, 2014 9:25:54 PM

>Subject: [ZendTo] Large file upload errors

>

>

>

>

>We?ve modified Zendto Version 4.11 to accept up to 20GB files. Uploads

>generally work without issue but with a >~ 4GB file, the server stops

>taking the upload and returns an upload error that states ?The server?s

>temporary folder is misconfigured.? Does anyone know or have an idea

>about what is ?misconfigured??

>

>

>

>

>

>

>

>

>

>

>

>             Sam LaRoche

>IT Director

>

>P +19198638840

>F +19198633400

>

>Post Office Box 27808

>Raleigh , NC 27611-7808

>

>WWW.CSHLAW.COM<http://WWW.CSHLAW.COM>





_______________________________________________

ZendTo mailing list

ZendTo at zend.to<mailto:ZendTo at zend.to>

http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto





Confidentiality Notice:  If you are not the intended recipient of this message, you are not authorized to intercept, read, print, retain, copy, forward, or disseminate this communication. This communication may contain information that is proprietary, attorney/client privileged, attorney work product, confidential or otherwise legally exempt from disclosure. If you have received this message in error, please notify the sender immediately either by phone (800-849-4444) or by return e-mail and destroy all copies of this message (electronic, paper, or otherwise).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20140627/f38654d9/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 7168 bytes
Desc: image003.jpg
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20140627/f38654d9/attachment-0001.jpg 


More information about the ZendTo mailing list