728x90

SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language=’en’
AND s.language!=’en’
WHERE s.context = ‘default’
LIMIT 1000 OFFSET 5000 made by activate_plugin

 

해당 에러와 같은 비슷한 에러가 일어나는 경우가 있다. 

대충 살펴보다 보면, 데이터베이스 wcl_wp_icl_string_translations 에서 error가 발생한 사항을 확인할 수 있는데, 이는 WPML의 Table Schema Setting 이 Server에서 사용되는 Table Schema Set에 적합하지 않아서 발생하는 문제이다. 

 

이 문제사항을 해결하기 위해서는 총 3가지를 점검해야하는데

1. MySQL Version

2. PHP Version

3. PHP script 내부에서의 query상의 오류이다.

 

불러오려는 데이터필드 일부를 찾을수가 없거나, 필드가 제대로 명시되어 있지 않은 경우 발생할 수 있다.

내 경우는 Mangboard와 WPML간의 호환성이 맞지 않아서 발생하는 문제인 줄 알았는데 그것이 아니라...

망보드에서 사용하려는 Filed Set을 찾을 수 없어서 발생하는 문제였다.

 

 

Plugin Author

mrdenny 

(@mrdenny)

1 year, 5 months ago

It appears that your MySQL database is rejecting the tables because it doesn’t like the length of the key in some of the tables.

I checked the table definitions and I didn’t see any indexes that were anything close to 3072 bytes (there was one I saw that was a little over 1000 bytes).

Do you know what version of MySQL you are running? Can you take a screenshot of the tables that were created? That should tell me which ones are missing and point me to potential issues.

+ Recent posts