영카트 [YC4] 최상단에 설치안해서 경로 오류날때
페이지 정보
본문
영카트4를 도메인 최상단이 아닌 폴더에 설치한 경우 몇곳에서 경로 오류가 발생합니다.
아래와 같이 /shop/ 경로가 잡힌 경우입니다.
1. 폴더 / shop / cartsub.inc.php 261줄
echo "document.location.href = '$g4[bbs_path]/login.php?url=".urlencode("/shop/orderform.php")."';";
를 수정
//echo "document.location.href = '$g4[bbs_path]/login.php?url=".urlencode("/폴더/shop/orderform.php")."';";
echo "document.location.href = '$g4[bbs_path]/login.php?url=".urlencode("$g4[shop_path]/orderform.php")."';";
2. 폴더 / shop / cartupdate.php 261 줄
goto_url("$g4[url]/$g4[bbs]/login.php?url=".urlencode("/shop/orderform.php?sw_direct=$sw_direct"));
를 수정
//goto_url("$g4[url]/$g4[bbs]/login.php?url=".urlencode("/폴더/shop/orderform.php?sw_direct=$sw_direct"));
goto_url("$g4[url]/$g4[bbs]/login.php?url=".urlencode("$g4[shop_path]/orderform.php?sw_direct=$sw_direct"));
3. 폴더 / shop / mypage.php 5줄
goto_url("$g4[path]/bbs/login.php?url=".urlencode("/shop/mypage.php"));
를 수정
//goto_url("$g4[path]/bbs/login.php?url=".urlencode("/폴더/shop/mypage.php"));
goto_url("$g4[path]/bbs/login.php?url=".urlencode("$g4[shop_path]/mypage.php"));
4-1. 폴더 / shop / orderinquiry.php 19줄
goto_url("$g4[bbs_path]/login.php?url=".urlencode("/shop/orderinquiry.php"));
를 수정
//goto_url("$g4[bbs_path]/login.php?url=".urlencode("/폴더/shop/orderinquiry.php"));
goto_url("$g4[bbs_path]/login.php?url=".urlencode("$g4[shop_path]/orderinquiry.php"));
4-2. 폴더 / shop / orderinquiry.php 50줄
goto_url("/shop/orderinquiryview.php?od_id=$row[od_id]&on_uid=$row[on_uid]");
를 수정
//goto_url("/폴더/shop/orderinquiryview.php?od_id=$row[od_id]&on_uid=$row[on_uid]");
goto_url("$g4[shop_path]/orderinquiryview.php?od_id=$row[od_id]&on_uid=$row[on_uid]");
5. 폴더 / shop / wishlist.php 5줄
goto_url("$g4[bbs_path]/login.php?url=".urlencode("/shop/mypage.php"));
를 수정
//goto_url("$g4[bbs_path]/login.php?url=".urlencode("/폴더/shop/mypage.php"));
goto_url("$g4[bbs_path]/login.php?url=".urlencode("$g4[shop_path]/mypage.php"));
아래와 같이 /shop/ 경로가 잡힌 경우입니다.
1. 폴더 / shop / cartsub.inc.php 261줄
echo "document.location.href = '$g4[bbs_path]/login.php?url=".urlencode("/shop/orderform.php")."';";
를 수정
//echo "document.location.href = '$g4[bbs_path]/login.php?url=".urlencode("/폴더/shop/orderform.php")."';";
echo "document.location.href = '$g4[bbs_path]/login.php?url=".urlencode("$g4[shop_path]/orderform.php")."';";
2. 폴더 / shop / cartupdate.php 261 줄
goto_url("$g4[url]/$g4[bbs]/login.php?url=".urlencode("/shop/orderform.php?sw_direct=$sw_direct"));
를 수정
//goto_url("$g4[url]/$g4[bbs]/login.php?url=".urlencode("/폴더/shop/orderform.php?sw_direct=$sw_direct"));
goto_url("$g4[url]/$g4[bbs]/login.php?url=".urlencode("$g4[shop_path]/orderform.php?sw_direct=$sw_direct"));
3. 폴더 / shop / mypage.php 5줄
goto_url("$g4[path]/bbs/login.php?url=".urlencode("/shop/mypage.php"));
를 수정
//goto_url("$g4[path]/bbs/login.php?url=".urlencode("/폴더/shop/mypage.php"));
goto_url("$g4[path]/bbs/login.php?url=".urlencode("$g4[shop_path]/mypage.php"));
4-1. 폴더 / shop / orderinquiry.php 19줄
goto_url("$g4[bbs_path]/login.php?url=".urlencode("/shop/orderinquiry.php"));
를 수정
//goto_url("$g4[bbs_path]/login.php?url=".urlencode("/폴더/shop/orderinquiry.php"));
goto_url("$g4[bbs_path]/login.php?url=".urlencode("$g4[shop_path]/orderinquiry.php"));
4-2. 폴더 / shop / orderinquiry.php 50줄
goto_url("/shop/orderinquiryview.php?od_id=$row[od_id]&on_uid=$row[on_uid]");
를 수정
//goto_url("/폴더/shop/orderinquiryview.php?od_id=$row[od_id]&on_uid=$row[on_uid]");
goto_url("$g4[shop_path]/orderinquiryview.php?od_id=$row[od_id]&on_uid=$row[on_uid]");
5. 폴더 / shop / wishlist.php 5줄
goto_url("$g4[bbs_path]/login.php?url=".urlencode("/shop/mypage.php"));
를 수정
//goto_url("$g4[bbs_path]/login.php?url=".urlencode("/폴더/shop/mypage.php"));
goto_url("$g4[bbs_path]/login.php?url=".urlencode("$g4[shop_path]/mypage.php"));
댓글목록
등록된 댓글이 없습니다.