CMS솔루션마켓, 이온디 - 워드프레스, 라이믹스, 카페24, 그누보드, 엑셀

Contents Management System

#13. 캘린더 게시판 스킨
- $tag_list = array($oDocument->get('tag_list'));
```
Error #0 "Non-static method planner123_main::fn_repeat_schedule() cannot be called statically" in D:\xampp\htdocs\rx\files\cache\template\modules\board\skins\wr_planner\_get_schedule.html.php on line 574
D:\xampp\htdocs\rx\common\framework\debug.php:681
```
해결방법  public static  라고 붙여준다.

```
ParseError #0 "syntax error, unexpected token "public"" in D:\xampp\htdocs\rx\files\cache\template\modules\board\skins\wr_planner\_get_schedule.html.php on line 574
D:\xampp\htdocs\rx\common\framework\debug.php:681
```

#14. 게시판 오류
```
Error #0 "Undefined constant "REMOTE_ADDR"" in D:\xampp\htdocs\rx\files\cache\template\modules\board\skins\wr_default\list.html.php on line 12
D:\xampp\htdocs\rx\common\framework\debug.php:681 
```
1) 해결 : $_SERVER['REMOTE_ADDR'] 로 수정함
```
Error #0 "Undefined constant "Mobile"" in D:\xampp\htdocs\rx\files\cache\template\modules\board\skins\wr_default\__setting.html.php on line 153 
```
2) 해결 : class_exists('Mobile')로 수정함
```
Error #0 "Undefined constant "category"" in D:\xampp\htdocs\rx\files\cache\template\modules\board\skins\wr_default\list.html.php on line 191 
```
3) 해결 : href="{getUrl('category',$val->category_srl,'document_srl','','page','')}" 로 수정
```
TypeError #0 "in_array(): Argument #2 ($haystack) must be of type array, bool given" in D:\xampp\htdocs\rx\files\cache\template\modules\board\skins\wr_default\list.html.php on line 264 
```
4) 해결
   in_array(): Argument #2 ($haystack) must be of type array, bool given
   → 스케치북5 스킨에서 발생, 아래와 같이 수정
   → @in_array('list_m',$mi->cmt_count) 를 in_array('list_m',$mi->cmt_count ?: []) 로 수정
   → @in_array('list_m',$mi->ext_img) 를 in_array('list_m',$mi->ext_img) ?: []) 로 수정
```
Error #0 "Undefined constant "category"" in D:\xampp\htdocs\rx\files\cache\template\modules\board\skins\wr_default\list.html.php on line 216
D:\xampp\htdocs\rx\common\framework\debug.php:681
``` 
5) 해결 : geturl(category...)를 getrul('category'...)로 수정함
```
TypeError #0 "count(): Argument #1 ($value) must be of type Countable|array, null given" in D:\xampp\htdocs\rx\files\cache\template\modules\board\skins\wr_default\_read_normal.html.php on line 229
D:\xampp\htdocs\rx\common\framework\debug.php:681
```
6) 해결 : count($tag_list)를 countobj($tag_list) 로 수정함
```
스케치북게시판댓글 > 내용 값은 필수입니다.
``` 
7) 해결
7.1) <input type="hidden" name="content" value="" /> 주석처리함
7.2) <textarea name="content" id="editor_{$oDocument->document_srl}" cols="50" rows="4"></textarea> name="content" 추가함
```
Error #0 "Undefined constant "member_srl"" in D:\xampp\htdocs\rx\files\cache\template\modules\board\skins\wr_default\_comment.html.php on line 26
D:\xampp\htdocs\rx\common\framework\debug.php:681
```
8) 해결 : variables['member_srl'] 변수명에 작은 따옴표 추가함

추천한 사람

 
댓글은 로그인 사용자만 작성 가능합니다. 로그인하기