그누보드 5.2->5.3 업그레이드시 글을 읽을 수 없을 때 정보
그누보드 5.2->5.3 업그레이드시 글을 읽을 수 없을 때첨부파일
본문
카페24 호스팅의 경우 PHP 에러 메시지가 안나오기 때문에,
thisgun님의 해결방법대로 .htaccess를 수정합니다.
1. PHP 에러로그가 출력되게 합니다.
.htaccess 파일을 만들고 그 안에 아래 내용을 넣습니다.
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
2. 에러 내용이 출력이 되면 확인후에 코드를 고치거나 조치를 합니다.
3. 다 고쳤다면 에러 메시지 안나오게 다시 수정합니다.
다시 게시판으로 들어가면 아래 에러를 볼 수 있습니다.
Warning: include_once(/home/hosting_users/[계정이름]/www/board/plugin/htmlpurifier/extend.video.php): failed to open stream: No such file or directory in /home/hosting_users/[계정이름]/www/board/lib/common.lib.php on line 568
Warning: include_once(): Failed opening '/home/hosting_users/red2test/www/board/plugin/htmlpurifier/extend.video.php' for inclusion (include_path='/home/hosting_users/[계정이름]/www/board/plugin/htmlpurifier/standalone:.:/usr/local/php55/lib/php') in /home/hosting_users/[계정이름]/www/board/lib/common.lib.php on line 568
Fatal error: Class 'HTMLPurifier_Filter_Iframevideo' not found in /home/hosting_users/[계정이름]/www/board/lib/common.lib.php on line 582
extend.video.php를 다운받아서 FTP로 [그누보드5 폴더]/plugin/htmlpurifier/ 에 업로드하면 해결됩니다.
7