Contents

1 init
2 error : acl related
3 error : related gettext()
3.1 해결3
3.2 error 내용
3.3 해결2
3.4 해결1

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
gim@gimspi:~/www/h.gimslab.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

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2019-05-21 23:26:27
Processing time 0.0140 sec