# Error while Patching Security Patch (SUPEE-6285)

While trying to patch magento, which I have done a few times now with prior patches successfully, I encountered an issue with this latest patch.

Checking if patch can be applied/reverted successfully...
ERROR: Patch can't be applied/reverted successfully.

patching file app/Mage.php
patching file app/code/community/Phoenix/Moneybookers/controllers/MoneybookersController.php
patching file app/code/core/Mage/Checkout/controllers/MultishippingController.php
patching file app/code/core/Mage/ImportExport/Model/Abstract.php
Hunk #1 succeeded at 89 with fuzz 2 (offset -6 lines).
patching file app/design/frontend/base/default/template/checkout/cart.phtml
Hunk #1 succeeded at 99 (offset 1 line).
patching file app/design/frontend/base/default/template/checkout/cart/noItems.phtml
Hunk #1 FAILED at 31.
1 out of 1 hunk FAILED -- saving rejects to file app/design/frontend/base/default/template/checkout/cart/noItems.phtml.rej
patching file app/design/frontend/base/default/template/checkout/onepage/failure.phtml
can't find file to patch at input line 894
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git app/design/frontend/default/modern/template/checkout/cart.phtml app/design/frontend/default/modern/template/checkout/cart.phtml
|index 43698c2..f4fe5ab 100644
|--- app/design/frontend/default/modern/template/checkout/cart.phtml
|+++ app/design/frontend/default/modern/template/checkout/cart.phtml
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
patching file errors/processor.php


So my first move is to go look at the .rej files it creates which I assume declare what the disconnects are. However the file isn't there. Which led me to think possibly the folder doesn't have write access, but it does. So I am confused as to what could be going wrong, any ideas?

Magento Version: CE 1.9.0.1

Patch: PATCH_SUPEE-6285_CE_1.9.1.1_v1-2015-07-07-09-03-34.sh

Also; It is stated with the patch that you must first implement SUPEE-5994 to ensure SUPEE-6285 works properly, which I have already done.

EDIT: Turns out at some point, I deleted the /modern/ folder when it wasn't being used. Replacing that removed the cart.phtml issue, however the noItems.phtml issue still persists.

• You probably have a modification inside app/design/frontend/default/modern/template/checkout/cart.phtml, open the downloaded patch file and see which changes is the patch introducing in the file. – mbalparda Jul 7 '15 at 19:45
• Turns out that default/modern folder wasn't being used, so at some point down the road I just deleted it. However I readded it, and it got rid of the issue regarding that cart.phtml, but the noItems.phtml issue still persists, while that file is surely there, yet still no reject file being created either. – ne0nlight Jul 7 '15 at 19:56
• Also have the same error here, i cant remember that i have made any changes to the cart – user27854 Jul 7 '15 at 20:21
• Update: I have solved the error by downloading my current magento version on magentocommerce.com/download (ver 1910) and have uploaded the whole /design/frontend/default/modern/ directory to my website. – user27854 Jul 7 '15 at 20:33
• this file app/design/frontend/base/default/template/checkout/cart/noItems.phtml was modified or is coming incomplete from an old version of magento – user2857 Jul 8 '15 at 8:00