Textcube 1.9.0 Beta 6에서 어느날 갑자기 로그인이 되지 않는다.
설정파일에서 debugmode를 켜고 봤더니 아래와 같은 오류가 발생하고 있었다.

Invalid callback Session::write, class 'Session' not found(2)

File: Unknown:0

Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/tmp)(2)

File: Unknown:0

Invalid callback Session::close, class 'Session' not found(2)

File: Unknown:0


이는  PHP의 APC가 활성화 되어있을 때 발생하는 문제이다.

이를 해결하기 위해서는 library/preprocessor.php에 152줄 근처에 아래와 같은 명령을 추가하면 해결 가능하다. 세션 관련된 쪽에 적당한 곳에 넣으면 된다.
 
152: Session::set();
...
register_shutdown_function("session_write_close");
...
160: if (session_start() !== ture) {

이 이외에도 SQL Table Create 오류가 발생하였는데, 이는 library/model/common.plugin.php 파일의 236줄 TYPE=MyISAM 을 ENGINE=MyISAM 으로 바꾸어 해결하였다.

참조 : http://www.lifefeel.com/347


Posted by Lifefeel

2013/04/13 05:04 2013/04/13 05:04
,
Response
34 Trackbacks , No Comment
RSS :
http://www.lifefeel.com/rss/response/352

blog comments powered by Disqus
« Previous : 1 : 2 : 3 : 4 : 5 : 6 : ... 75 : Next »

블로그 이미지

이세상을 음악처럼 연주하고픈, 세상을 연주하는 외로운 사나이

- Lifefeel

Archives

Authors

  1. Lifefeel

Calendar

«   2013/05   »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Site Stats

Total hits:
286930
Today:
29
Yesterday:
203