How to fix access issues after applying magento patch SUPEE-6788

Download the Patch for SUPEE-6788 and copy the file to the {{magento_path}}/ folder on your server.

Before applying the patch, make backup of the folder {{magento_path}}/app/

To apply this patch, use one of these methods:

1. Apply the patch via Command Line (Preferable)

To run the script via command line (shell, SSH) you need to execute next command:

php {{magento_path}}/fixsupee6788.php

where {{magento_path}} - path to Magento Root folder on your server.


2. Apply the patch via Browser

Execute the patch in your browser. For example, http://yoursite.com/fixsupee6788.php


If you receive an error message while executing the patch: "Unable to write new configuration to ...", you need to set write access for the file and its path.
Run following command in the command line to set full access:

sudo chmod 777 -R <file_path>/

After script executing, patch will be applied to all Mirasvit extensions.
For security reasons, delete the executed patch from the server.

General Manuals