탭메뉴를 쓰려고했는데 안떠요ㅠ 초보임..

· 2013-10-04 (금) 15:09:32 · 1997 · 5
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=144095&sca=%EC%B5%9C%EC%8B%A0%EA%B8%80&sfl=wr_subject%7C%7Cwr_content&stx=%ED%83%AD

여기있는 탭메뉴를 쓰려고 했는데 적용하니

Warning: include_once(bada_tab.php) [function.include-once]: failed to open stream: No such file or directory in /host/home/ghdud154/html/index.html on line 130Warning: include_once() [function.include]: Failed opening 'bada_tab.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home/ghdud154/html/index.html on line 130


라고 뜹니다...
업로드도 제대로 했는거 같고
원하는곳에 <? include_once("bada_tab.php"); ?> 라고 써 넣었는데도 도통 뜨지 않아요..

페이지 소스는 이렇습니다

<?
$g4_path = "./gnuboard4";
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>


<html>
<head>
<title>:: 최선을 다하는 청소업체 백두청소입니다 ::</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- Save for Web Slices (index.psd) -->
<table id="Table_01" width="1920" height="931" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="11">
<img src="html images/index/images/index_01.png" width="1920" height="18" alt=""></td>
</tr>
<tr>
<td rowspan="2">
<img src="html images/index/images/index_02.png" width="448" height="116" alt=""></td>
<td><a href="index.html"><img src="html images/index/images/index_03.png" alt="" width="258" height="103" border="0"></a></td>
<td rowspan="2">
<img src="html images/index/images/index_04.png" width="57" height="116" alt=""></td>
<td colspan="7"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="709" height="103">
<param name="movie" value="Flash/manu.swf">
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="swfversion" value="6.0.65.0">
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="Flash/manu.swf" width="709" height="103">
<!--<![endif]-->
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="swfversion" value="6.0.65.0">
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object></td>
<td rowspan="2">
<img src="html images/index/images/index_06.png" width="448" height="116" alt=""></td>
</tr>
<tr>
<td>
<img src="html images/index/images/index_07.png" width="258" height="13" alt=""></td>
<td colspan="7">
<img src="html images/index/images/index_08.png" width="709" height="13" alt=""></td>
</tr>
<tr>
<td colspan="11"><object id="FlashID2" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1920" height="385">
<param name="movie" value="Flash/main.swf">
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="swfversion" value="6.0.65.0">
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="Flash/main.swf" width="1920" height="385">
<!--<![endif]-->
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="swfversion" value="6.0.65.0">
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object></td>
</tr>
<tr>
<td rowspan="6">
<img src="html images/index/images/index_10.png" width="448" height="411" alt=""></td>
<td colspan="5">
<img src="html images/index/images/index_11.png" width="532" height="46" alt=""></td>
<td><a href="#"><img src="html images/index/images/index_12.png" alt="" width="238" height="46" border="0"></a></td>
<td colspan="3"><a href="#"><img src="html images/index/images/index_13.png" alt="" width="254" height="46" border="0"></a></td>
<td rowspan="6">
<img src="html images/index/images/index_14.png" width="448" height="411" alt=""></td>
</tr>
<tr>
<td colspan="9">
<img src="html images/index/images/index_15.png" width="1024" height="21" alt=""></td>
</tr>
<tr>
<td colspan="3"></td>
<td rowspan="2">
<img src="html images/index/images/index_17.png" width="17" height="266" alt=""></td>
<td colspan="3" rowspan="2"><img src="html images/index/images/ud_bar.png" width="433" height="26"></td>
<td rowspan="2"><img src="html images/index/images/index_19.png" width="26" height="266" alt=""></td>
<td rowspan="2">
<img src="html images/index/images/index_20.png" width="182" height="266" alt=""></td>
</tr>
<tr>
<td colspan="3"><? include_once("bada_tab.php"); ?> </td>
</tr>
<tr>
<td colspan="9">
<img src="html images/index/images/index_22.png" width="1024" height="11" alt=""></td>
</tr>
<tr>
<td colspan="9">
<img src="html images/index/images/index_23.png" alt="" width="1024" height="67" border="0" usemap="#Map"></td>
</tr>
<tr>
<td>
<img src="html images/index/images/spacer.gif" width="448" height="1" alt=""></td>
<td>
<img src="html images/index/images/spacer.gif" width="258" height="1" alt=""></td>
<td>
<img src="html images/index/images/spacer.gif" width="57" height="1" alt=""></td>
<td>
<img src="html images/index/images/spacer.gif" width="51" height="1" alt=""></td>
<td>
<img src="html images/index/images/spacer.gif" width="17" height="1" alt=""></td>
<td>
<img src="html images/index/images/spacer.gif" width="149" height="1" alt=""></td>
<td>
<img src="html images/index/images/spacer.gif" width="238" height="1" alt=""></td>
<td>
<img src="html images/index/images/spacer.gif" width="46" height="1" alt=""></td>
<td>
<img src="html images/index/images/spacer.gif" width="26" height="1" alt=""></td>
<td>
<img src="html images/index/images/spacer.gif" width="182" height="1" alt=""></td>
<td>
<img src="html images/index/images/spacer.gif" width="448" height="1" alt=""></td>
</tr>
</table>
<!-- End Save for Web Slices -->
<map name="Map">
<area shape="rect" coords="45,3,220,51" href="index.html" target="_self">
</map>
<script type="text/javascript">
swfobject.registerObject("FlashID");
swfobject.registerObject("FlashID2");
</script>
</body>
</html>
|

댓글 5개

2013-10-04 (금) 15:27:27
bada_tab.php 파일의 위치를 확인하시고 경로를 확인하세요

[code]
//이 경우는 홈페이지의 root에 파일이 있을 경우입니다
include_once("bada_tab.php");

//이 경우는 홈페이지의 ./gnuboard4/bada_tab.php 파일이 있을 경우 입니다
include_once($g4['path']."/bada_tab.php);
[/code]
2013-10-04 (금) 15:53:02
고쳤는데 페이지에

Parse error: syntax error, unexpected T_STRING in /host/home/ghdud154/html/index.html on line 123
라고 오류가 뜹니다ㅠㅠㅠ왜이러는걸까요ㅠㅠ
2013-10-04 (금) 16:44:44
홈피 트래픽 먹어서 계정을 바꾸긴 했는데 ㅇ그것때문일가요?ㅠㅠ
2013-10-04 (금) 17:32:10
index.html 123줄에 문자오류가 났다고 하니 확인해보세요
2013-10-04 (금) 17:32:54
bada_tab.php 을 어디다 넣었죠?

만약 skin/latest안에 bada_tab 이란 폴더로 넣었을경우엔

include_once($g4['path']."/skin/latest/bada_tab/bada_tab.php);
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
13-10-04 조회 1,651
13-10-04 조회 1,095
13-10-04 조회 1,682
13-10-04 조회 1,998
13-10-04 조회 1,643
13-10-04 조회 1,616
13-10-04 조회 1,817
13-10-04 조회 1,332
13-10-04 조회 1,088
13-10-04 조회 1,235
13-10-04 조회 1,725
13-10-04 조회 1,555
13-10-04 조회 1,636
13-10-04 조회 1,005
13-10-04 조회 1,181
13-10-04 조회 1,711
13-10-04 조회 1,199
13-10-04 조회 1,631
13-10-04 조회 1,790
13-10-04 조회 3,013