그누커머스 몇가지 질문

그누커머스 몇가지 질문

QA

그누커머스 몇가지 질문

답변 1

본문

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 ()
WordPress 데이터베이스 오류: [Row 1���� Į�� ī��Ʈ�� value ī���Ϳ� ��ġ���� �ʽ��ϴ�.]
INSERT INTO `wp_g5_board` (``) VALUES ()

 

 

2. DHTML 에디터는 어디에?

 

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

 

 

3. 파일 첨부 불가

 

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

 

 

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

이 질문에 댓글 쓰기 :

답변 1

1.

 

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

 

2. 

 

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

 

152731e15c36969410d90218e4ede5a1_1448584324_4326.png
 

3.

 

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

/wp-content/uploads/gnucommerce/file

에 저장됩니다.

 

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

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

오류가 생긴 게시물은 삭제도 안됩니다.
게시판 자체를 삭제해서 해결...;;;

지금 0.1.7 버젼을 올려 놓았으니 플러그인 업데이트 하시면 됩니다.

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

/wp-content/uploads/gnucommerce/

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

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

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

gnucommerce 플러그인을 비활성화 했다가 다시 활성화 하시면 위의 폴더들이 생깁니다.

네 썸네일이 안나오네요 ㅠ_ㅠ;

알려주셔서 감사합니다.

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 );

문제 되는 부분은 다음 버전때 고쳐서 배포하겠습니다.

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 219
© SIRSOFT
현재 페이지 제일 처음으로