cancel
Showing results for 
Search instead for 
Did you mean: 

error installing Patch SUPEE-6788_CE

error installing Patch SUPEE-6788_CE

Hi all,

I'm trying to install the SUPEE-6788_CE patch but I get the following error. Can anyone help out? System is Debian 7.x plus Magento 1.9.2.0

 

root@sosaria:/var/www/virtual/mydomain/htdocs#  sh PATCH_SUPEE-6788_CE_1.9.2.0_v1-2015-10-26-11-37-50.sh 

 

PATCH_SUPEE-6788_CE_1.9.2.0_v1-2015-10-26-11-37-50.sh: 14: PATCH_SUPEE-6788_CE_1.9.2.0_v1-2015-10-26-11-37-50.sh: 127: not found

PATCH_SUPEE-6788_CE_1.9.2.0_v1-2015-10-26-11-37-50.sh: 14: PATCH_SUPEE-6788_CE_1.9.2.0_v1-2015-10-26-11-37-50.sh: 127: not found

PATCH_SUPEE-6788_CE_1.9.2.0_v1-2015-10-26-11-37-50.sh: 25: PATCH_SUPEE-6788_CE_1.9.2.0_v1-2015-10-26-11-37-50.sh: 0: not found

Checking if patch can be applied/reverted successfully...

+-e ERROR: Patch can't be applied/reverted successfully.

 

patching file .htaccess

Hunk #1 FAILED at 207.

1 out of 1 hunk FAILED -- saving rejects to file .htaccess.rej

patching file .htaccess.sample

patching file app/code/core/Mage/Admin/Model/Block.php

patching file app/code/core/Mage/Admin/Model/Resource/Block.php

patching file app/code/core/Mage/Admin/Model/Resource/Block/Collection.php

patching file app/code/core/Mage/Admin/Model/Resource/Variable.php

patching file app/code/core/Mage/Admin/Model/Resource/Variable/Collection.php

patching file app/code/core/Mage/Admin/Model/Variable.php

patching file app/code/core/Mage/Admin/etc/config.xml

patching file app/code/core/Mage/Admin/sql/admin_setup/upgrade-1.6.1.1-1.6.1.2.php

patching file app/code/core/Mage/Adminhtml/Block/Permissions/Block.php

patching file app/code/core/Mage/Adminhtml/Block/Permissions/Block/Edit.php

patching file app/code/core/Mage/Adminhtml/Block/Permissions/Block/Edit/Form.php

patching file app/code/core/Mage/Adminhtml/Block/Permissions/Block/Grid.php

patching file app/code/core/Mage/Adminhtml/Block/Permissions/Variable.php

patching file app/code/core/Mage/Adminhtml/Block/Permissions/Variable/Edit.php

patching file app/code/core/Mage/Adminhtml/Block/Permissions/Variable/Edit/Form.php

patching file app/code/core/Mage/Adminhtml/Block/Permissions/Variable/Grid.php

patching file app/code/core/Mage/Adminhtml/controllers/Permissions/BlockController.php

patching file app/code/core/Mage/Adminhtml/controllers/Permissions/VariableController.php

patching file app/code/core/Mage/Adminhtml/etc/adminhtml.xml

patching file app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php

patching file app/code/core/Mage/Core/Controller/Front/Action.php

patching file app/code/core/Mage/Core/Controller/Request/Http.php

patching file app/code/core/Mage/Core/Controller/Varien/Router/Admin.php

patching file app/code/core/Mage/Core/Helper/UnserializeArray.php

patching file app/code/core/Mage/Core/Model/Email/Template/Filter.php

patching file app/code/core/Mage/Core/Model/Resource/Setup.php

patching file app/code/core/Mage/Core/etc/config.xml

patching file app/code/core/Mage/Core/etc/system.xml

patching file app/code/core/Mage/Customer/Block/Account/Changeforgotten.php

patching file app/code/core/Mage/Customer/Block/Account/Resetpassword.php

patching file app/code/core/Mage/Customer/controllers/AccountController.php

patching file app/code/core/Mage/Downloadable/Model/Product/Type.php

patching file app/code/core/Mage/Eav/Model/Resource/Attribute/Collection.php

patching file app/code/core/Mage/Sales/Model/Resource/Order/Item/Collection.php

patching file app/code/core/Mage/Sales/controllers/DownloadController.php

patching file app/code/core/Mage/SalesRule/Model/Resource/Coupon/Collection.php

patching file app/design/adminhtml/default/default/layout/admin.xml

patching file app/design/frontend/base/default/layout/customer.xml

patching file app/design/frontend/base/default/template/customer/form/register.phtml

patching file app/design/frontend/base/default/template/customer/form/resetforgottenpassword.phtml

patching file app/design/frontend/base/default/template/page/js/cookie.phtml

patching file app/design/frontend/base/default/template/persistent/customer/form/register.phtml

patching file app/design/frontend/default/iphone/layout/customer.xml

patching file app/design/frontend/default/modern/layout/customer.xml

patching file app/design/frontend/rwd/default/layout/customer.xml

patching file app/design/frontend/rwd/default/template/customer/form/resetforgottenpassword.phtml

patching file app/design/frontend/rwd/default/template/persistent/customer/form/register.phtml

patching file cron.php

patching file dev/tests/functional/.htaccess

patching file errors/processor.php

patching file lib/Unserialize/Parser.php

patching file lib/Unserialize/Reader/Arr.php

patching file lib/Unserialize/Reader/ArrKey.php

patching file lib/Unserialize/Reader/ArrValue.php

patching file lib/Unserialize/Reader/Bool.php

patching file lib/Unserialize/Reader/Dbl.php

patching file lib/Unserialize/Reader/Int.php

patching file lib/Unserialize/Reader/Str.php

patching file lib/Varien/Data/Collection/Db.php

patching file lib/Zend/Xml/Security.php

root@sosaria:/var/www/virtual/mydomain/htdocs# 

 

3 REPLIES 3

Re: error installing Patch SUPEE-6788_CE

patching file .htaccess

Hunk #1 FAILED at 207.

1 out of 1 hunk FAILED -- saving rejects to file .htaccess.rej

You have a customized .htaccess file which most sites do.

 

Save a copy of the .htaccess file somewhere safe.

 

Download the Magento 1.9.2.0 installer archive, extract .htaccess and upload it to your website

 

Apply patch SUPEE-6788

 

Merge the changes made to this .htaccess file with your saved customized .htaccess file and upload it to your website.

Re: error installing Patch SUPEE-6788_CE

Thanks for the reply. I've downloaded the original install but can't seem to locate the .htaccess file in the .zip 

 

Do you remember the exact path? 

Thanks,

Rob

Re: error installing Patch SUPEE-6788_CE

 

 Grab the larger installer that has all the files.  In the root you should see a .htaccess file you can upload.  You may need to replace the sample htaccess as well.