Payment of ₹ requested by HONEY VIG. Click the link to pay securely via Razorpay: Make 5000 payment Payment of ₹ requested by HONEY VIG. Click the link to pay securely via Razorpay: Make 5000 payment ⭐ If you would like to buy me a coffee, well thank you very much that is mega kind! : https://www.buymeacoffee.com/honeyvig
Hire a web Developer and Designer to upgrade and boost your online presence with cutting edge Technologies

Tuesday, October 8, 2024

How to Install Magento SUPEE 6788 with or without SSH

 

Securing the stores against any potential attacks or threats is a must factor for any E-commerce store. To serve this purpose, Magento releases Security Patches frequently. With the Security Patches correctly installed in Magento stores, the store owners increase the security and hence provide safe transaction experience to their customers!

Magento released Security Patch SUPEE 6788 on Oct 27, 2015, to ensure protection against threats such as remote code execution, information leaks, and cross-site scripting.

With nearing of Magento 1 end of life, it is strongly recommended to migrate to the latest Magento 2.4.8  rather than installing Magento SUPEE-6788.

Installing Magento SUPEE 6788

One of the below methods is to be followed to install Magento SUPEE 6788.

Method 1: Install Magento SUPEE 6788 using SSH

Contact your hosting provider if you don’t know how to set up SSH. Download Magento SUPEE 6788 Patches files for your Magento Version from here.

Upload the patch into your Magento root directory and run the appropriate SSH command:

For .sh file extension:

sh patch_file_name.sh

Example:

sh PATCH_SUPEE-6788_CE_v1.9.3.2-1.9.3.7_v1-2018-02-23-06-01-40.sh

For .patch file extension:

patch —p0 < patch_file_name.patch

Note: Once executed the command, refresh the cache in the Admin under “System > Cache Management” so that the changes can be reflected. We strongly recommend that you test all patches in a test environment before taking them live.

Method 2: Install Magento SUPEE 6788 with PrePatched Files

Download the zip file for your Magento Version for the patch installation. You can also download these Pre Patched files from GitHub. After downloading the files, just upload it to your Magento root folder.

Magento VersionSUPEE 6788
Magento 1.9.2.1CE-1.9.2.1
Magento 1.9.2.0CE-1.9.2.0
Magento 1.9.1.1CE-1.9.1.1
Magento 1.9.1.0CE-1.9.1.0
Magento 1.9.0.1CE-1.9.0.1
Magento 1.8.1.0CE-1.8.1.0
Magento 1.8.0.0CE-1.8.0.0
Magento 1.7.0.2CE-1.7.0.2
Magento 1.6.2.0CE-1.6.2.0
Magento 1.6.1.0CE-1.6.1.0
Magento 1.5.1.0CE-1.5.1.0

How to check if Magento SUPEE 6788 has been installed correctly?

Use magereport.com to check the accuracy of the installation process.

Magento SUPEE 6788 Installation Possible Issues:

After Magento SUPEE 6788 installation, if you don’t get bash output like “Patch was applied/reverted successfully”, check the output for any issues. If the issue still persists, it is recommended to update the .htaccess file. First of all, take a backup and replace the default one. If it doesn’t help, we provide advanced solution to follow but implemet it on your own responsibility.

Simply remove the lines 163-195 from the patch file which should start with:

diff --git .htaccess .htaccess

and end with:

+ 

Additionally, if it helps apply the patch, simply add below lines at the end of your .htaccess file:

## Deny access to cron.php <Files cron.php>      ############################################     ## uncomment next lines to enable cron access with base HTTP authorization     ## http://httpd.apache.org/docs/2.2/howto/auth.html     ##     ## Warning: .htpasswd file should be placed somewhere not accessible from the web.     ## This is so that folks cannot download the password file.     ## For example, if your documents are served out of /usr/local/apache/htdocs     ## you might want to put the password file(s) in /usr/local/apache/.      #AuthName "Cron auth"     #AuthUserFile ../.htpasswd     #AuthType basic     #Require valid-user      ############################################      Order allow,deny     Deny from all  </Files>

Now check if any file has been infected with patch file override. Most of the updated files reside in core structure and they shouldn’t be affected but still it’s wise decision to check files below to check after patch installation:

  • Any class overriding Mage_Customer_AccountController (magento_root/app/code/core/Mage/Customer/controllers/AccountController.php).
  • Custom design theme may override customer registration form where you should simply add a form key right after the “form” tag:
<input     type="hidden"     name="form_key"     value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" />
  • Affected templates are as follows:
    • magento_root/app/design/frontend/base/default/template/customer/form/register.phtml
    • magento_root/app/design/frontend/base/default/template/persistent/customer/form/register.phtml
    • magento_root/app/design/frontend/rwd/enterprise/template/customer/form/register.phtml
  • For Enterprise Edition:
    • magento_root/app/design/frontend/enterprise/default/template/customer/form/register.phtml
    • magento_root/app/design/frontend/enterprise/default/template/persistent/customer/form/register.phtml
    • magento_root/app/design/frontend/rwd/enterprise/template/customer/form/register.phtml
    • magento_root/app/design/frontend/rwd/enterprise/template/persistent/customer/form/register.phtml
  • Forgot password reset form may have overridden, here, replace the “form” opening tag with the below one:
<form     action="<?php echo $this->getUrl('*/*/resetpasswordpost'); ?>"     method="post"     id="form-validate" >
  • Affected templates are as follows:
    • magento_root/app/design/frontend/base/default/template/customer/form/resetforgottenpassword.phtml
    • magento_root/app/design/frontend/rwd/default/template/customer/form/resetforgottenpassword.phtml
  • For Enterprise Edition:
    • magento_root/app/design/frontend/enterprise/default/template/customer/form/resetforgottenpassword.phtml
    • “customer_account_changeforgotten” may have replaced Customer layout “customer_account_resetpassword”. So, if you have magento_root/app/design/frontend/custom_package/custome_theme/layout/customer.xml or custom theme with the same file in “default”, “rwd” or “enterprise” packages, replace:
<customer_account_resetpassword translate="label"> ......... </customer_account_resetpassword>

with:

<customer_account_changeforgotten translate="label">     <label>Reset a Password</label>     <remove name="right"/>     <remove name="left"/>     <reference name="head">         <action method="setTitle" translate="title" module="customer">             <title>Reset a Password</title>         </action>     </reference>     <reference name="root">         <action method="setTemplate">             <template>page/1column.phtml</template>         </action>         <action method="setHeaderTitle" translate="title" module="customer">             <title>Reset a Password</title>         </action>     </reference>     <reference name="content">         <block type="customer/account_changeforgotten" name="changeForgottenPassword"                template="customer/form/resetforgottenpassword.phtml"/>     </reference> </customer_account_changeforgotten>

Store owners who don’t want to get into the task of installation may check Magento Security Patches Installation Service!
Also, Magento Upgrade is advisable over patch installation in order to get the latest features and higher security for your Magento stores! To get your Magento store upgraded to the latest version

Wednesday, October 2, 2024

Store Locator: why is it fundamental in the Web-To-Store strategy of points of sale?

 

The search is the very first step of the customer journey and we know that the majority of consumers get information on the web (proximity, opening hours, reviews, itinerary, etc.) before deciding on the place to go. The Store Locator is a module for your website, allowing you to locate your physical points of sale and ensuring their good visibility in local search results.

47% of consumers use brand websites

By analyzing a little further, we identify that among the sources usitées by consumers, 47% préfèrent using brand sites while 77% préfèrent those of médias called « external »* (source: consumerbarometer.com), the most well‑known ébeing Google. Retail locations therefore have every intérêt à êre visible from these two groups.

*(24% use both)


How to promote the appearance of your points of sale in local search results?

The Store Locator is in fact the combination of two types of web pages:

  • A global search page (a map locating your points of sale with Pins, and integrating different features)
  • A point of sale page, the “digital storefront” of a single point of sale

To improve the visibilité of establishments within the l’local Internet it is therefore necessary to carry out SEO work around these two pages.

At the tê front of this optimization effort comes the effective publication ofa store locator page for each établissement existing. Indeed, the multiplication of the number of these pages has déjà an impact on your référencement local. You must then properly référencer the basic information (address, hours, coordonnées, etc.) and not forget l’intégration of inbound and outbound links from/to your website and your external pages (Google, Facebook, directories, etc.)

The fact of publishing content regularly will also give you an advantage, while stimulating the consumer's interest.

Finally, by technical work we mean, optimization of the Store Locator code : intégration of keywords, compatibilité for mobile display, use of tags proposées by Google à this purpose, etc.

All of these elements will favor the appearance of your points of sale in local search results and have a positive impact on the satisfaction of Internet users during their online search.

And if you could multiply the effectiveness of your Store Locator by 10 by coupling it with "Multi-diffusion"?