You are here: Re: why would a large not upload, when a small does, when it is still within the POST limit? « PHP Programming Language « IT news, forums, messages
Re: why would a large not upload, when a small does, when it is still within the POST limit?

Posted by lawrence k on 02/16/06 05:46

Andy Hassall wrote:
> >Our Linux guy, Matt Clark, checked for errors. He said there were no
> >errors in the PHP log.
>
> That's one log down, then. What about the others?
>
> Hint:
>
> >>>What reasons, other than the POST limit, would a large upload fail?
> >>
> >> Various. Almost all of which produce errors, either in the form of PHP errors,
> >>Apache errors or the field in $_FILES.

I don't suppose you'd know what these error files are typically called,
do you? I asked our server guy to send me the PHP error logs and he
said that PHP had only recently invented server logs, and that I
probably wanted the syslogs instead. Then he send a whole bunch of
files, with names like ssl_error_log.1 and suexec_log and error_log.2.
These have line after line that look like this:

[Mon Jan 09 11:18:38 2006] [error] [client 212.126.96.21] File does not
exist: /home/httpd/vhosts/default/htdocs/phpMyAdmin-2.6.0-pl1
[Mon Jan 09 11:18:39 2006] [error] [client 212.126.96.21] File does not
exist: /home/httpd/vhosts/default/htdocs/phpMyAdmin-2.6.3-pl1
[Mon Jan 09 11:18:39 2006] [error] [client 212.126.96.21] File does not
exist: /home/httpd/vhosts/default/htdocs/phpMyAdmin-2.6.3
[Mon Jan 09 11:18:39 2006] [error] [client 212.126.96.21] File does not
exist: /home/httpd/vhosts/default/htdocs/phpMyAdmin-2.6.3-rc1
[Mon Jan 09 11:18:39 2006] [error] [client 212.126.96.21] File does not
exist: /home/httpd/vhosts/default/htdocs/phpMyAdmin-2.6.2-rc1
[Mon Jan 09 11:21:08 2006] [notice] Graceful restart requested, doing
restart
Warning: DocumentRoot [/home/httpd/vhosts/grandingardens.com/httpdocs]
does not exist
[Mon Jan 09 11:21:14 2006] [notice] Digest: generating secret for
digest authentication ...
[Mon Jan 09 11:21:14 2006] [notice] Digest: done
[Mon Jan 09 11:21:15 2006] [warn] RSA server certificate CommonName
(CN) `plesk' does NOT match server name!?
[Mon Jan 09 11:21:15 2006] [warn] RSA server certificate CommonName
(CN) `plesk' does NOT match server name!?
[Mon Jan 09 11:21:15 2006] [warn] RSA server certificate CommonName
(CN) `plesk' does NOT match server name!?
[Mon Jan 09 11:21:16 2006] [notice] Apache/2.0.46 (Red Hat) configured
-- resuming normal operations
[Mon Jan 09 11:36:07 2006] [notice] Graceful restart requested, doing
restart
[Mon Jan 09 11:36:07 2006] [notice] Digest: generating secret for
digest authentication ...
[Mon Jan 09 11:36:07 2006] [notice] Digest: done
[Mon Jan 09 11:36:08 2006] [warn] RSA server certificate CommonName
(CN) `plesk' does NOT match server name!?
[Mon Jan 09 11:36:08 2006] [warn] RSA server certificate CommonName
(CN) `plesk' does NOT match server name!?
[Mon Jan 09 11:36:08 2006] [warn] RSA server certificate CommonName
(CN) `plesk' does NOT match server name!?
[Mon Jan 09 11:36:08 2006] [notice] Apache/2.0.46 (Red Hat) configured
-- resuming normal operations
[Mon Jan 09 11:38:00 2006] [error] [client 66.249.65.106] File does not
exist: /home/httpd/vhosts/default/htdocs/robots.txt
[Mon Jan 09 11:42:51 2006] [error] [client 202.90.149.5] File does not
exist: /home/httpd/vhosts/default/htdocs/awstats
[Mon Jan 09 11:42:53 2006] [error] [client 202.90.149.5] script not
found or unable to stat: /home/httpd/vhosts/default/cgi-bin/awstats.pl
[Mon Jan 09 11:42:54 2006] [error] [client 202.90.149.5] script not
found or unable to stat: /home/httpd/vhosts/default/cgi-bin/awstats
[Mon Jan 09 11:42:56 2006] [error] [client 202.90.149.5] File does not
exist: /home/httpd/vhosts/default/htdocs/xmlrpc.php
[Mon Jan 09 11:42:57 2006] [error] [client 202.90.149.5] File does not
exist: /home/httpd/vhosts/default/htdocs/blog
[Mon Jan 09 11:42:59 2006] [error] [client 202.90.149.5] File does not
exist: /home/httpd/vhosts/default/htdocs/blog
[Mon Jan 09 11:43:00 2006] [error] [client 202.90.149.5] File does not
exist: /home/httpd/vhosts/default/htdocs/blogs
[Mon Jan 09 11:43:01 2006] [error] [client 202.90.149.5] File does not
exist: /home/httpd/vhosts/default/htdocs/drupal
[Mon Jan 09 11:43:02 2006] [error] [client 202.90.149.5] File does not
exist: /home/httpd/vhosts/default/htdocs/phpgroupware
[Mon Jan 09 11:43:03 2006] [error] [client 202.90.149.5] File does not
exist: /home/httpd/vhosts/default/htdocs/wordpress
[Mon Jan 09 11:43:05 2006] [error] [client 202.90.149.5] File does not
exist: /home/httpd/vhosts/default/htdocs/xmlrpc.php
[Mon Jan 09 11:43:06 2006] [error] [client 202.90.149.5] File does not
exist: /home/httpd/vhosts/default/htdocs/xmlrpc
[Mon Jan 09 11:43:07 2006] [error] [client 202.90.149.5] File does not
exist: /home/httpd/vhosts/default/htdocs/xmlsrv



I don't see anything in here that might tell me why large files are
failing to upload. I have been able to upload a file of less than 1
meg, but anything larger than that seems to fail. In FireFox I get a
"Connection reset by the server" message.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация