팁게시판에 일본어우편번호에러...
본문
팁게시판에 일본어우편번호를 테스트해보는데..다음과같은 에러가 납니다...
Fatal error: Call to undefined function get_city_select() inC:\aaa\skin\member\basic\register_form.skin.php on line 156
혹시 적용하는거 조언주실분 부탁드립니다...꾸벅
config.php
define('G5_POSTCODE_JS', '<script src="https://ajaxzip3.github.io/ajaxzip3.js" charset="UTF-8"></script>');
<tr>
<th scope="row">
주소
<?php if ($config['cf_req_addr']) { ?><strong class="sound_only">필수</strong><?php } ?>
</th>
<td>
<label for="reg_mb_zip1" class="sound_only">우편번호앞3자리<?php echo $config['cf_req_addr']?'<strong class="sound_only"> 필수</strong>':''; ?></label>
<input type="text" name="mb_zip1" value="<?php echo $member['mb_zip1'] ?>" id="reg_mb_zip1" <?php echo $config['cf_req_addr']?"required":""; ?> class="frm_input <?php echo $config['cf_req_addr']?"required":""; ?>" size="4" maxlength="3">
-
<label for="reg_mb_zip2" class="sound_only">우편번호뒤4자리<?php echo $config['cf_req_addr']?'<strong class="sound_only"> 필수</strong>':''; ?></label>
<input type="text" name="mb_zip2" value="<?php echo $member['mb_zip2'] ?>" id="reg_mb_zip2" <?php echo $config['cf_req_addr']?"required":""; ?> class="frm_input <?php echo $config['cf_req_addr']?"required":""; ?>" size="4" maxlength="4" onKeyUp="AjaxZip3.zip2addr('mb_zip1','mb_zip2','mb_city','mb_addr1','mb_addr2');">
<a href="http://www.post.japanpost.jp/zipcode/index.html" target="_blank" class="btn_frmline">주소검색</a><br>
<label for="reg_mb_city" class="sound_only">지역<?php echo $config['cf_req_addr']?'<strong class="sound_only"> 필수</strong>':''; ?></label>
<?php echo get_city_select('mb_city', $member['mb_city'], " id='reg_mb_city' ");?><br>
<input type="text" name="mb_addr1" value="<?php echo get_text($member['mb_addr1']) ?>" id="reg_mb_addr1" <?php echo $config['cf_req_addr']?"required":""; ?> class="frm_input frm_address <?php echo $config['cf_req_addr']?"required":""; ?>" size="50">
<label for="reg_mb_addr1">기본주소<?php echo $config['cf_req_addr']?'<strong class="sound_only"> 필수</strong>':''; ?></label><br>
<input type="text" name="mb_addr2" value="<?php echo get_text($member['mb_addr2']) ?>" id="reg_mb_addr2" class="frm_input frm_address" size="50">
<label for="reg_mb_addr2">상세주소</label>
</td>
</tr>
답변 1
일단 가장중요한게 get_city_select란 함수가 없다는겁니다.
아마 ****.lib.php파일형태로 include 처리가 되어있나본데요. 연결이 안된것같네요.
먼저 get_city_select()함수가 어느파일에 있은지부터 확인해봐야할것같습니다.
답변을 작성하시기 전에 로그인 해주세요.