묻고답하기
윈도우7 apm -> 우분투 서버 이전 후 화면이 깨지는데 원인을 모르겠습니다.
2014.11.05 17:56
윈7 apmsetup7에서 돌리던걸 우분투에서 돌리고자
db랑 폴더 통채로 우분투에 옴겼습니다.
db는 제대로 가지고 온거같은데..
files - config 폴더의 db_config 설정도 우분투 서버에 맞게 수정했습니다.
관리자 모드는 주소쳐서 들어가면 제대로 들어가지고 최신글이나 댓글은 제대로 가져오는데..
제로보드 페이지 접속을 하면.. 막 깨져서 보입니다..
윈7에서 리눅스로 서버 옴겨보려고 2주동안 고생하는데 아직도 답이 안나오네요 하..ㅠ
제로보드 메인 접속하면.. 다음과 같이 화면에 쭈우우우욱.. 뜹니다. ㅠ
multi_limit); $multi_readed_count = $_SESSION['sejin7940_readed_count'][$document_srl]; if(!$multi_readed_count) { $_SESSION['sejin7940_readed_count'][$document_srl]=="0"; $multi_readed_count = 0; } if( ($addon_info->multi_use=="admin" || $addon_info->multi_use=="all") && $logged_info->is_admin=="Y" ) $readed_up = "Y"; // 愿�由ъ옄�뒗 �삁�쇅 else if ( $addon_info->multi_use=="all") { if($multi_limit && $multi_readed_count >0 && $multi_readed_count < $multi_limit) { $readed_up = "Y"; } elseif(!$multi_limit) { $readed_up = "Y"; } } // �옖�뜡 議고쉶�닔 利앷? 湲곕뒫 �궗�슜 if($logged_info->is_admin=="Y") { $random_max = $addon_info->random_max_admin; if(!$random_max) $random_max=1; if($random_max>20) $random_max=20; // 愿�由ъ옄�떆 理쒕?媛� 20�쑝濡� �젣�븳 $random_min = $addon_info->random_min_admin; if(!$random_min) $random_min=1; if($random_max<$random_min) $random_min = $random_min; } else { $random_max = $addon_info->random_max; if(!$random_max) $random_max=1; if($random_max>10) $random_max=10; // �씪諛섑쉶�썝�쓽 寃쎌슦 理쒕?媛� 10�쑝濡� �젣�븳 $random_min = $addon_info->random_min; if(!$random_min) $random_min=1; if($random_max<$random_min) $random_min = $random_min; } // �옖�뜡 利앷? or 以묐났 議고쉶濡� �옖�뜡利앷?�떆 if ( $random_max>1 && (($addon_info->random_use=="admin" && $logged_info->is_admin=="Y") || $addon_info->random_use=="all")) { if($readed_up=="Y") $update_readed_count = rand ($random_min, $random_max); elseif(!$multi_readed_count) $update_readed_count = rand ($random_min, $random_max)-1; // 泥� 議고쉶�떆�뿏 view �씠�썑�뿉 議고쉶�닔 1利앷?�릺湲곗뿉 } // 以묐났 議고쉶�닔 利앷? - 1�뵫 利앷?�떆 elseif ($readed_up=="Y") { // 泥� 議고쉶�떆�뿏 �씠 �븷�뱶�삩�쓣 �벝 �븘�슂媛� �뾾湲곗뿉 以묐났�씤 寃쎌슦�뿉留� �쟻�슜 $update_readed_count = 1; } //�븷�뱶�삩 �떆�옉 議곌굔 �꽕�젙 if($called_position == 'before_module_proc' && $this->act=='dispBoardContent' && $document_srl && $update_readed_count) { $args->document_srl = $document_srl; if($update_readed_count==20) executeQuery('addons.sejin7940_readed_count.updateReadedCount20', $args); elseif($update_readed_count==19) executeQuery('addons.sejin7940_readed_count.updateReadedCount19', $args); elseif($update_readed_count==18) executeQuery('addons.sejin7940_readed_count.updateReadedCount18', $args); elseif($update_readed_count==17) executeQuery('addons.sejin7940_readed_count.updateReadedCount17', $args); elseif($update_readed_count==16) executeQuery('addons.sejin7940_readed_count.updateReadedCount16', $args); elseif($update_readed_count==15) executeQuery('addons.sejin7940_readed_count.updateReadedCount15', $args); elseif($update_readed_count==14) executeQuery('addons.sejin7940_readed_count.updateReadedCount14', $args); elseif($update_readed_count==13) executeQuery('addons.sejin7940_readed_count.updateReadedCount13', $args); elseif($update_readed_count==12) executeQuery('addons.sejin7940_readed_count.updateReadedCount12', $args); elseif($update_readed_count==11) executeQuery('addons.sejin7940_readed_count.updateReadedCount11', $args); elseif($update_readed_count==10) executeQuery('addons.sejin7940_readed_count.updateReadedCount10', $args); elseif($update_readed_count==9) executeQuery('addons.sejin7940_readed_count.updateReadedCount9', $args); elseif($update_readed_count==8) executeQuery('addons.sejin7940_readed_count.updateReadedCount8', $args); elseif($update_readed_count==7) executeQuery('addons.sejin7940_readed_count.updateReadedCount7', $args); elseif($update_readed_count==6) executeQuery('addons.sejin7940_readed_count.updateReadedCount6', $args); elseif($update_readed_count==5) executeQuery('addons.sejin7940_readed_count.updateReadedCount5', $args); elseif($update_readed_count==4) executeQuery('addons.sejin7940_readed_count.updateReadedCount4', $args); elseif($update_readed_count==3) executeQuery('addons.sejin7940_readed_count.updateReadedCount3', $args); elseif($update_readed_count==2) executeQuery('addons.sejin7940_readed_count.updateReadedCount2', $args); elseif($update_readed_count==1) executeQuery('addons.sejin7940_readed_count.updateReadedCount1', $args); $_SESSION['sejin7940_readed_count'][$document_srl]=$multi_readed_count+1; // �룞�씪湲� 議고쉶�닔 } elseif($called_position == 'before_module_proc' && $this->act=='dispBoardContent' && !$update_readed_count && !$multi_readed_count) { $_SESSION['sejin7940_readed_count'][$document_srl]=$multi_readed_count+1; // �룞�씪湲� 議고쉶�닔 } ?>multi_limit); $multi_readed_count = $_SESSION['sejin7940_readed_count'][$document_srl]; if(!$multi_readed_count) { $_SESSION['sejin7940_readed_count'][$document_srl]=="0"; $multi_readed_count = 0; } if( ($addon_info->multi_use=="admin" || $addon_info->multi_use=="all") && $logged_info->is_admin=="Y" ) $readed_up = "Y"; // 愿�由ъ옄�뒗 �삁�쇅 else if ( $addon_info->multi_use=="all") { if($multi_limit && $multi_readed_count >0 && $multi_readed_count < $multi_limit) { $readed_up = "Y"; } elseif(!$multi_limit) { $readed_up = "Y"; } } // �옖�뜡 議고쉶�닔 利앷? 湲곕뒫 �궗�슜 if($logged_info->is_admin=="Y") { $random_max = $addon_info->random_max_admin; if(!$random_max) $random_max=1; if($random_max>20) $random_max=20; // 愿�由ъ옄�떆 理쒕?媛� 20�쑝濡� �젣�븳 $random_min = $addon_info->random_min_admin; if(!$random_min) $random_min=1; if($random_max<$random_min) $random_min = $random_min; } else { $random_max = $addon_info->random_max; if(!$random_max) $random_max=1; if($random_max>10) $random_max=10; // �씪諛섑쉶�썝�쓽 寃쎌슦 理쒕?媛� 10�쑝濡� �젣�븳 $random_min = $addon_info->random_min; if(!$random_min) $random_min=1; if($random_max<$random_min) $random_min = $random_min; } // �옖�뜡 利앷? or 以묐났 議고쉶濡� �옖�뜡利앷?�떆 if ( $random_max>1 && (($addon_info->random_use=="admin" && $logged_info->is_admin=="Y") || $addon_info->random_use=="all")) { if($readed_up=="Y") $update_readed_count = rand ($random_min, $random_max); elseif(!$multi_readed_count) $update_readed_count = rand ($random_min, $random_max)-1; // 泥� 議고쉶�떆�뿏 view �씠�썑�뿉 議고쉶�닔 1利앷?�릺湲곗뿉 } // 以묐났 議고쉶�닔 利앷? - 1�뵫 利앷?�떆 elseif ($readed_up=="Y") { // 泥� 議고쉶�떆�뿏 �씠 �븷�뱶�삩�쓣 �벝 �븘�슂媛� �뾾湲곗뿉 以묐났�씤 寃쎌슦�뿉留� �쟻�슜 $update_readed_count = 1; } //�븷�뱶�삩 �떆�옉 議곌굔 �꽕�젙 if($called_position == 'before_module_proc' && $this->act=='dispBoardContent' && $document_srl && $update_readed_count) { $args->document_srl = $document_srl; if($update_readed_count==20) executeQuery('addons.sejin7940_readed_count.updateReadedCount20', $args); elseif($update_readed_count==19) executeQuery('addons.sejin7940_readed_count.updateReadedCount19', $args); elseif($update_readed_count==18) executeQuery('addons.sejin7940_readed_count.updateReadedCount18', $args); elseif($update_readed_count==17) executeQuery('addons.sejin7940_readed_count.updateReadedCount17', $args); elseif($update_readed_count==16) executeQuery('addons.sejin7940_readed_count.updateReadedCount16', $args); elseif($update_readed_count==15) executeQuery('addons.sejin7940_readed_count.updateReadedCount15', $args); elseif($update_readed_count==14) executeQuery('addons.sejin7940_readed_count.updateReadedCount14', $args); elseif($update_readed_count==13) executeQuery('addons.sejin7940_readed_count.updateReadedCount13', $args); elseif($update_readed_count==12) executeQuery('addons.sejin7940_readed_count.updateReadedCount12', $args); elseif($update_readed_count==11) executeQuery('addons.sejin7940_readed_count.updateReadedCount11', $args); elseif($update_readed_count==10) executeQuery('addons.sejin7940_readed_count.updateReadedCount10', $args); elseif($update_readed_count==9) executeQuery('addons.sejin7940_readed_count.updateReadedCount9', $args); elseif($update_readed_count==8) executeQuery('addons.sejin7940_readed_count.updateReadedCount8', $args); elseif($update_readed_count==7) executeQuery('addons.sejin7940_readed_count.updateReadedCount7', $args); elseif($update_readed_count==6) executeQuery('addons.sejin7940_readed_count.updateReadedCount6', $args); elseif($update_readed_count==5) executeQuery('addons.sejin7940_readed_count.updateReadedCount5', $args); elseif($update_readed_count==4) executeQuery('addons.sejin7940_readed_count.updateReadedCount4', $args); elseif($update_readed_count==3) executeQuery('addons.sejin7940_readed_count.updateReadedCount3', $args); elseif($update_readed_count==2) executeQuery('addons.sejin7940_readed_count.updateReadedCount2', $args); elseif($update_readed_count==1) executeQuery('addons.sejin7940_readed_count.updateReadedCount1', $args); $_SESSION['sejin7940_readed_count'][$document_srl]=$multi_readed_count+1; // �룞�씪湲� 議고쉶�닔 } elseif($called_position == 'before_module_proc' && $this->act=='dispBoardContent' && !$update_readed_count && !$multi_readed_count) { $_SESSION['sejin7940_readed_count'][$document_srl]=$multi_readed_count+1; // �룞�씪湲� 議고쉶�닔 } ?>multi_limit); $multi_readed_count = $_SESSION['sejin7940_readed_count'][$document_srl]; if(!$multi_readed_count) { $_SESSION['sejin7940_readed_count'][$document_srl]=="0"; $multi_readed_count = 0; } if( ($addon_info->multi_use=="admin" || $addon_info->multi_use=="all") && $logged_info->is_admin=="Y" ) $readed_up = "Y"; // 愿�由ъ옄�뒗 �삁�쇅 else if ( $addon_info->multi_use=="all") { if($multi_limit && $multi_readed_count >0 && $multi_readed_count < $multi_limit) { $readed_up = "Y"; } elseif(!$multi_limit) { $readed_up = "Y"; } } // �옖�뜡 議고쉶�닔 利앷? 湲곕뒫 �궗�슜 if($logged_info->is_admin=="Y") { $random_max = $addon_info->random_max_admin; if(!$random_max) $random_max=1; if($random_max>20) $random_max=20; // 愿�由ъ옄�떆 理쒕?媛� 20�쑝濡� �젣�븳 $random_min = $addon_info->random_min_admin; if(!$random_min) $random_min=1; if($random_max<$random_min) $random_min = $random_min; } else { $random_max = $addon_info->random_max; if(!$random_max) $random_max=1; if($random_max>10) $random_max=10; // �씪諛섑쉶�썝�쓽 寃쎌슦 理쒕?媛� 10�쑝濡� �젣�븳 $random_min = $addon_info->random_min; if(!$random_min) $random_min=1; if($random_max<$random_min) $random_min = $random_min; } // �옖�뜡 利앷? or 以묐났 議고쉶濡� �옖�뜡利앷?�떆 if ( $random_max>1 && (($addon_info->random_use=="admin" && $logged_info->is_admin=="Y") || $addon_info->random_use=="all")) { if($readed_up=="Y") $update_readed_count = rand ($random_min, $random_max); elseif(!$multi_readed_count) $update_readed_count = rand ($random_min, $random_max)-1; // 泥� 議고쉶�떆�뿏 view �씠�썑�뿉 議고쉶�닔 1利앷?�릺湲곗뿉 } // 以묐났 議고쉶�닔 利앷? - 1�뵫 利앷?�떆 elseif ($readed_up=="Y") { // 泥� 議고쉶�떆�뿏 �씠 �븷�뱶�삩�쓣 �벝 �븘�슂媛� �뾾湲곗뿉 以묐났�씤 寃쎌슦�뿉留� �쟻�슜 $update_readed_count = 1; } //�븷�뱶�삩 �떆�옉 議곌굔 �꽕�젙 if($called_position == 'before_module_proc' && $this->act=='dispBoardContent' && $document_srl && $update_readed_count) { $args->document_srl = $document_srl; if($update_readed_count==20) executeQuery('addons.sejin7940_readed_count.updateReadedCount20', $args); elseif($update_readed_count==19) executeQuery('addons.sejin7940_readed_count.updateReadedCount19', $args); elseif($update_readed_count==18) executeQuery('addons.sejin7940_readed_count.updateReadedCount18', $args); elseif($update_readed_count==17) executeQuery('addons.sejin7940_readed_count.updateReadedCount17', $args); elseif($update_readed_count==16) executeQuery('addons.sejin7940_readed_count.updateReadedCount16', $args); elseif($update_readed_count==15) executeQuery('addons.sejin7940_readed_count.updateReadedCount15', $args); elseif($update_readed_count==14) executeQuery('addons.sejin7940_readed_count.updateReadedCount14', $args); elseif($update_readed_count==13) executeQuery('addons.sejin7940_readed_count.updateReadedCount13', $args); elseif($update_readed_count==12) executeQuery('addons.sejin7940_readed_count.updateReadedCount12', $args); elseif($update_readed_count==11) executeQuery('addons.sejin7940_readed_count.updateReadedCount11', $args); elseif($update_readed_count==10) executeQuery('addons.sejin7940_readed_count.updateReadedCount10', $args); elseif($update_readed_count==9) executeQuery('addons.sejin7940_readed_count.updateReadedCount9', $args); elseif($update_readed_count==8) executeQuery('addons.sejin7940_readed_count.updateReadedCount8', $args); elseif($update_readed_count==7) executeQuery('addons.sejin7940_readed_count.updateReadedCount7', $args); elseif($update_readed_count==6) executeQuery('addons.sejin7940_readed_count.updateReadedCount6', $args); elseif($update_readed_count==5) executeQuery('addons.sejin7940_readed_count.updateReadedCount5', $args); elseif($update_readed_count==4) executeQuery('addons.sejin7940_readed_count.updateReadedCount4', $args); elseif($update_readed_count==3) executeQuery('addons.sejin7940_readed_count.updateReadedCount3', $args); elseif($update_readed_count==2) executeQuery('addons.sejin7940_readed_count.updateReadedCount2', $args); elseif($update_readed_count==1) executeQuery('addons.sejin7940_readed_count.updateReadedCount1', $args); $_SESSION['sejin7940_readed_count'][$document