LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-30-2004, 12:16 PM   #1
sporkit
Member
 
Registered: Feb 2004
Posts: 71

Rep: Reputation: 15
webserver cuts off upload of bigger files


hello.

basicly right now im using a photo gallery that uses Image Magick to resize images. however the gallery (coppermine photo gallery) seems to be only allowing 80-90% of the files transfer threw my web server.

the strange thing is i have sent large files over my lan using samba and nothing happened to them. coppermine give me this error message when a file send fails.

Code:
/usr/bin/convert: Corrupt JPEG data: premature end of data segment (albums/userpics/10001/dcp4875.jpg).
/usr/bin/convert: Corrupt JPEG data: premature end of data segment (albums/userpics/10001/dcp4875.jpg).
im pretty sure something is stopping the entire file from being sent. if i upload a small picture around 20 KB it usually works. anything bigger than that is distored or errors out. funny thing is that for a little while it was letting me upload pics of about 900 kb.

ive checked my php.ini and am sure i have it set to allow file uploads of at least 2mb and the same is set on the board permissions. i looked threw my httpd.conf but didnt find anything about upload limits. if you have any suggestions id love to hear them. im desperate.

you can see my gallery here http://www.f8klan.com/cpg/ and even upload something to test. im allowing anonymous posting.

thanks.

Last edited by sporkit; 07-30-2004 at 12:17 PM.
 
Old 07-31-2004, 11:43 PM   #2
sporkit
Member
 
Registered: Feb 2004
Posts: 71

Original Poster
Rep: Reputation: 15


bump..
 
Old 08-01-2004, 08:35 AM   #3
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Do you run any proxy server, such as squid?
Sometimes proxy servers implement limitations to the size of files let through. 20kB seems a bit to small though for such a limit to have any effekt, on the other hand one cannot be too sure
 
Old 08-01-2004, 08:38 AM   #4
BrianWGray
Member
 
Registered: Oct 2003
Posts: 54

Rep: Reputation: 15
not alone

I just wanted to state that my coppermine has the same issue on my apache server.

So I'm listening in. I always do batch adds so it was never a big deal.
 
Old 08-02-2004, 02:40 AM   #5
sporkit
Member
 
Registered: Feb 2004
Posts: 71

Original Poster
Rep: Reputation: 15
thats interesting that the batch add works for you too. there are actually many people experiancing these problems. i actually setup phpbb and cpg about 2 years ago only to find myself battleing the same problems i was before.
 
Old 08-04-2004, 02:08 PM   #6
sporkit
Member
 
Registered: Feb 2004
Posts: 71

Original Poster
Rep: Reputation: 15
this might just be a bug in fedora. what OS are you running BrianWGray?
 
Old 08-04-2004, 02:49 PM   #7
BrianWGray
Member
 
Registered: Oct 2003
Posts: 54

Rep: Reputation: 15
I run Red Hat 9 on both the servers I have that problem with. And yes my batch add works without a hitch. first time I ran into it I thought it was just a problem with the way I installed it but I have had it happen to me on Three separate installations. (same basic configuration each time.) I am not using the newest coppermine. and I didn't use php 5 because I had heard of problems with php5 using coppermine on apache running on a windows box. (However the windows server using coppermine does not have this problem. - also the newest version of coppermine)
 
Old 08-04-2004, 03:00 PM   #8
sporkit
Member
 
Registered: Feb 2004
Posts: 71

Original Poster
Rep: Reputation: 15
this might be a bug with redhat then. im going to either submit a bug report or ask on the official fedora mailing list. ill get back with what i find.
 
Old 08-04-2004, 03:40 PM   #9
sporkit
Member
 
Registered: Feb 2004
Posts: 71

Original Poster
Rep: Reputation: 15
hmmmm, heres one more question. are you trying to upload these files threw your web-browser but still over your lan.

on my setup im running a fedora core 1 server in the other room that anybody can get to from the web (sporkit.com). im at school right now and am testing uploading larger files and they seem to work. is the lan uploading files faster than the apache code can handle? heh, ill keep you updated.
 
Old 08-05-2004, 02:01 AM   #10
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Hi,
I think it may be caused by a php.ini setting called upload_max_filesize.
See http://fi2.php.net/manual/en/ini.sec...d-max-filesize
 
Old 08-05-2004, 09:30 AM   #11
BrianWGray
Member
 
Registered: Oct 2003
Posts: 54

Rep: Reputation: 15
I will check my PHP.INI later this evening. I'll post if this resolves the issue on my boxes.
 
Old 08-05-2004, 02:36 PM   #12
sporkit
Member
 
Registered: Feb 2004
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by r0b0
Hi,
I think it may be caused by a php.ini setting called upload_max_filesize.
See http://fi2.php.net/manual/en/ini.sec...d-max-filesize
actually this is one of the first things i checked. i seem to be having trouble only over the network. if brian is experiancing the same problem then that migth be it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Way to upload files to Webserver? KyoZed Fedora 9 09-18-2004 03:07 PM
IglooFTP-PRO refuses to upload files in folder when I upload folder eBopBob Linux - Software 0 08-27-2004 05:52 AM
Cant upload a file bigger then 1mb with php OrangeLefty Programming 1 04-19-2004 01:54 AM
Help with FTP Upload to Apache Webserver kalikoder Linux - Networking 4 01-16-2004 08:25 PM
How come cdrecord cuts all the names of my files Al Bundy Linux - General 3 06-06-2003 11:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration