플

모바일 _head.php 오류 확인부탁드립니다.

계정/bbs/m으로 접속했을때 나오는 오류입니다.

Parse error: syntax error, unexpected '[', expecting T_VARIABLE or '$' in /home/hosting_users/계정/www/bbs/m/_head.php on line 3


* _head.php 내용

<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once "{$['g4m_path']}/head.php";
?>


이렇게 되어있는데요.
저 오류문구가 "["와 "$"사이에? 아님 저 기호?를
어떻게 고쳐주라는건지 이해가 안됩니다.

어떻게해야 제대로 설치가 될수있을까요..
|

댓글 3개

"['g4m_path']/head.php";
알려주신걸로 입력했는데 또 오류가 뜨네요ㅠㅠㅠ

Warning: include_once(['g4m_path']/head.php) [function.include-once]: failed to open stream: No such file or directory in /home/hosting_users/계정/www/bbs/m/_head.php on line 3

Warning: include_once() [function.include]: Failed opening '['g4m_path']/head.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/계정/www/bbs/m/_head.php on line 3

Fatal error: Call to undefined function g4m_latest() in /home/hosting_users/계정/www/bbs/m/index.php on line 12


이 오류들을 계속 반복하니까 더이상 어떻게해야될지 모르겠네요ㅠㅠㅠ
include_once "{$g4['g4m_path']}/head.php";

혹시 이거 아닌가요..?
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
12-01-26 조회 1,791
12-01-26 조회 1,825
12-01-26 조회 1,064
12-01-26 조회 1,691
12-01-26 조회 936
12-01-26 조회 1,116
12-01-26 조회 3,714
12-01-26 조회 1,028
12-01-26 조회 979
12-01-26 조회 971
12-01-26 조회 1,625
12-01-26 조회 2,175
12-01-26 조회 877
12-01-26 조회 1,012
12-01-25 조회 896
12-01-25 조회 1,217
12-01-25 조회 1,095
12-01-25 조회 1,067
12-01-25 조회 892
12-01-25 조회 1,675