Contents

1 init
2 error : acl related
3 error : related gettext()
3.1 해결3
3.2 error 내용
3.3 해결2
3.4 해결1
4 log in 안됨

1 init #

config.php config/acl.default.php check file permission, owner



2 error : acl related #

  • 내용
2018/07/28 17:03:06 [error] 8364#8364: *137 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to a member function fetch() on null in /home/xxx/xxx/x.xxxxxxx.com/html/moniwiki/plugin/security/acl.php:438
Stack trace:
  • 처리 config/acl.default.php 생성 from acl.default.php.sample
~/www/test.com/html/moniwiki/config $ cat acl.default.php
*       @ALL            deny    *
*       @User           allow   *
UserPreferences Anonymous       allow   *



3 error : related gettext() #


3.1 해결3 #

모니위키 버전을 올리고나서 로그인이 안된다. ==> 크라우져에서 해당 쿠키를 모두 지운후 잘 된다.

3.2 error 내용 #

  • on windows7, php5
PHP Fatal error:  Call to undefined function gettext() in D:\www\moniwiki\monisetup.php on line 879

3.3 해결2 #

add code below into php file where error occurs
if (!function_exists('gettext')) {
    function gettext($str) {
	return $str;
    }
}




3.4 해결1 #

cp php.ini-development php.ini

uncomment below line in php.ini file
extension=d:\php5\ext\php_gettext.dll

4 log in 안됨 #

로그인 성공했다고 뜬다. 하지만 로그인이 유지되지 않음

data directory의 permission 확인할것

config.php 를 열어보면 알 수 있음
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2024-04-08 23:50:03
Processing time 0.0083 sec