6

After applying the Magento patch SUPEE-6788, I find that the tables permission_block and permission_variable are not created in the database. How should I start investigate this problem? (The Magento version is 1.9.0.1)

  • Did the patch apply correctly? Have you tried clearing your cache and refreshing the page? – rob3000 Oct 28 '15 at 4:11
  • The patch claimed to be applied correctly. Cache clearing was done, but I would think that this is not a matter of cache, since the problem lies in the MySQL database, not on the web pages. – Heng-Cheong Leong Oct 28 '15 at 5:23
  • When you clear the cache and go to the frontend it runs all the update scripts for magento which is what the patch does. If you have the n98 tool installed you can run the following sys:setup:run – rob3000 Oct 28 '15 at 5:32
  • You are right. After applying the patch, I did a 'clear cache' followed by a reload of the front-end home page, the tables correctly appeared in the database. – Heng-Cheong Leong Oct 28 '15 at 5:52
  • Awesome. Just added it as an answer :) – rob3000 Oct 28 '15 at 7:00
7

Answered in comments.

You will need to clear the cache a reload the homepage in order for magento's update scripts to be called. Alternatively you can download N98-magerun and run the sys:setup:run command to run the updates.

| improve this answer | |
  • If this answer does not help you then you should also check out this answer – ForMat Nov 3 '15 at 15:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.