Author Topic: error while uploading a file using file manager  (Read 16000 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
error while uploading a file using file manager
« on: January 26, 2017, 03:00:20 PM »
Hello
i just install cwp on centos 7 and im trying to upload a 7MB file using simple file manager
it gives me this error

Code: [Select]
413 Request Entity Too Large
nginx

i search google for that and found that have to set client_max_body_size to higher value and php max_post size
and upload_max_size and also
i set all this nothing worked ans still the same error
i even change the server from apache+nginx proxy to varnish and still shows the same error !!

how to solve this?
thanks in advance.

Offline
**
Re: error while uploading a file using file manager
« Reply #1 on: January 26, 2017, 03:17:25 PM »
Hello
i just install cwp on centos 7 and im trying to upload a 7MB file using simple file manager
it gives me this error

Code: [Select]
413 Request Entity Too Large
nginx

i search google for that and found that have to set client_max_body_size to higher value and php max_post size
and upload_max_size and also
i set all this nothing worked ans still the same error
i even change the server from apache+nginx proxy to varnish and still shows the same error !!

how to solve this?
thanks in advance.

go edit nano /etc/php.ini

Offline
*
Re: error while uploading a file using file manager
« Reply #2 on: January 26, 2017, 03:21:22 PM »
what value exactly in php you mean to modify
i already modify
post_max_size
and
upload_max_size
in php.ini
« Last Edit: January 26, 2017, 03:23:13 PM by seco »

Offline
**
Re: error while uploading a file using file manager
« Reply #3 on: January 26, 2017, 03:34:18 PM »
what value exactly in php you mean to modify
i already modify
post_max_size
and
upload_max_size
in php.ini

thatok, try service httpd restart and see if can upload.

Offline
*
Re: error while uploading a file using file manager
« Reply #4 on: January 26, 2017, 03:52:14 PM »
i restart the whole server not just apache and still the cwp file manager not able to upload 7MB file !!


Offline
*
Re: error while uploading a file using file manager
« Reply #6 on: January 27, 2017, 07:06:21 AM »
i adjust client_max_body_size and restart the server and still the same
even i completely remove nginx and still the same error !!

but i tried something
i tried to upload a file by a normal php upload script from my website and it is very big it uploaded successfully
i think this error in the configuration of teh cwp file manager

Offline
*****
Re: error while uploading a file using file manager
« Reply #7 on: January 27, 2017, 08:37:09 AM »
you're doing it wrong follow the instructions carefully. if you're using centos 7 CWP