미채택 완료

사이트가 이상하네요..

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개 / 댓글 1개

경로가 잘못되서 include가 제대로 안되고 있는거 같네요

42f9d3509443784c548e3b7f8ea5d003_1501062618_1055.jpg
 

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

index.php 내용입니다.. 

Copy
<?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>
 

복원후 수정된파일 비교하여야합니다

php 문법이 안닫혔거나 잘못됬을수 있습니다.

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

답변에 대한 댓글 1개

그누보드에 관련된.. 외부로그인이나 최신글이나 이런소스를 빼면 일반 이미지나 내용은 뜹니다..

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)

답변을 작성하려면 로그인이 필요합니다.