Upload Error
-
receive this error when ever i try to upload a photo, i already checked to make sure i set the limit high enough to handle the picture size.
“Server can not handle this much amount of data. Please upload a smaller file or ask your server administrator to change the settings.”
-
Hi,
I am sorry for the inconvenience. It is most probably the php.ini config for upload sizes which does not seem to be updated.can you please check the following entries in php.ini
upload_max_filesize post_max_sizeAlso, Please visit the MediaPress->Tools and let me know what size it shows there?
Thank you
Brajeshit doesn’t show any max size in the MediaPress->Tools its just blank
Hi,
Thank you for looking into it.
It is a probability that the entry in php.ini file is malformed causing the problem.Can you please post here the entries from your php.ini or ask the hosting support to look for it and update?
Thank you
BrajeshHi there, any update on the above? Just checking if you had time to look into it?
I had a permisions problem with files once I am able to create the php.ini file I will update
i made a php.ini file this is what is in it
memory_limit = 124M
upload_max_filesize = 124M
post_max_size = 124M
file_uploads = On
max_execution_time = 300it did not help the situation
Hi ,
Most probably your web host does not allow local php.ini per folder. Please check with them for the details. Once it is setup correctly, It will show under MediaPress->tools settings.I have a VPS so I guess I will have to SSH in and change the config
i am using PHP-FPM which does not allow php.ini per site like Apache is there a workaround?
The only solutions seems to be updating your main php.ini file (inside etc directory)
Any change on that file will apply to all sites though.
i have updated it here is the result from my info.php output,its still not showing up in tools
max_execution_time 300 30 max_file_uploads 20 20 max_input_nesting_level 64 64 max_input_time 300 60 max_input_vars 1000 1000 memory_limit 128M 128M open_basedir no value no value output_buffering 4096 4096 output_handler no value no value post_max_size 124M 8M precision 14 14 realpath_cache_size 16K 16K realpath_cache_ttl 120 120 register_argc_argv Off Off report_memleaks On On report_zend_debug On On request_order GP GP sendmail_from no value no value sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i serialize_precision 17 17 short_open_tag On On SMTP localhost localhost smtp_port 25 25 sql.safe_mode Off Off sys_temp_dir no value no value track_errors Off Off unserialize_callback_func no value no value upload_max_filesize 124Mthis is the output from my info.php, still not showing up in the tools
max_execution_time 300 30
max_file_uploads 20 20
max_input_nesting_level 64 64
max_input_time 300 60
max_input_vars 1000 1000
memory_limit 128M 128M
open_basedir no value no value
output_buffering 4096 4096
output_handler no value no value
post_max_size 124M 8M
precision 14 14
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv Off Off
report_memleaks On On
report_zend_debug On On
request_order GP GP
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 17 17
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
sys_temp_dir no value no value
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 124MHi,
I am sorry for the delayed reply. I am not sure why is it not showing. Your settings from your info.php seem fine to me and should make it work.1. Are you able to upload via WordPress uploader? If yes, Please give a try again to MediaPress and try uploading. MediaPress uses identical settings with WordPress, so if you are able to work with the default uploader, MediaPress should work too.
Please do let me know your findings.
Thank you
Brajeshyes i am able to upload via WordPress, however i still get the same error message when trying to use mediapress. i have installed Activity Plus and it uploads with no problem i would prefer to use MediaPress but it just will not work for me.
SIDE NOTE: when i use the default WordPress uploader the “Maximum upload file size:” does not have a number after it similar to the way it reads in MediaPress->ToolsThank you. Please allow me to look at it a little more. This is first time that I am seeing empty values for WodPress. I do understand why MediaPress is not allowing upload as we check allowed size before proceeding.
Need a day or two to come up with some explanation and solution.
Thank you
Brajesh
The topic ‘Upload Error’ is closed to new replies.