当我尝试在后端保存产品的简短和长描述时遇到了一些问题。每当我尝试更改描述并按保存时,我输入的文本就会消失,并且 textarea 字段为空白。这不仅仅发生在长短描述中。问题在于产品编辑页面中的所有文本区域字段。我可以更改类别页面等中的文本区域字段。
我有一些 PDO mysql 错误调试向您展示..
SQL: SELECT `main_table`.`tax_calculation_rate_id`, `main_table`.`tax_calculation_rule_id`, `main_table`.`customer_tax_class_id`, `main_table`.`product_tax_class_id`, `rule`.`priority`, `rule`.`position`, `rate`.`rate` AS `value`, `rate`.`tax_country_id`, `rate`.`tax_region_id`, `rate`.`tax_postcode`, `rate`.`tax_calculation_rate_id`, `rate`.`code`, IF(title_table.value IS NULL, rate.code, title_table.value) AS `title` FROM `tax_calculation` AS `main_table`
INNER JOIN `tax_calculation_rule` AS `rule` ON `rule`.`tax_calculation_rule_id` = main_table.tax_calculation_rule_id
INNER JOIN `tax_calculation_rate` AS `rate` ON rate.tax_calculation_rate_id = main_table.tax_calculation_rate_id
LEFT JOIN `tax_calculation_rate_title` AS `title_table` ON rate.tax_calculation_rate_id = title_table.tax_calculation_rate_id AND title_table.store_id = '0' WHERE (customer_tax_class_id = 3) AND (product_tax_class_id IN ('7')) AND (rate.tax_country_id = 'SE') AND (rate.tax_region_id IN(0, 0)) AND (rate.zip_is_range IS NULL) AND (rate.tax_postcode IS NULL OR rate.tax_postcode IN('*', '', '', '*')) ORDER BY `priority` ASC, `tax_calculation_rule_id` ASC, `tax_country_id` DESC, `tax_region_id` DESC, `tax_postcode` DESC, `value` DESC
AFF: 1
TIME: 0.0006
TRACE: #1 Varien_Db_Adapter_Pdo_Mysql#0000000002b9780300000000842d8272#->_debugStat(2, 'SELECT `main_tab...', array(), &Varien_Db_Statement_Pdo_Mysql#0000000002b97a2500000000842d8272#) called at [lib/Varien/Db/Adapter/Pdo/ Mysql.php:424]
#2 Varien_Db_Adapter_Pdo_Mysql#0000000002b9780300000000842d8272#->query(&Varien_Db_Select#0000000002b97ac200000000842d8272#, array()) called at [lib/Zend/Db/Adapter/Abstract.php:734]
#3 Varien_Db_Adapter_Pdo_Mysql[Zend_Db_Adapter_Abstract]#0000000002b9780300000000842d8272#->fetchAll(&Varien_Db_Select#0000000002b97ac200000000842d8272#) called at [app/code/core/Mage/Tax/Model/Resource/Calculation. php:341]
#4 Mage_Tax_Model_Resource_Calculation#0000000002b97ab100000000842d8272#->_getRates(&Varien_Object#0000000002b97a8900000000842d8272#) called at [app/code/core/Mage/Tax/Model/Resource/Calculation.php:99]
#5 Mage_Tax_Model_Resource_Calculation#0000000002b97ab100000000842d8272#->getRateInfo(&Varien_Object#0000000002b97a8900000000842d8272#) called at [app/code/core/Mage/Tax/Model/Calculation.php:193]
#6 Mage_Tax_Model_Calculation#0000000002b97a8a00000000842d8272#->getRate(&Varien_Object#0000000002b97a8900000000842d8272#) called at [app/code/core/Mage/Tax/Model/Calculation.php:412]
#7 Mage_Tax_Model_Calculation#0000000002b97a8a00000000842d8272#->_getRates(&Varien_Object#0000000002b97a8900000000842d8272#, 'product_class_id', 'PRODUCT') called at [app/code/core/Mage/Tax/Model/Calculation.php:420]
#8 Mage_Tax_Model_Calculation#0000000002b97a8a00000000842d8272#->getRatesForAllProductTaxClasses(&Varien_Object#0000000002b97a8900000000842d8272#) called at [app/code/core/Mage/Tax/Helper/Data.php:392]
#9 ET_CurrencyManager_Helper_Tax[Mage_Tax_Helper_Data]#0000000002b97b3000000000842d8272#->_getAllRatesByProductClass(&ET_CurrencyManager_Model_Store#0000000002b9782300000000842d8272#) called at [app/code/core/Mage/Tax/ Helper/Data.php:376]
#10 ET_CurrencyManager_Helper_Tax[Mage_Tax_Helper_Data]#0000000002b97b3000000000842d8272#->getAllRatesByProductClass(&ET_CurrencyManager_Model_Store#0000000002b9782300000000842d8272#) called at [app/design/adminhtml/ default/default/template/catalog/product/js.phtml:45]
#11 include('/var/www/vb1/app...') called at [app/code/core/Mage/Core/Block/Template.php:241]
#12 Mage_Adminhtml_Block_Catalog_Product_Edit_Js[Mage_Core_Block_Template]#0000000002b97a6c00000000842d8272#->fetchView('adminhtml/defaul...') called at [app/code/core/Mage/Core/Block/Template.php:272]
#13 Mage_Adminhtml_Block_Catalog_Product_Edit_Js[Mage_Core_Block_Template]#0000000002b97a6c00000000842d8272#->renderView() called at [app/code/core/Mage/Core/Block/Template.php:286]
#14 Mage_Adminhtml_Block_Catalog_Product_Edit_Js[Mage_Core_Block_Template]#0000000002b97a6c00000000842d8272#->_toHtml() called at [app/code/core/Mage/Adminhtml/Block/Template.php:81]
#15 Mage_Adminhtml_Block_Catalog_Product_Edit_Js[Mage_Adminhtml_Block_Template]#0000000002b97a6c00000000842d8272#->_toHtml() called at [app/code/core/Mage/Core/Block/Abstract.php:863]
#16 Mage_Adminhtml_Block_Catalog_Product_Edit_Js[Mage_Core_Block_Abstract]#0000000002b97a6c00000000842d8272#->toHtml() called at [app/code/core/Mage/Core/Block/Text/List.php:43]
#17 Mage_Core_Block_Text_List#0000000002b97b0000000000842d8272#->_toHtml() called at [app/code/core/Mage/Core/Block/Abstract.php:863]
#18 Mage_Core_Block_Text_List[Mage_Core_Block_Abstract]#0000000002b97b0000000000842d8272#->toHtml() called at [app/code/core/Mage/Core/Block/Abstract.php:582]
#19 Mage_Adminhtml_Block_Page[Mage_Core_Block_Abstract]#0000000002b97b3b00000000842d8272#->_getChildHtml('js', true) called at [app/code/core/Mage/Core/Block/Abstract.php:526]
#20 Mage_Adminhtml_Block_Page[Mage_Core_Block_Abstract]#0000000002b97b3b00000000842d8272#->getChildHtml('js') called at [app/design/adminhtml/default/default/template/page.phtml:82]
#21 include('/var/www/vb1/app...') called at [app/code/core/Mage/Core/Block/Template.php:241]
#22 Mage_Adminhtml_Block_Page[Mage_Core_Block_Template]#0000000002b97b3b00000000842d8272#->fetchView('adminhtml/defaul...') called at [app/code/core/Mage/Core/Block/Template.php:272]
#23 Mage_Adminhtml_Block_Page[Mage_Core_Block_Template]#0000000002b97b3b00000000842d8272#->renderView() called at [app/code/core/Mage/Core/Block/Template.php:286]
#24 Mage_Adminhtml_Block_Page[Mage_Core_Block_Template]#0000000002b97b3b00000000842d8272#->_toHtml() called at [app/code/core/Mage/Adminhtml/Block/Template.php:81]
#25 Mage_Adminhtml_Block_Page[Mage_Adminhtml_Block_Template]#0000000002b97b3b00000000842d8272#->_toHtml() called at [app/code/core/Mage/Core/Block/Abstract.php:863]
#26 Mage_Adminhtml_Block_Page[Mage_Core_Block_Abstract]#0000000002b97b3b00000000842d8272#->toHtml() called at [app/code/core/Mage/Core/Model/Layout.php:555]
#27 Mage_Core_Model_Layout#0000000002b9783e00000000842d8272#->getOutput() called at [app/code/core/Mage/Core/Controller/Varien/Action.php:390]
#28 Mage_Adminhtml_Catalog_ProductController[Mage_Core_Controller_Varien_Action]#0000000002b978af00000000842d8272#->renderLayout() called at [app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php:269]
#29 Mage_Adminhtml_Catalog_ProductController#0000000002b978af00000000842d8272#->editAction() called at [app/code/core/Mage/Core/Controller/Varien/Action.php:419]
#30 Mage_Adminhtml_Catalog_ProductController[Mage_Core_Controller_Varien_Action]#0000000002b978af00000000842d8272#->dispatch('edit') called at [app/code/core/Mage/Core/Controller/Varien/Router/Standard.php:250]
#31 Mage_Core_Controller_Varien_Router_Admin[Mage_Core_Controller_Varien_Router_Standard]#0000000002b9785400000000842d8272#->match(&Mage_Core_Controller_Request_Http#0000000002b9782000000000842d8272#) called at [app/code/ core/Mage/Core/Controller/Varien/Front.php:176]
#32 Mage_Core_Controller_Varien_Front#0000000002b9784a00000000842d8272#->dispatch() called at [app/code/core/Mage/Core/Model/App.php:354]
#33 Mage_Core_Model_App#0000000002b9781400000000842d8272#->run(array('scope_code' => '', 'scope_type' => 'store', 'options' => array())) called at [app/Mage.php:683]
#34 Mage::run('', 'store') called at [index.php:87]
更新: 当我们将 FCK 编辑器更改为 TinyMCE 编辑器时,这个问题就开始了。我也尝试过重新安装 fck 和 mce,但没有运气。