Unable to upload files via File Manager: The file is too big

Created:

2016-11-16 13:03:56 UTC

Modified:

2017-08-08 13:23:20 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to upload files via File Manager: The file is too big

Applicable to:

  • Plesk for Windows
  • Plesk for Linux

Symptoms

Attempt to upload a file via File Manager returns a message:

No upload response

or

The file "Test" is too big. Try to upload this file via FTP.

The following error messages can be found in /usr/local/psa/admin/logs/panel.log:

[16-Apr-2015 20:16:00 Asia/Krasnoyarsk] PHP Warning:  POST Content-Length of 90378782 bytes exceeds the limit of 67108864 bytes in Unknown on line 0
2015-04-16T20:16:01+07:00 ERR (3) [panel]: Forgery protection token check failed.
2015-04-16T20:16:01+07:00 ERR (3) [panel]: Forgery protection token check failed.
2015-04-16T20:16:01+07:00 ERR (3) [panel]: Permission denied.#0 /usr/local/psa/admin/plib/CommonPanel/Controller/Action/Abstract.php(182): CommonPanel_Controller_Action_Abstract->_checkForgeryProtectionToken()
#1 /usr/local/psa/admin/externals/Zend/Controller/Action.php(502): CommonPanel_Controller_Action_Abstract->preDispatch()
#2 /usr/local/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('errorAction')
#3 /usr/local/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#4 /usr/local/psa/admin/plib/Smb/Application/Web.php(39): Zend_Controller_Front->dispatch(NULL)
#5 /usr/local/psa/admin/smb/application/public/index.php(14): Smb_Application_Web->run()
#6 {main}:
0: Broker.php:336
Zend_Controller_Plugin_Broker->postDispatch(object of type Zend_Controller_Request_Http)
1: Front.php:965
Zend_Controller_Front->dispatch(NULL null)
2: Web.php:39
Smb_Application_Web->run()
3: index.php:14

Cause

Low limits are specified in /usr/local/psa/admin/conf/php.ini .

Resolution

Set the limits of post_max_size and upload_max_filesize in the file /usr/local/psa/admin/conf/php.ini as below:

# egrep 'post_max_size|upload_max_filesize' /usr/local/psa/admin/conf/php.ini
post_max_size = 2147483647
upload_max_filesize = 2147483647
Have more questions? Submit a request
Please sign in to leave a comment.