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

· 2012-01-26 (목) 01:52:14 · 1615 · 3
계정/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개

2012-01-26 (목) 09:23:51
"['g4m_path']/head.php";
2012-01-26 (목) 23:05:28
알려주신걸로 입력했는데 또 오류가 뜨네요ㅠㅠㅠ

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 질문답변

66,531건

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

+
제목 글쓴이 날짜 조회
12-01-26 조회 1,783
12-01-26 조회 1,816
12-01-26 조회 1,055
12-01-26 조회 1,683
12-01-26 조회 927
12-01-26 조회 1,111
12-01-26 조회 3,705
12-01-26 조회 1,020
12-01-26 조회 969
12-01-26 조회 959
12-01-26 조회 1,616
12-01-26 조회 2,161
12-01-26 조회 869
12-01-26 조회 1,001
12-01-25 조회 888
12-01-25 조회 1,206
12-01-25 조회 1,087
12-01-25 조회 1,058
12-01-25 조회 882
12-01-25 조회 1,663