Author Topic: Larges Files Upload using Web File Manager won't Show Up Afterwards  (Read 7528 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Im using the file manager on CWP (/admin/fileManager2.php), every time I try to upload a file over 2MB, the file manager indicated the file has been uploaded sucessfully, but after refreshing the directory there is nowhere to be found, I tried with files smaller than 2 Mb and they worked fine.

I though it was a problem with PHP, so I went to edit /usr/local/cwp/php71/php.ini, I didn't change anything as settings seems right.
I have also review /usr/local/cwp/php/php.ini, and settings are fine too.

post_max_size = 64M
upload_max_filesize = 64M
max_file_uploads = 20

I am not sure were else do I have to look, as I cannot find more information in how to fix this issue.

Offline
*
Re: Larges Files Upload using Web File Manager won't Show Up Afterwards
« Reply #1 on: January 10, 2019, 02:46:23 AM »
Hi,

I disabled the rules 210230, 210240, 243930, 221270 in mod_Security, I did not get more errors on the log, and still did not work.
I uninstalled mod_security and still did not work.

Files above 2MB will not upload using the file manager.

I am open to any suggestions. 

Offline
**
Re: Larges Files Upload using Web File Manager won't Show Up Afterwards
« Reply #2 on: January 11, 2019, 10:04:53 PM »
What does PHP Setttings> PHP info show?

Whats's in /usr/local/php/php.ini

Offline
*
Re: Larges Files Upload using Web File Manager won't Show Up Afterwards
« Reply #3 on: January 12, 2019, 04:07:32 AM »
What does PHP Setttings> PHP info show?

Show the same information as /usr/local/php/php.ini that apply to apache server, but the same settings do not apply to cwpsrv, php is stored in a different place and there no way to know the actual php values as in phpinfo() that cwpsrv is using.

Whats's in /usr/local/php/php.ini
/usr/local/php/php.ini does not apply for cwpsrv

/usr/local/cwp/php71/php.ini & //use/local/cwp/php/php.ini are set to

memory_limit = 128M
post_max_size = 64M
upload_max_filesize = 64M
max_file_uploads = 20



Offline
*
Re: Larges Files Upload using Web File Manager won't Show Up Afterwards
« Reply #4 on: March 14, 2019, 01:14:30 PM »
i am also facing the same problem. Please help

Offline
**
Re: Larges Files Upload using Web File Manager won't Show Up Afterwards
« Reply #5 on: April 06, 2019, 05:17:08 PM »
This may seem a dumb way of checking...however, install WordPress and then use a WordPress plugin to check what settings WordPress detects for this user account php settings.

I have encountered this problem myself only a couple of days ago. I'm on my mobile now so I can't check easily how I resolved it.

As a workaround, would using ftp/ftpes program like filezilla to upload instead be an option?

Also, are you using php7 or php7-fpm?
« Last Edit: April 06, 2019, 05:19:45 PM by adamjedgar »