사이트가 이상하네요..

사이트가 이상하네요..

QA

사이트가 이상하네요..

본문

http://www.totoheaven.com/


기존제작자가 연락이 끊겼다면서

몇가지 작업을 의뢰하셔서 수정중이었습니다만..

잘되다가 갑자기 사이트 표시가 안되네요.. 

로고만 달랑 뜨고 마는데..


  <?

      $sql = "SELECT * FROM g5_write_notice ORDER BY wr_id DESC LIMIT 1";

      $result = sql_query($sql);

      while($row = sql_fetch_array($result)){

      ?>

        <li><a href="<?=G5_BBS_URL?>/board.php?bo_table=notice&wr_id=<?=$row[wr_id]?>"><?=$row[wr_subject];?></a></li>

      <?}?>


소스보기를 하면 이부분부터 인식을 못하는것 같은데.. 

이건 대체 무슨일일까요.. 별도로 백업받은것도 없어서 난감하네요..


그누보드파일들이 루트가 아닌 g5 폴더에 있길래 위로 올렸다가 다시 되돌린적은 있습니다만

당시에는 이상없이 되다가 대략 2~30분정도 후부터 저렇게 됐는데 이게 연관이 있을까요?

이 질문에 댓글 쓰기 :

답변 5

Failed to load resource: the server responded with a status of 404 (Not Found)

www.totoheaven.com/ Failed to load resource: the server responded with a status of 500 (Internal Server Error)

해당 소스 부분을 삭제 하시면 정상 출력되나요?

42f9d3509443784c548e3b7f8ea5d003_1501062618_1055.jpg
 

호스팅업체에서 알려준 내용인데.. 뭘 어떻게 해줘야 할까요..

index.php 내용입니다.. 

 
<?
include_once('root.html');
include_once('common.php');
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
$url = ''; 
if ($g5['https_url']) { 
  if (preg_match("/^\./", $urlencode)) 
    $url = $g5[url]; 
  else 
    $url = $g5[url].$urlencode; 
} else { 
  $url = $urlencode; 
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>토토천국</title>
	<link rel="stylesheet" href="css/style.css">
	<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
	<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
	<!-- 	
	<script src="http://mukjob.net/new_js/jquery.min.js"></script>
	
	<script type="text/javascript" src="http://mukjob.net/new_js/frmCheck.js"></script>
	<script src="http://mukjob.net/new_js/jquery-ui.js"></script> 
	-->
<script type="text/javascript" src="js/default.js"></script>
</head>
<body>
	<div id="wrapper">
		<?
		include_once('module/header.html');
		include_once('module/gnb.html');
		include_once('module/left.html');
		include_once('module/right.html');
		include_once('module/content.html');
		include_once('module/aside.html');
		?>
	</div>
	<?include_once('module/footer.html');?>
</body>
</html>
 
 

답변을 작성하시기 전에 로그인 해주세요.
전체 33
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT