그누보드 php 에러가 생겨요..
본문
[error] 18178#0: *61 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant G5_COMMUNITY_USE - assumed 'G5_COMMUNITY_USE' (this will throw an Error in a future version of PHP) in /usr/share/nginx/html/yongcart/bbs/_common.php on line 5" while reading response header from upstream, client: 333333, server: tzoa.me, request: "GET /bbs/ajax.comment_token.php?_=1514695215259 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:",
서버 로그를 보면
이런 에러가 계속 생기는데 왜 그런건가요 ㅠㅠ
엄청나게 많이 생겨요..ㅠ
<?php
include_once('../common.php');
// 커뮤니티 사용여부
if(G5_COMMUNITY_USE === true) {
if (!defined('G5_USE_SHOP') || !G5_USE_SHOP)
die('<p>쇼핑몰 설치 후 이용해 주십시오.</p>');
define('_COMMUNITY_', true);
}
?>
답변을 작성하시기 전에 로그인 해주세요.