只需将我的站点升级到1.9.3.0,并出现错误SQLSTATE [42S22]:找不到列:1054未知列'catalog_product_entity_group_price.is_percent' [英] Just upgrade my site to 1.9.3.0 and got error SQLSTATE[42S22]: Column not found: 1054 Unknown column 'catalog_product_entity_group_price.is_percent'

查看:69
本文介绍了只需将我的站点升级到1.9.3.0,并出现错误SQLSTATE [42S22]:找不到列:1054未知列'catalog_product_entity_group_price.is_percent'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我使用Magento 1.9.2.4之前,今天我收到消息,也需要使用最新更新来升级我的magento,以及一些关键更新.

Before I was using Magento 1.9.2.4 and today I got message that need to upgrade my magento with latest update some critical updates too.

从下载器部分升级我的网站后,一切顺利,没有错误等,发生两件事,在更新我的index.php权限后,我注意到将权限更改为666网站正在正确打开,我的意思是首页显示,但是当我单击任何产品显示错误页面,其中包含以下信息.

After upgrading my website from downloader section everything went well no error etc, two things happen that I notices after update my index.php permission was change to 666 website is opening correctly I mean front page display, but when I click on any product It show error page with following information.

处理您的请求时出错

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'catalog_product_entity_group_price.is_percent' in 'field list', query was: SELECT `catalog_product_entity_group_price`.`value_id` AS `price_id`, `catalog_product_entity_group_price`.`website_id`, `catalog_product_entity_group_price`.`all_groups`, `catalog_product_entity_group_price`.`customer_group_id` AS `cust_group`, `catalog_product_entity_group_price`.`value` AS `price`, `catalog_product_entity_group_price`.`is_percent` FROM `catalog_product_entity_group_price` WHERE (entity_id='84') AND (website_id = 0)

Trace:
    #0 /home/MyWebsite/public_html/app/Mage.php(463): Mage_Core_Model_Config->getModelInstance('eav/entity_attr...', 'SQLSTATE[42S22]...')

   #1 /home/MyWebsite/public_html/app/code/core/Mage/Eav/Model/Entity/Abstract.php(661): Mage::getModel('eav/entity_attr...', 'SQLSTATE[42S22]...')
   #2 /home/MyWebsite/public_html/app/code/core/Mage/Eav/Model/Entity/Abstract.php(1641): Mage_Eav_Model_Entity_Abstract->walkAttributes('backend/afterLo...', Arr

不知道如何回滚,因为我没有得到备份,因为他们说备份是稳定的,或者无法解决此错误.

Not know how to roll back because I did not get backup as they says it is stable, or not able to resolve this error.

预先感谢

推荐答案

删除var/cache/

为了将来,请记住在执行更新之前关闭编译器,所有索引和所有缓存.

For the future, remember to turn off Compiler, all Indexes, and all Caches prior to performing an update.

发生的事情是配置缓存仍处于活动状态,并阻止Magento检测到必须进行数据库更改.

What happened, is that the configuration cache is still active, and prevents Magento from detecting that database changes are necessary.

这篇关于只需将我的站点升级到1.9.3.0,并出现错误SQLSTATE [42S22]:找不到列:1054未知列'catalog_product_entity_group_price.is_percent'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆