답변 4개 / 댓글 4개
채택된 답변
+20 포인트
2015-08-06 (목) 22:33:00
php.ini 옵션에서 short_open_tag 가 off로 되어 있다면 on으로 바꿔주고 서버 재시작.
답변에 대한 댓글 1개
2015-08-02 (일) 15:32:10
php 최신 버전에서는 <? 가 동작안합니다.
<?를 <?php로 변경해 주세요..
<?=는 <? echo 로 변경해 보세요
답변에 대한 댓글 1개
프로그래머7
2015-08-06 (목) 17:02:41
감사합니다 혹시 구버전에 <? 대신 <?php 를 적어넣으면 에러발생합니까?
해보려는데.. 무지 수정할게 많아서...
그리고 관련정보를 검색해보려는데... 검색이 잘 안되네요
해보려는데.. 무지 수정할게 많아서...
그리고 관련정보를 검색해보려는데... 검색이 잘 안되네요
2015-08-02 (일) 11:28:58
답변에 대한 댓글 1개
프로그래머7
2015-08-03 (월) 07:35:10
답변 늦어 죄송합니다 주말에 바빠서^^;
$변수[path] → $변수['path'] 로 변경해보니까 문법 에러가 발생하고요
http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=4716&sca=&sfl=wr_subject%7C%7Cwr_content&stx=php5&sop=and&spt=-2342&page=1
위 링크내용중에 아래 내용을 말씀하시는 것입니까?^^
---------------------------------------------------------------------------
게시판관리에서 갤러리 스킨을 사용하는 게시판의 관리페이지를 열고
여분필드 2 에 다른 숫자가 있으면 9를 적어주세요..
혹시 latest 스킨을 사용하신다면, 여분필드 5에 다른 숫자 대신 9를 입력하시면
아주 깔끔하게 해결됩니다.
----------------------------------------------------------------------------
화면 자체가 안떠서 게시판의 관리페이지를 열수가 없어서^^;
난감하네요
$변수[path] → $변수['path'] 로 변경해보니까 문법 에러가 발생하고요
http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=4716&sca=&sfl=wr_subject%7C%7Cwr_content&stx=php5&sop=and&spt=-2342&page=1
위 링크내용중에 아래 내용을 말씀하시는 것입니까?^^
---------------------------------------------------------------------------
게시판관리에서 갤러리 스킨을 사용하는 게시판의 관리페이지를 열고
여분필드 2 에 다른 숫자가 있으면 9를 적어주세요..
혹시 latest 스킨을 사용하신다면, 여분필드 5에 다른 숫자 대신 9를 입력하시면
아주 깔끔하게 해결됩니다.
----------------------------------------------------------------------------
화면 자체가 안떠서 게시판의 관리페이지를 열수가 없어서^^;
난감하네요
2015-08-02 (일) 10:45:23
아파치 로그를 한번 보세요. ^^
답변에 대한 댓글 1개
프로그래머7
2015-08-02 (일) 11:20:14
아래처럼 나왔어요
/var/www/html/XXXXXXXXXX/www/youngcart4/index.php on line 11 째줄
==============================================================
<script language="JavaScript" src="<?=$g4[path]?>/js/shop.js"></script>
$g4[path]가 정의되지 않은것으로 나오는데요
원래 복사해오기 전의 서버에서도 그 값이 인식이 안되는것 같던데 그 서버는 잘돌아가더라고요
혹시 charset Encoding 이 이전의 버전은 euc-kr 이고 요즘은 euc-kr인데... 그게 달라도 이런현상이 납니까? ^^
--------------------------------(에러로그)-------------------------------------------------------------------
[Sun Aug 02 11:14:56.965926 2015] [:error] [pid 3016] [client ::1:55885] PHP Notice: Use of undefined constant path - assumed 'path' in /var/www/html/XXXXXXXXXX/www/youngcart4/index.php on line 11, referer: http://localhost/XXXXXXXXXX/www/
[Sun Aug 02 11:14:56.965944 2015] [:error] [pid 3016] [client ::1:55885] PHP Stack trace:, referer: http://localhost/XXXXXXXXXX/www/
[Sun Aug 02 11:14:56.965948 2015] [:error] [pid 3016] [client ::1:55885] PHP 1. {main}() /var/www/html/XXXXXXXXXX/www/youngcart4/index.php:0, referer: http://localhost/XXXXXXXXXX/www/
[Sun Aug 02 11:14:56.965971 2015] [:error] [pid 3016] [client ::1:55885] PHP Notice: Undefined variable: g4 in /var/www/html/XXXXXXXXXX/www/youngcart4/index.php on line 11, referer: http://localhost/XXXXXXXXXX/www/
[Sun Aug 02 11:14:56.965973 2015] [:error] [pid 3016] [client ::1:55885] PHP Stack trace:, referer: http://localhost/XXXXXXXXXX/www/
[Sun Aug 02 11:14:56.965977 2015] [:error] [pid 3016] [client ::1:55885] PHP 1. {main}() /var/www/html/XXXXXXXXXX/www/youngcart4/index.php:0, referer: http://localhost/XXXXXXXXXX/www/
[Sun Aug 02 11:14:56.965989 2015] [:error] [pid 3016] [client ::1:55885] PHP Fatal error: Call to undefined function latest() in /var/www/html/XXXXXXXXXX/www/youngcart4/index.php on line 16, referer: http://localhost/XXXXXXXXXX/www/
[Sun Aug 02 11:14:56.965991 2015] [:error] [pid 3016] [client ::1:55885] PHP Stack trace:, referer: http://localhost/XXXXXXXXXX/www/
[Sun Aug 02 11:14:56.965993 2015] [:error] [pid 3016] [client ::1:55885] PHP 1. {main}() /var/www/html/XXXXXXXXXX/www/youngcart4/index.php:0, referer: http://localhost/XXXXXXXXXX/www/
/var/www/html/XXXXXXXXXX/www/youngcart4/index.php on line 11 째줄
==============================================================
<script language="JavaScript" src="<?=$g4[path]?>/js/shop.js"></script>
$g4[path]가 정의되지 않은것으로 나오는데요
원래 복사해오기 전의 서버에서도 그 값이 인식이 안되는것 같던데 그 서버는 잘돌아가더라고요
혹시 charset Encoding 이 이전의 버전은 euc-kr 이고 요즘은 euc-kr인데... 그게 달라도 이런현상이 납니까? ^^
--------------------------------(에러로그)-------------------------------------------------------------------
[Sun Aug 02 11:14:56.965926 2015] [:error] [pid 3016] [client ::1:55885] PHP Notice: Use of undefined constant path - assumed 'path' in /var/www/html/XXXXXXXXXX/www/youngcart4/index.php on line 11, referer: http://localhost/XXXXXXXXXX/www/
[Sun Aug 02 11:14:56.965944 2015] [:error] [pid 3016] [client ::1:55885] PHP Stack trace:, referer: http://localhost/XXXXXXXXXX/www/
[Sun Aug 02 11:14:56.965948 2015] [:error] [pid 3016] [client ::1:55885] PHP 1. {main}() /var/www/html/XXXXXXXXXX/www/youngcart4/index.php:0, referer: http://localhost/XXXXXXXXXX/www/
[Sun Aug 02 11:14:56.965971 2015] [:error] [pid 3016] [client ::1:55885] PHP Notice: Undefined variable: g4 in /var/www/html/XXXXXXXXXX/www/youngcart4/index.php on line 11, referer: http://localhost/XXXXXXXXXX/www/
[Sun Aug 02 11:14:56.965973 2015] [:error] [pid 3016] [client ::1:55885] PHP Stack trace:, referer: http://localhost/XXXXXXXXXX/www/
[Sun Aug 02 11:14:56.965977 2015] [:error] [pid 3016] [client ::1:55885] PHP 1. {main}() /var/www/html/XXXXXXXXXX/www/youngcart4/index.php:0, referer: http://localhost/XXXXXXXXXX/www/
[Sun Aug 02 11:14:56.965989 2015] [:error] [pid 3016] [client ::1:55885] PHP Fatal error: Call to undefined function latest() in /var/www/html/XXXXXXXXXX/www/youngcart4/index.php on line 16, referer: http://localhost/XXXXXXXXXX/www/
[Sun Aug 02 11:14:56.965991 2015] [:error] [pid 3016] [client ::1:55885] PHP Stack trace:, referer: http://localhost/XXXXXXXXXX/www/
[Sun Aug 02 11:14:56.965993 2015] [:error] [pid 3016] [client ::1:55885] PHP 1. {main}() /var/www/html/XXXXXXXXXX/www/youngcart4/index.php:0, referer: http://localhost/XXXXXXXXXX/www/
답변을 작성하려면 로그인이 필요합니다.