cancel
Showing results for 
Search instead for 
Did you mean: 

1.9.1.0 Patch 6788 with Porto Theme - Customer Create Account Page and Static Blocks Not Working

1.9.1.0 Patch 6788 with Porto Theme - Customer Create Account Page and Static Blocks Not Working

 

After applying the 6788 Patch on Magento 1.9.1.0 using the Smartwave Porto theme, my team and I ran into several issues. The first issue was the static blocks that were not showing on the frontend, such as the filter products sliders.

 

This was easily fixed by heading over to the new options located in the Admin Dashboard, System->Permissions->Blocks and following the documentation that is available for Porto (http://newsmartwave.net/magento/porto/documentation/#staticblocks).

 

From here, we noticed that our "Create an Account" page was also not working correctly - after entering details on the page and submitting, it would bring the user back to the "Create an Account" page (inside some sort of loop). This was sorted after adding this:

 

<input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" />

below the:

 

<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="form-validate">

 to the files:

 

app/design/frontend/base/default/template/customer/form/register.phtml
app/design/frontend/base/default/template/opc/customer/form/register.phml
app/design/frontend/base/default/persistent/customer/form/register.phtml
app/design/frontend/rwd/default/template/persistent/customer/form/register.phtml
app/design/frontend/smartwave/porto/template/customer/form/register.phtml
app/design/frontend/smartwave/porto/template/opc/customer/form/register.phtml
app/design/frontend/smartwave/porto/template/persistent/customer/form/register.phtml

 

After this, the "Create an Account" page seems to work correctly. To confirm this, we noticed that the code has been added to the frontend "Create an Account" page (via "View Source"). You can identify whether it is working by searching for the following in the source code:

 

<input type="hidden" name="form_key" value="XXXXXXXXXXXXXXXX" />

 

This patch has also caused some other issues on our site, where the frontend of the site is completely blanked out after clearing the cache, and certain static blocks do not work correctly like before, but we are monitoring this and restoring backup files from

 

 

app/code/core/Mage/Admin
app/code/core/Mage/Adminhtml
app/code/core/Mage/Core
 

until a more stable fix is released/developed.

 

Once we got our site to work again, we created a backup of our site on another host using rsync via SSH:

 

root@host2: rsync -avz -e ssh username1@host1:public_html/ public_html/backup/

 

We hope that other users of the Smartwave Porto theme find this useful to fix their sites.

 

Also check out the following page for more information on applying the 6788 Patch:

 

http://www.atwix.com/magento/security-patch-supee-6788-installation-issues/

1 REPLY 1

Re: 1.9.1.0 Patch 6788 with Porto Theme - Customer Create Account Page and Static Blocks Not Working

@sudeav Brilliant, my clients Porto store had all of these issues after the patch.

 

Saved me hours of debugging.

 

Thank you.


Freelance Web Developer - Graphic Designer - SEO Analyst
Conor Rhys Tomkins