테스트 사이트 - 개발 중인 베타 버전입니다

그누커머스 몇가지 질문 채택완료

fm25 9년 전 조회 3,313

1. 게시판 복사

 

복사가 안됩니다. 아래와 같은 오류가...

 

Warning: Invalid argument supplied for foreach() in /home/liberta198008/www/wp-includes/wp-db.php on line 2017 Warning: Invalid argument supplied for foreach() in /home/liberta198008/www/wp-includes/wp-db.php on line 2050 Warning: Invalid argument supplied for foreach() in /home/liberta198008/www/wp-includes/wp-db.php on line 2080 Warning: Invalid argument supplied for foreach() in /home/liberta198008/www/wp-includes/wp-db.php on line 2627 Warning: Invalid argument supplied for foreach() in /home/liberta198008/www/wp-includes/wp-db.php on line 1841 Warning: array_keys() expects parameter 1 to be array, null given in /home/liberta198008/www/wp-includes/wp-db.php on line 1846 Warning: implode(): Invalid arguments passed in /home/liberta198008/www/wp-includes/wp-db.php on line 1846 INSERT INTO `wp_g5_board` (``) VALUES ()</p><p>WordPress 데이터베이스 오류: [Row 1���� Į�� ī��Ʈ�� value ī���Ϳ� ��ġ���� �ʽ��ϴ�.]</p><p>INSERT INTO `wp_g5_board` (``) VALUES ()<span style="font-size: 11pt; line-height: 1.5;">

 

 

2. DHTML 에디터는 어디에?

 

게시판 설정 이외에 관련되는 곳이 있나요? 에디터가 뜨지 않아요.

 

 

3. 파일 첨부 불가

 

텍스트 에리어로 글을 쓰는데... 이미지고 파일이고 첨부가 안되요.

 

 

제가 워드프레스를 몰라서 헤메는 것일 수도...

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트
thisgun
9년 전

1.

 

알려주셔서 감사합니다. 문제가 되는 부분은 다음 버젼때에 고쳐서 배포 하겠습니다.

 

2. 

 

그누커머스 환경설정에서 빨간표시된 부분을 확인해 주세요.

 


 

3.

 

첨부파일의 업로드되는 경로는

/wp-content/uploads/gnucommerce/file

에 저장됩니다.

 

폴더 권한 또는 용량을 확인해 보세요.

로그인 후 평가할 수 있습니다

답변에 대한 댓글 7개

f
fm25
9년 전
2, 3번을 해결했습니다.

'uploads'란 폴더 자체가 존재하지 않더군요.
만들어서 첨부가 되고 뷰화면에 이미지가 나타나기는 하는데... 상단에 오류 메시지가 뜨네요.

에디터 자체 첨부
Warning: Base directory /home/liberta198008/www/wp-content/uploads/gnucommerce/cache does not exist, please create or change using %Cache.SerializerPath in /home/liberta198008/www/wp-content/plugins/gnucommerce/plug/htmlpurifier/HTMLPurifier.standalone.php on line 12316 Warning: Base directory /home/liberta198008/www/wp-content/uploads/gnucommerce/cache does not exist, please create or change using %Cache.SerializerPath in /home/liberta198008/www/wp-content/plugins/gnucommerce/plug/htmlpurifier/HTMLPurifier.standalone.php on line 12316 Warning: Base directory /home/liberta198008/www/wp-content/uploads/gnucommerce/cache does not exist, please create or change using %Cache.SerializerPath in /home/liberta198008/www/wp-content/plugins/gnucommerce/plug/htmlpurifier/HTMLPurifier.standalone.php on line 12316 Warning: Base directory /home/liberta198008/www/wp-content/uploads/gnucommerce/cache does not exist, please create or change using %Cache.SerializerPath in /home/liberta198008/www/wp-content/plugins/gnucommerce/plug/htmlpurifier/HTMLPurifier.standalone.php on line 12316 Warning: Base directory /home/liberta198008/www/wp-content/uploads/gnucommerce/cache does not exist, please create or change using %Cache.SerializerPath in /home/liberta198008/www/wp-content/plugins/gnucommerce/plug/htmlpurifier/HTMLPurifier.standalone.php on line 12316 Warning: Base directory /home/liberta198008/www/wp-content/uploads/gnucommerce/cache does not exist, please create or change using %Cache.SerializerPath in /home/liberta198008/www/wp-content/plugins/gnucommerce/plug/htmlpurifier/HTMLPurifier.standalone.php on line 12316

아래의 파일 첨부
Warning: Base directory /home/liberta198008/www/wp-content/uploads/gnucommerce/cache does not exist, please create or change using %Cache.SerializerPath in /home/liberta198008/www/wp-content/plugins/gnucommerce/plug/htmlpurifier/HTMLPurifier.standalone.php on line 12316 Warning: Base directory /home/liberta198008/www/wp-content/uploads/gnucommerce/cache does not exist, please create or change using %Cache.SerializerPath in /home/liberta198008/www/wp-content/plugins/gnucommerce/plug/htmlpurifier/HTMLPurifier.standalone.php on line 12316 Warning: Base directory /home/liberta198008/www/wp-content/uploads/gnucommerce/cache does not exist, please create or change using %Cache.SerializerPath in /home/liberta198008/www/wp-content/plugins/gnucommerce/plug/htmlpurifier/HTMLPurifier.standalone.php on line 12316

오류가 생긴 게시물은 삭제도 안됩니다.
게시판 자체를 삭제해서 해결...;;;
f
fm25
9년 전
삭제후 다시 설치하고 상위 폴더 권한을 777로 바꿨더니 업로드 폴더가 생기네요.
그래도 오류는 여전...
f
fm25
9년 전
워드 프레스 자체의 글쓰기에서 이미지 (에디터) 첨부는 정상이네요.
t
thisgun
9년 전
지금 0.1.7 버젼을 올려 놓았으니 플러그인 업데이트 하시면 됩니다.

첨부파일란에서 warning 뜨는 이유는

/wp-content/uploads/gnucommerce/

폴더안에 7개의 폴더가 있어야 합니다.
/cache
/debug
/editor
/file
/keys
/log
/tmp

만약에 위와 같은 폴더가 하나라도 빠졌다면

/wp-content/uploads/ 폴더가 없다면 생성하고 권한을 주신후

gnucommerce 플러그인을 비활성화 했다가 다시 활성화 하시면 위의 폴더들이 생깁니다.
f
fm25
9년 전
'debug'란 폴더가 없고 만들어지지도 않네요.
오류는 없어졌는데, 갤러리 게시판의 썸네일이 생성되지 않네요.
t
thisgun
9년 전
네 썸네일이 안나오네요 ㅠ_ㅠ;

알려주셔서 감사합니다.

plugins/gnucommerce/lib/thumbnail.lib.php 에서 22번째줄

$file_meta_data = get_metadata(GCBOARD_META_TYPE, $wr_id, GCBOARD_META_TYPE , true );

위와 되어 있는것을 아래와 같이 바꾸면 되실겁니다.

$file_meta_data = get_metadata(GCBOARD_META_TYPE, $wr_id, GCBOARD_FILE_META_KEY , true );

문제 되는 부분은 다음 버전때 고쳐서 배포하겠습니다.
f
fm25
9년 전
고맙습니다~^^

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인