2012-05-17 1 views
1

로 업그레이드하는 동안 오류가 : 나는 1.7로 업그레이드를 시도 할 때나는 오류 다음 얻을 젠토 1.7

SQLSTATE[23000]: Integrity constraint violation: 1052 Column ‘position’ in order clause is ambiguous

내가 Magento의 1.4 버전을 가졌다는, 첫째로 나는 성공적으로 1.6.2로 업그레이드하지만, 위의 오류가 발생했습니다.

답변

0

당신은이 솔루션을 시도 할 수 있습니다 도와주세요 :

  1. catalog_eav_attribute에 관련이 phpMyAdmin을, 테이블 eav_attribute을 찾습니다. 열 position에 테이블 eav_attribute에 있으며 놓습니다.

  2. 모두 지우기 캐시 및 색인화 된 모든 데이터

  3. 지금 프론트 페이지를 참조하십시오. 이제 새로운 오류 얻을 수 있습니다 :

SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘main_table.include_in_menu’ in ‘where clause’

  1. 이 찾아 열려있는 파일을 app/code/core/Mage/Catalog/Model/Resource/Category/Flat.php

을 주석 다음 줄 : 당신은에 의해 단계를 찾을 수 267

->where(‘main_table.is_active = ?’, ’1′) 
// ->where(‘main_table.include_in_menu = ?’, ’1′) 
->order(‘main_table.position’); 

단계 안내 : expertmagentodevelopers [도트] com/blog/how-to-upgrade-from-mage nto-1-6-1-to-1-7-0-using-connect-manager/

위의 솔루션은 내 경험에 기반하고 있습니다.

+0

절대 절대로 코어 파일을 편집하지 마십시오. – Ashfame