Hi,
I have some problems with "large" files (from 200 to 700mb more or less).
When I hit the "Go" or "Go & enter properties" the system return, after few second, to the frontpage without add the file.
To do some tests, I have modified the php.ini with:
upload_max_filesize 750MB
post_max_size 750MB
max_input_time 3600
but the result is the same.
Can someone help me?
Ah sorry: I have a linux slackware 11.0 with apache 2.2.4, php 5.2.5 and serendipity 1.2
Problem with large file upload
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Problem with large file upload
Hi!
You must also raise your memory_limit to about twice the size of the file you're uploading, because it is parsed by PHP.
Regards,
Garvin
You must also raise your memory_limit to about twice the size of the file you're uploading, because it is parsed by PHP.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Did you enter a maximum file size limit in the s9y configuration options?
Can you check your PHP and Apache errorlogs? It might be that your processes are somehow coredumping?!
Regards,
Garvin
Did you enter a maximum file size limit in the s9y configuration options?
Can you check your PHP and Apache errorlogs? It might be that your processes are somehow coredumping?!
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
The maximum file size limit in the s9y config is not set and I don't see any error in the Apache or Php logs when I upload a 200mb file.
I don't know if it coredump but I don't see anything useful in the log system.
If php settings are ok, where I can check for other errors? File inside serendipity maybe?
I don't know if it coredump but I don't see anything useful in the log system.
If php settings are ok, where I can check for other errors? File inside serendipity maybe?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Maybe you need to check the PHP.ini option "log_errors" and "error_log"? Did you check also the Apache core error logfile?
Check your whole /var/log for files with a updated timestamp after you uploaded the file. Usually in /var/log/syslog your coredump should be listed.
The error seems to happen on the Apache-/PHP-level, so s9y can't log that.
Regards,
Garvin
Maybe you need to check the PHP.ini option "log_errors" and "error_log"? Did you check also the Apache core error logfile?
Check your whole /var/log for files with a updated timestamp after you uploaded the file. Usually in /var/log/syslog your coredump should be listed.
The error seems to happen on the Apache-/PHP-level, so s9y can't log that.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
After a test i've found this on the Apache access_log:
IP - - [ date ] "GET /serendipity_admin.php?serendipity[adminModule]=media&serendipity[adminAction]=addSelect HTTP/1.1" 200 22142
IP - - [ date + 4 sec ] "POST /serendipity_admin.php HTTP/1.1" 200 11911
I check also the Apache error_log and the PHP logs but this is the only log of the upload action.
Any suggestion?
IP - - [ date ] "GET /serendipity_admin.php?serendipity[adminModule]=media&serendipity[adminAction]=addSelect HTTP/1.1" 200 22142
IP - - [ date + 4 sec ] "POST /serendipity_admin.php HTTP/1.1" 200 11911
I check also the Apache error_log and the PHP logs but this is the only log of the upload action.
Any suggestion?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Access_log doesn't log such things. You'll have to check Apache error_logs as well as the PHP Error logs and your syslog.
Regards,
Garvin
Access_log doesn't log such things. You'll have to check Apache error_logs as well as the PHP Error logs and your syslog.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Hm, but there must be other entries. If PHP bails out, and your server is configured to log syslog errors and php errors, there must be a logfile which contains the error.
This can be a multitude of server settings, I would need root level access to a server to debug this, so I can't really offer you more help on this. But I am quite sure it is related to PHP, not Serendipity.
Regards,
Garvin
Hm, but there must be other entries. If PHP bails out, and your server is configured to log syslog errors and php errors, there must be a logfile which contains the error.
This can be a multitude of server settings, I would need root level access to a server to debug this, so I can't really offer you more help on this. But I am quite sure it is related to PHP, not Serendipity.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/