테마가 나타나지 않아요. 채택완료
수고하십니다.
갑자기 테마가 사라졌어요. ㅜㅜ
폴도안에 잘 설치 되어 있고
연동되어서 사용하고 있다가 갑자기 나타나지 않아요.
http://sir.kr/data/editor/2401/1888603148_1706245100.6943.png" width="275" />
의심되는게 보안서버 https 이거 한번 수정하고 나서 안나타나는 거 같아요.
http://sir.kr/data/editor/2401/1888603148_1706245133.5308.png" width="100%" />
테마 설정에서 새로 고침해보면
아래와 같은 에러 메시지가 뜹니다.
조언 좀 얻을 수 있을까요?
감사합니다.
</strong></p>
<p><b>Warning</b>: opendir(/home/users/0/kaad/web/<b>도메인</b>.com/G5_THEME_DIR/): failed to open dir: No such file or directory in <b>/home/users/0/kaad/web/도메인.com/adm/admin.lib.php</b> on line <b>107</b>
<b>Warning</b>: readdir() expects parameter 1 to be resource, boolean given in <b>/home/users/0/kaad/web/도메인.com/adm/admin.lib.php</b> on line <b>108</b>
<b>Warning</b>: closedir() expects parameter 1 to be resource, boolean given in <b>/home/users/0/kaad/web/도메인.com/adm/admin.lib.php</b> on line <b>117</b></p>
<p><strong>
이부분인데요.
</strong></p>
<p><strong>// 테마
function get_theme_dir()
{
$result_array = array();</strong></p>
<p><strong> $dirname = G5_PATH.'/'.G5_THEME_DIR.'/';
$handle = opendir($dirname);
while ($file = readdir($handle)) {
if($file == '.'||$file == '..') continue;</strong></p>
<p><strong> if (is_dir($dirname.$file)) {
$theme_path = $dirname.$file;
if(is_file($theme_path.'/index.php') && is_file($theme_path.'/head.php') && is_file($theme_path.'/tail.php'))
$result_array[] = $file;
}
}
closedir($handle);
natsort($result_array);</strong></p>
<p><strong> return $result_array;
}</strong></p>
<p><strong>
답변 3개
1. 기존 데이터를 다른 서버에 백업
2. 신규 설치
3. 신규 설치한 데이터와 기존 데이터를 비교.
https 만 건드신게 아니라 코어까지 건드신것 같은데
https mixed 에러로 보입니다.
아마 https 가 아니라 http 로 접속해보시면 보일거에요.
답변에 대한 댓글 2개
감사합니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인
대신 에러 메시지는 사라졌어요.
http 접속해도 나타나지 않아요. 프로그래머가 아니라 코어 같은 건 어떻게 건드리는지 모릅니다.
잘 사용하고 있다가 아래 부분 잠깐 수정했다가 되돌리기 했는데
이런 증상이 나는 거 같아요.
define('G5_DOMAIN', 'https://www.도메인.com');
define('G5_HTTPS_DOMAIN', 'https://www.도메인.com');
/*
www.sir.co.kr 과 sir.co.kr 도메인은 서로 다른 도메인으로 인식합니다. 쿠키를 공유하려면 .sir.co.kr 과 같이 입력하세요.
이곳에 입력이 없다면 www 붙은 도메인과 그렇지 않은 도메인은 쿠키를 공유하지 않으므로 로그인이 풀릴 수 있습니다.
*/
define('G5_COOKIE_DOMAIN', '.도메인.com');