최신글... 다는것좀 알려주세요ㅠㅠ 정보
최신글... 다는것좀 알려주세요ㅠㅠ본문
사노라가노라님의 최신글스킨 euc를 아래와같이 업로드한 뒤
1. 각 폴더별 업로드
2. head.php 상단 추가 - include_once("$g4[path]/lib/tto.latest.lib.php"); // tto 최신
3. index.php 등 최신글 사용 영역에
<?=tto_latest("tto_latest", "0407", 6, 50, "bo_10","")?> 와 같이 반영
라고 적어주셨길래 폴더안의 tto.latest.lib.php파일은 lib폴더에 넣구 스킨폴더 업로드하고
해봤는데 안되네요 ㅠ ㅠ
그누보드 매뉴얼.. 네이버검색 해봤는데.. 모르겠어요
일단
최신글 불러올 페이지 상단에
<?
include_once("./_common.php");
include_once("$g4[path]/lib/tto.latest.lib.php"); //
?>
--------------- 위에 내용을 붙이고
아래내용에
<td><?=latest("tto_latest", "Notice", 30);?> </td> ------ 넣었는데
----------------- 브라우저에는 .. 아래같이 ㅠㅠ
Warning: main(./_common.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/mothfire/www/main.html on line 2
Warning: main() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/mothfire/www/main.html on line 2
Warning: main(/lib/tto.latest.lib.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/mothfire/www/main.html on line 3
Warning: main() [function.include]: Failed opening '/lib/tto.latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/mothfire/www/main.html on line 3
Fatal error: Call to undefined function: latest() in /home/hosting_users/mothfire/www/main.html on line 11
이 내용은 뭔가요 ㅠㅠ 뭘잘못한거죠ㅠㅠ
1. 각 폴더별 업로드
2. head.php 상단 추가 - include_once("$g4[path]/lib/tto.latest.lib.php"); // tto 최신
3. index.php 등 최신글 사용 영역에
<?=tto_latest("tto_latest", "0407", 6, 50, "bo_10","")?> 와 같이 반영
라고 적어주셨길래 폴더안의 tto.latest.lib.php파일은 lib폴더에 넣구 스킨폴더 업로드하고
해봤는데 안되네요 ㅠ ㅠ
그누보드 매뉴얼.. 네이버검색 해봤는데.. 모르겠어요
일단
최신글 불러올 페이지 상단에
<?
include_once("./_common.php");
include_once("$g4[path]/lib/tto.latest.lib.php"); //
?>
--------------- 위에 내용을 붙이고
아래내용에
<td><?=latest("tto_latest", "Notice", 30);?> </td> ------ 넣었는데
----------------- 브라우저에는 .. 아래같이 ㅠㅠ
Warning: main(./_common.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/mothfire/www/main.html on line 2
Warning: main() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/mothfire/www/main.html on line 2
Warning: main(/lib/tto.latest.lib.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/mothfire/www/main.html on line 3
Warning: main() [function.include]: Failed opening '/lib/tto.latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/mothfire/www/main.html on line 3
Fatal error: Call to undefined function: latest() in /home/hosting_users/mothfire/www/main.html on line 11
이 내용은 뭔가요 ㅠㅠ 뭘잘못한거죠ㅠㅠ
댓글 전체
_common.php 파일 안에
g4_path가 정확히 지정되어 있는지 확인해보세요
g4_path가 정확히 지정되어 있는지 확인해보세요
... 아아... _common.php파일을 열어보니
<?
$g4_path = "."; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>
이것만 있는데 제대로 지정이 되어있는건가요?
<?
$g4_path = "."; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>
이것만 있는데 제대로 지정이 되어있는건가요?