APS application installation fails: Internal error. ERROR: Zend_Controller_Exception: Permission denied.

Created:

2016-11-16 12:47:34 UTC

Modified:

2017-08-08 13:08:48 UTC

6

Was this article helpful?


Have more questions?

Submit a request

APS application installation fails: Internal error. ERROR: Zend_Controller_Exception: Permission denied.

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

Unable to install an APS Application in Plesk, the following error appears in Plesk:

Internal error.
ERROR: Zend_Controller_Exception: Permission denied.#0 /usr/local/psa/admin/plib/CommonPanel/Controller/Action/Abstract.php(261): 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/Application/Web.php(42): Zend_Controller_Front->dispatch(NULL)
#5 /usr/local/psa/admin/htdocs/application.php(15): Plesk\\Application_Web->run()
#6 {main} (Broker.php:336)

The following error can be found in " /var/log/plesk/panel.log ":

[06-Mar-2016 00:09:24 America/New_York] PHP Warning:  POST Content-Length of 2583 bytes exceeds the limit of 2150 bytes in Unknown on line 0
[2016-03-06 00:09:24] ERR [panel] Forgery protection token check failed.
[2016-03-06 00:09:24] ERR [panel] Forgery protection token check failed.
[2016-03-06 00:09:24] ERR [panel] Permission denied.#0 /usr/local/psa/admin/plib/CommonPanel/Controller/Action/Abstract.php(191): CommonPanel_Controller_Action_Abstract->_checkForgeryProtectionToken()

Cause

The issue is caused by low " post_max_size " and " upload_max_filesize " limits defined in " /usr/local/psa/admin/conf/php.ini ".

Resolution

Increase " post_max_size " and " upload_max_filesize " limits in " /usr/local/psa/admin/conf/php.ini ":

# grep '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.