<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0">
  <title type="html">텍스트큐브 공지사항: Textcube-163-발표후보-1-공개에 달린 최근 댓글/트랙백 목록</title>
  <id>http://notice.textcube.org/ko/</id>
  <link rel="alternate" type="text/html" hreflang="ko" href="http://notice.textcube.org/ko/" />
  <subtitle type="html">텍스트큐브와 관련된 공지사항을 전달하는 블로그입니다.</subtitle>
  <updated>2008-09-07T21:13:39+09:00</updated>
  <generator>Textcube 1.7.5 : Risoluto</generator>
  <entry>
    <title type="html">나비님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://notice.textcube.org/ko/112#comment1741" />
    <author>
      <name>(나비)</name>
    </author>
    <id>http://notice.textcube.org/ko/112#comment1741</id>
    <published>2008-04-11T18:12:01+09:00</published>
    <summary type="html">수고 하셨습니다~ :D</summary>
  </entry>
  <entry>
    <title type="html">홍초딩님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://notice.textcube.org/ko/112#comment1742" />
    <author>
      <name>(홍초딩)</name>
    </author>
    <id>http://notice.textcube.org/ko/112#comment1742</id>
    <published>2008-04-12T01:14:40+09:00</published>
    <summary type="html">점점...좋아지는 텍스트큐브~
호스팅임대료가 아깝지않은 설치형블로그가 되어주세요^^</summary>
  </entry>
  <entry>
    <title type="html">BlueTaggz님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://notice.textcube.org/ko/112#comment1743" />
    <author>
      <name>(BlueTaggz)</name>
    </author>
    <id>http://notice.textcube.org/ko/112#comment1743</id>
    <published>2008-04-12T12:23:55+09:00</published>
    <summary type="html">헹...1.7버전에서는 어떻게 업데이트를 시도해야하는거죠?</summary>
  </entry>
  <entry>
    <title type="html">U클래스님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://notice.textcube.org/ko/112#comment1744" />
    <author>
      <name>(U클래스)</name>
    </author>
    <id>http://notice.textcube.org/ko/112#comment1744</id>
    <published>2008-04-15T04:54:05+09:00</published>
    <summary type="html">2차 도메인 사용시 로그인 오류 발생 및 해결

tc 1.5.3 ~ tc 1.6 버전에서는 아래의 방법으로 로그인 문제 해결

blog.pcc4u.net 의 2차 도메인으로 www.uclass.in 을 설정하고
www.uclass.in 에서 로그인을 하면, URL 주소는

http://blog.pcc4u.net/login?requestURI=http%3A%2F%2Fwww.uclass.in%2Fowner%2Fcenter%2Fdashboard

이 상태에서는 로그인이 되지가 않습니다.
이 문제는 auth.php 파일을 수정하여 해결합니다.

auth.php 의 40, 42,43행을 죽이고(아래처럼)

function requireLogin() {
	global $service, $hostURL, $blogURL;
	if (!empty($service[&#039;loginURL&#039;])) {
		header(&amp;quot;Location: {$service[&#039;loginURL&#039;]}?requestURI=&amp;quot; . rawurlencode(&amp;quot;$hostURL{$_SERVER[&#039;REQUEST_URI&#039;]}&amp;quot;));
	} else {
//		if (String::endsWith($_SERVER[&#039;HTTP_HOST&#039;], &#039;.&#039; . $service[&#039;domain&#039;]))
			header(&amp;quot;Location: $blogURL/login?requestURI=&amp;quot; . rawurlencode(&amp;quot;$hostURL{$_SERVER[&#039;REQUEST_URI&#039;]}&amp;quot;));
//		else
//			header(&#039;Location: &#039; . getBlogURL() . &#039;/login?requestURI=&#039; . rawurlencode(&amp;quot;$hostURL{$_SERVER[&#039;REQUEST_URI&#039;]}&amp;quot;));
	}
	exit;
}

www.uclass.in 에서 로그인을 하면, URL 주소는

http://www.uclass.in/login?requestURI=http%3A%2F%2Fwww.uclass.in%2Fowner%2Fcenter%2Fdashboard

이 상태에서는 정상적으로 로그인을 할 수 있습니다.

================================================

tc 1.6까지는 위처럼, auth.php 파일만을 수정하여, 로그인 문제 해결했는데
tc 1.6.2, 1.6.3 에서는
동일한 방법으로 auth.php 를 수정하여도 로그인이 되지 않습니다.

session.php 의 일부분을 다음과 같이 수정하여 로그인 문제를 해결합니다.

우선
1.6.3 의 session.php 의 22행~33행을 삭제합니다.

/****************
function getSessionName() {
	global $service;
	static $sessionName = null;
	if( $sessionName == null ) { 
		if( !empty($service[&#039;session_cookie&#039;]) ) {
			$sessionName = $session[&#039;session_cookie&#039;];
		} else {
			$sessionName = &#039;TSSESSION&#039;.str_replace(&#039;.&#039;,&#039;&#039;,$service[&#039;domain&#039;]); 
		}
	}
	return $sessionName;
}
********************/

209행
setcookie( getSessionName(), $id, 0, $session_cookie_path, $service[&#039;domain&#039;]); 를
setcookie(&#039;TSSESSION&#039;, $id, 0, $session_cookie_path, $service[&#039;domain&#039;]); 로 1.6처럼 수정합니다.

241행
session_name(getSessionName()); 를
session_name(&#039;TSSESSION&#039;); 로 1.6처럼 수정합니다.

위와 같이 3곳을 1.6처럼 수정하면

2차도메인에서도 정상적으로 로그인을 할 수 있습니다.

=========================================================

위와 같은 방법이 적절한 방법인지에 대해 개발진에서 검토 바랍니다.

해결되지 않은 점은

2차도메인으로 로그인을 할 경우
오픈아이디로는 로그인이 되지 않는 오류가 있습니다.

1차도메인에서, 2차도메인을 지정하면
변경된 2차도메인으로 이동하면서, 다시 로그인을 하라고 합니다.
세션 유지의 문제가 아닐까 합니다.
변경된 2차도메인으로 이동하더라도, 로그인 상태가 유지되어야 할 것 같습니다.

============================================================

2차 도메인을 사용하지 않더라도
auth.php 파일에 약간의 오류가 있는 듯 합니다.

블로그 주소가 www.pcc4u.net 일 경우 (블로그 구분자 : www)
pcc4u.net 에서 로그인을 하면

http://www.pcc4u.net/login?requestURI=http%3A%2F%2Fpcc4u.net%2Fowner%2Fcenter%2Fdashboard
처럼, 뒷부분의 URL은 pcc4u.net 으로 접속한 URL과 동일하지만
앞부분의 URL은 pcc4u.net 이 아닌, www.pcc4u.net 으로 표시됩니다.

로그인이 되면, http://pcc4u.net/owner/center/dashboard 처럼 표시됩니다.

auth.php 를 위의 방법처럼 수정을 하면,
pcc4u.net 에서 로그인을 하더라도
http://pcc4u.net/login?requestURI=http%3A%2F%2Fpcc4u.net%2Fowner%2Fcenter%2Fdashboard 처럼
앞부분과 뒷부분의 URL의 접속 URL과 동일합니다.

=============================================================

최근 올려진 1.6.2 버전에 다음과 같은 오류를 확인해주세요.

cover 사용시
표지에 표시되는 썸네일 이미지가 뜨지 않습니다.
정상적이라면, 썸네일 이미지의 URL이
http://www.pcc4u.net/attach/1/1234567890.jpg 와 같아야 하는데
http://www.pcc4u.net/thumnail/1/1234567890.jpg 처럼 이상한 URL로 나타납니다.

확인 바랍니다.
(1.6.2 처음 나왔을 때, 내려받았던 설치파일에서는 위 문제가 없었습니다.)</summary>
  </entry>
  <entry>
    <title type="html">U클래스님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://notice.textcube.org/ko/112#comment1745" />
    <author>
      <name>(U클래스)</name>
    </author>
    <id>http://notice.textcube.org/ko/112#comment1745</id>
    <published>2008-04-15T05:24:29+09:00</published>
    <summary type="html">위처럼 session.php 를 수정하니까
글쓰기(http://uclass.in/owner/entry/post)에
오류가 발생하네요.

업로드 밑에
[미리보기]창과, [파일 올라오는 창] 밑으로
잘려서 아무것도 나타나지 않습니다.

또 다른 어디에 영향을 주고 있는 지 모르겠네요.

휴~~ 
2차 도메인에서의 로그인 문제
어떻게 풀어야 하는지?

검토바랍니다.</summary>
  </entry>
  <entry>
    <title type="html">Textcube님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://notice.textcube.org/ko/112#comment1748" />
    <author>
      <name>(Textcube)</name>
    </author>
    <id>http://notice.textcube.org/ko/112#comment1748</id>
    <published>2008-04-16T20:48:24+09:00</published>
    <summary type="html">감사합니다.^^</summary>
  </entry>
  <entry>
    <title type="html">Textcube님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://notice.textcube.org/ko/112#comment1749" />
    <author>
      <name>(Textcube)</name>
    </author>
    <id>http://notice.textcube.org/ko/112#comment1749</id>
    <published>2008-04-16T20:49:02+09:00</published>
    <summary type="html">예 저희도 (각자 쓰는) 호스팅 비용 본전치기 하기 위해 열심히 하겠습니다. T_T</summary>
  </entry>
  <entry>
    <title type="html">Textcube님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://notice.textcube.org/ko/112#comment1750" />
    <author>
      <name>(Textcube)</name>
    </author>
    <id>http://notice.textcube.org/ko/112#comment1750</id>
    <published>2008-04-16T20:49:49+09:00</published>
    <summary type="html">1.7 알파를 사용중이시라면 곧 여기 든것 다 들고 더 들어있는 1.7 베타가 뜹니다. ㅎㅎ 그 때 1.7 베타로 업그레이드를 하시는 쪽을 권해 드립니다^^</summary>
  </entry>
  <entry>
    <title type="html">Textcube님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://notice.textcube.org/ko/112#comment1751" />
    <author>
      <name>(Textcube)</name>
    </author>
    <id>http://notice.textcube.org/ko/112#comment1751</id>
    <published>2008-04-16T20:55:07+09:00</published>
    <summary type="html">알려주신 방법이 일반적인 상황의 경우 항상 적용이 되는 방법이 아니기 때문에 코드에 반영을 하지 않고 있습니다. 텍스트큐브 소스의 경우 굉장히 다양한 환경에 설치되어 동작하기 때문에, 그 중 하나의 경우에라도 문제가 되는 경우에는 사용할 수가 없습니다. 

2차 도메인 문제의 경우 발표후보 1 이후의 http://dev.textcube.org/changeset/5749 에서 수정된 듯 합니다. (간단하게 되었죠?^^) 1.6.3 정식 버전이 TNF 테스터 메일링 리스트에서 테스트중이니 기다려주세요 :)

덧) 2차 도메인의 경우 returnURL의 문제를 자세히 살펴보도록 하겠습니다.^^</summary>
  </entry>
  <entry>
    <title type="html">wildyago님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://notice.textcube.org/ko/112#comment1752" />
    <author>
      <name>(wildyago)</name>
    </author>
    <id>http://notice.textcube.org/ko/112#comment1752</id>
    <published>2008-04-17T14:09:52+09:00</published>
    <summary type="html">이번 버젼에서 비공개글에 대한 패치가 이뤄지나요?
1.6.2에서 팀블로그를 운영할 경우 비공개로 지정한 글이 다른 팀원(관리자,글관리권한이 없는)이 내용을 읽을 수 있었습니다.
패치가 이뤄졌는지 궁금합니다.</summary>
  </entry>
  <entry>
    <title type="html">U클래스님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://notice.textcube.org/ko/112#comment1753" />
    <author>
      <name>(U클래스)</name>
    </author>
    <id>http://notice.textcube.org/ko/112#comment1753</id>
    <published>2008-04-17T14:54:05+09:00</published>
    <summary type="html">http://dev.textcube.org/changeset/5749 처럼
수정을 하여도, 1차도메인에서 로그인할 경우
어떤 영향도 없는 것으로 보입니다.

단, 2차도메인에서는 여전히 로그인이 되지 않습니다.</summary>
  </entry>
  <entry>
    <title type="html">U클래스님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://notice.textcube.org/ko/112#comment1754" />
    <author>
      <name>(U클래스)</name>
    </author>
    <id>http://notice.textcube.org/ko/112#comment1754</id>
    <published>2008-04-20T19:01:36+09:00</published>
    <summary type="html">텍스트큐브의 cover 에서 다음과 같은 기능이 구현되면 좋겠습니다.

cover 에 다중블로그의 모든 글들을 노출시키는 상황에서
cover 에서 검색을 할 경우, 메인 블로그의 글에서만 검색이 되는 문제를 해결하면 좋겠습니다.

다중블로그의 모든 글을 cover에 노출시킬 경우
모든 블로그를 대상으로 검색이 될 수 있도록 하면 좋을 것 같습니다.

또한 메타블로그의 기능을 강화하기 위해서
검색뿐 아니라, 
최근글, 댓글, 태그 등도 다중블로그의 모든 글을 대상으로
노출이 되도록 하면 좋을 것 같습니다.

텍스트큐브에 항상 고마운 마음입니다.
수고하십시오.</summary>
  </entry>
  <entry>
    <title type="html">Textcube님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://notice.textcube.org/ko/112#comment1755" />
    <author>
      <name>(Textcube)</name>
    </author>
    <id>http://notice.textcube.org/ko/112#comment1755</id>
    <published>2008-04-21T00:18:22+09:00</published>
    <summary type="html">http://dev.textcube.org/ticket/938 에서 처리되었고, 1.6.3 대기본 및 1.7 pre-beta 버전에 적용되었습니다.^^</summary>
  </entry>
  <entry>
    <title type="html">wildyago님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://notice.textcube.org/ko/112#comment1756" />
    <author>
      <name>(wildyago)</name>
    </author>
    <id>http://notice.textcube.org/ko/112#comment1756</id>
    <published>2008-04-21T11:01:28+09:00</published>
    <summary type="html">감사합니다.. ^^;;
업데이트 하고 확인해보겠습니다.. ^^</summary>
  </entry>
  <entry>
    <title type="html">U클래스님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://notice.textcube.org/ko/112#comment1759" />
    <author>
      <name>(U클래스)</name>
    </author>
    <id>http://notice.textcube.org/ko/112#comment1759</id>
    <published>2008-04-23T01:24:53+09:00</published>
    <summary type="html">위에 제가 쓴 댓글중에
썸네일이 표시되지 않는 문제는
새로 셋팅한 서버에 아직 GD Library 가
설치되어 있지 않기 때문에 발생한 문제였습니다.

표지에서 썸네일 이미지가 추출되지 않는 분은
서버에 GD Library 가 설치되어있는 지
꼭 확인하세요~~ (혼자 말하고, 혼자 답하고 ㅎㅎ)

제대로 올려진 버전이 잘못된 것 아니냐고 불평해서 미안합니다~~~</summary>
  </entry>
  <entry>
    <title type="html">Textcube님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://notice.textcube.org/ko/112#comment1758" />
    <author>
      <name>(Textcube)</name>
    </author>
    <id>http://notice.textcube.org/ko/112#comment1758</id>
    <published>2008-04-22T17:12:21+09:00</published>
    <summary type="html">직접 살펴볼 수 있도록 contact at needlworks dot org 로 메일 한 통 부탁 드립니다.^^</summary>
  </entry>
</feed>
