Parse error: syntax error, unexpected ''/theme.config.php'' 어떤게 잘못된걸까요

Parse error: syntax error, unexpected ''/theme.config.php'' 어떤게 잘못된걸까요

QA

Parse error: syntax error, unexpected ''/theme.config.php'' 어떤게 잘못된걸까요

답변 1

본문

Parse error: syntax error, unexpected ''/theme.config.php'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /host/home2/xxx/html/common.php on line 488
 

// 테마 설정 로드

if(is_file('G5_THEME_PATH.''/theme.config.php'))

    include_once(G5_THEME_PATH.'/theme.config.php');

어떻게 변경해야할까요..




 

이 질문에 댓글 쓰기 :

답변 1

if(is_file('G5_THEME_PATH.''/theme.config.php'))
부분을

if(is_file(G5_THEME_PATH.'/theme.config.php'))

수정하니 다른오류가 생기네요 ㅜㅜ
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /host/home2/xxx/html/plugin/popup/popup_source.php:4 Stack trace: #0 /host/home2/xxx/html/head.php(26): include() #1 /host/home2/xxx/html/index.php(16): include_once('/host/home2/ing...') #2 {main} thrown in /host/home2/xxx/html/plugin/popup/popup_source.php on line 4  이런오류가 생겼습니다

$popup_connect = mysql_connect(G5_MYSQL_HOST,G5_MYSQL_USER,G5_MYSQL_PASSWORD) or die("error");  이부분인거같은데..

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 125,873
© SIRSOFT
현재 페이지 제일 처음으로