도와주세요~!! 정보
도와주세요~!!본문
제가 영카트4 를 사용합니다.
skin > board > gallery
스킨 다운받은 gallery에 portpolio_01이라는 이름으로 게시판을 만들었습니다.
해당 게시판에 사진을 올렸더니 정상으로 보입니다.
그런데 이 이미지를 메인페이지에서 추출하기위해
index.php에서
include_once("$g4[path]/lib/latest.lib.php");
<?=latest("gallery", "portpolio_01", 10, 70);?>
<?=latest("gallery", "portpolio_01", 10, 70);?>
이렇게 넣었는데 계속
Warning: latest(./skin/latest/gallery/latest.skin.php): failed to open stream: No such file or directory in /home/hosting_users/igadesign/www/lib/latest.lib.php on line 29
Warning: latest(./skin/latest/gallery/latest.skin.php): failed to open stream: No such file or directory in /home/hosting_users/igadesign/www/lib/latest.lib.php on line 29
Warning: latest(): Failed opening './skin/latest/gallery/latest.skin.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/igadesign/www/lib/latest.lib.php on line 29
?>
Warning: latest(./skin/latest/gallery/latest.skin.php): failed to open stream: No such file or directory in /home/hosting_users/igadesign/www/lib/latest.lib.php on line 29
Warning: latest(): Failed opening './skin/latest/gallery/latest.skin.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/igadesign/www/lib/latest.lib.php on line 29
?>
이렇게 나옵니다.
이것때문에 며칠째 씨름하고 있습니다.
미치겠습니다. 이제 두통이 느껴집니다. ( ㅡ.ㅡ;;; )
저를 좀 도와주실 분 안계신가요???
댓글 전체
밑에 답변달았듯이 include는
<?
include_once("$g4[path]/lib/latest.lib.php");
?>
게 적용하셔야됩니다...혹 그건아는줄알고 밑에꺼만 적용하라고했네요...
include_once("$g4[path]/lib/latest.lib.php");
<?
include_once("$g4[path]/lib/latest.lib.php");
?>
게 적용하셔야됩니다...혹 그건아는줄알고 밑에꺼만 적용하라고했네요...
include_once("$g4[path]/lib/latest.lib.php");
답변은 정말 감사합니다.
그런데 왜 안되는지 모르겠습니다, ㅡ.ㅡ;;
그런데 왜 안되는지 모르겠습니다, ㅡ.ㅡ;;
오,,,감사합니다. latest에도 게시판을 올리고 list.php==> latest.skin.php으로 바꾸니 되었습니다.
오 쌩큐 쌩큐~~포인트 드립니다.
복 받으세요 ^ ^
오 쌩큐 쌩큐~~포인트 드립니다.
복 받으세요 ^ ^