2015-10-28 11 views
8

पर असफल मैं सिर्फ हालांकि हमारे Magento 1.9.2.1 स्थापना करने के लिए supree 6788 पैच आवेदन किया है जबMagento 1.9.2.1 Supee-6788 पैच - हंक .htaccess

श PATCH_SUPEE-6788_CE_1.9.2.1_v1-2015- क्रियान्वित 10-26-11-38-41.sh

मैं निम्नलिखित मिल: -

15-10-26-11-38-41.sh 
    Checking if patch can be applied/reverted successfully... 
    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/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/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 
    The next patch would delete the file dev/tests/functional/.htaccess, 
    which does not exist! Assume -R? [n] 
    Apply anyway? [n] 
    Skipping patch. 
    1 out of 1 hunk ignored 
    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 

मैं इसे पैच सही ढंग से लागू नहीं किया गया है ले?

+0

हाँ, यह –

+0

लागू नहीं हुआ कोई विचार क्यों नहीं होगा? –

+0

आपको बेस इंस्टॉलेशन से .htaccess फ़ाइलों का उपयोग करने की आवश्यकता है, शायद आपने उन –

उत्तर

7

यह .htaccess फ़ाइलों को संपादित करने के कारण होता है।

1) (अपने स्टॉक से .htaccess.sample फाइल डाउनलोड .htaccess.sample में डेटा के साथ अपनी .htaccess फाइल को बदलें अपनी .htaccess फाइल

2) की एक बैकअप बनाने Magento अगर आप डॉन स्थापित ' टी यह है)

3) पैच

4) .htaccess

5 में अपने बैकअप कॉपी) cron.php लाइनों कि पैच द्वारा htaccess फ़ाइल को जोड़ा गया था जोड़े को लागू करें।

+0

मुझे एक uneditited बेस htaccess फ़ाइल कहां मिल सकती है? क्योंकि मेरे पास मूल और Magento डाउनलोड फ़ाइल नहीं है अब 1.9.2.2 पर है। –

+2

यदि आपके पास नमूना नहीं है तो आपको इसे यहां से https://d.magentocommerce.com/download -> संग्रह जारी करना होगा। इसके अलावा मुझे वही त्रुटि मिल रही थी क्योंकि जब मैंने इसे चिपकाया तो अंत में एक अतिरिक्त लाइन ब्रेक था। –

+0

हैलो, आईव बेस फ़ाइल के साथ बदल दिया गया है, लेकिन ऐसा लगता है कि अन्य मुद्दे हैं, –

4

बहुत सरल इसके

चरण 1: बैकअप अपने .htaccess और .htaccess.sample

चरण 2: अपने Magento संस्करण के अनुसार अपलोड मूल .htaccess और .htaccess.sample फ़ाइलें।

चरण 3: निष्पादित पैच

1

ऐड तो क्रॉन सामान मैन्युअल अपने htaccess करने के लिए और पैच बैच से सामान हटा दें।

5

.htaccess.sample का उपयोग नहीं करेगा। स्टॉक Magento इंस्टॉल में, .htaccess और .htaccess.sample विभिन्न आकार हैं। आपको अपने संस्करण के लिए स्टॉक Magento .htaccess का उपयोग करने की आवश्यकता होगी। एक बार आपके पास स्टॉक संस्करण अपलोड हो जाने पर आप पैच को लागू कर सकते हैं और फिर .htaccess के नीचे से .htaccess के संस्करण में फ़ाइलों को टैग जोड़ें।

0

इस मदद हो सकता है इस फ़ोल्डर /lib/Unserialize नष्ट करने के लिए तो लागू

प्रयास करें।