PHOENIX-MEDIA / Magento-PageCache-powered-by-Varnish

Community version which is available on Magento Connect (http://www.magentocommerce.com/magento-connect/pagecache-powered-by-varnish.html)
89 stars 49 forks source link

Cannot redeclare Phoenix_VarnishCache_Adminhtml_VarnishCacheController::_isAllowed() in VarnishCacheController.php on line 155 #49

Closed schmite closed 8 years ago

schmite commented 8 years ago

This error is occurs when we click on Clean Varnish Cache. (varnishCache/clean):

"PHP message: PHP Fatal error: Cannot redeclare Phoenix_VarnishCache_Adminhtml_VarnishCacheController::_isAllowed() in /htdocs/.modman/Magento-PageCache-powered-by-Varnish/app/code/community/Phoenix/VarnishCache/controllers/Adminhtml/VarnishCacheController.php on line 155" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /index.php/admin/varnishCache/clean/key/7fe0841ea92203345929f2bbd2f512d4/

PageCache powered by Varnish Community version: 4.4.1 Magento version: 1.8.1.0 PHP version: 5.5.9

deniscsz commented 8 years ago

Fixed here: https://github.com/PHOENIX-MEDIA/Magento-PageCache-powered-by-Varnish/pull/50