SUPEE 6788 + Mage_Adminhtml_Permissions_BlockController + Controller file was loaded but class does not exist

magento.stackexchange https://magento.stackexchange.com//questions/89282

  •  13-12-2019
  •  | 
  •  

Question

My magento specifications are below:

  1. Magento 1.9.0.1
  2. PHP 5.3.3
  3. centos 6.6 (final)

I applied patch 6788 which was applied successfully without any errors. When I visit the new admin pages (block permissions, variable permissions) created by this patch, I get "There has been an error processing your request". In var/report the file mentions "Controller file was loaded but class does not exist".

I have tried flushing caches, deleting cache files, disabling compiler, Reloading the front page and even upgraded php to 5.4.4 but I keep getting this error.

Please suggest.

Thanks in advance!!

Was it helpful?

Solution

Turns out that SELinux was the culprit here. Apache was able to see the file but wasn't able to read the contents of the file. Apache was looking as the file as if it was blank.

I ran command getenforce which returned "Enforcing"

I change SELinux mode to "Permissive" by running setenforce 0

After above change, the file contents are visible to apache and everything is working fine now.

Hope this helps someone!!

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top