그누보드 테마 오류
관련링크
http://test.withc.kr/
252회 연결
본문
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/test/public_html/theme/basic/_side.php on line 49
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/test/public_html/theme/basic/_side.php on line 49
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/test/public_html/theme/basic/_side.php on line 50
카테고리 부분에 이렇게 오류가 뜨네요
<div id="widget-area">
<div class="ig_widget">
<div class="fancy_one">
<span>CATEGORIES</span>
</div>
<?
$sql = "select bo_category_list from g5_board where bo_table = '{$blog}'"; //카테고리
$result = mysql_query($sql);
$bo = mysql_fetch_array($result);
$ca_menu = explode("|",$bo[bo_category_list]);
?>
<ul>
<? for ($c=1, $cnt=count($ca_menu); $c<$cnt; $c++) { ?>
<li class="cat-item"><a href="<?php echo G5_URL;?>/<?php echo $board;?>/<?php echo $ca_menu[$c];?>/" ><?php echo $ca_menu[$c];?></a></li>
<?}?>
</ul>
</div>
<div class="ig_widget">
<div class="fancy_one">
<span>NEWEST ALBUM </span>
</div>
<?php echo latest("theme/side-album", "album", 1, 55); ?>
</div>
</div>
</div><!-- END col-md-3 -->
멀 어케해줘야 될지 모르겠네요 ㅠㅠ
!-->
답변을 작성하시기 전에 로그인 해주세요.