From: Paul H. <he...@ma...> - 2004-06-21 11:43:15
|
Running the nightly build dated 20 June. Received the following error on the PageInfo page (for the homepage): lib/FileFinder.php (In template 'info') (In template 'browse') (In template 'body') (In template 'html'):186: Fatal[256]: LC_MESSAGES/phpwiki.php: file not found ----- Running MySQL as backend database. With DBAUTH_AUTH_CREATE commented out in the config.ini, users are still able to add themselves to the userlist. By setting DBAUTH_AUTH_CREATE = "", users can no longer do this. There is a default value somewhere that should be blanked out, unless set in config.ini. ----- pjh |
From: Reini U. <ru...@x-...> - 2004-06-21 17:47:21
|
Paul Henry schrieb: > Running the nightly build dated 20 June. > > Received the following error on the PageInfo page (for the homepage): > > lib/FileFinder.php (In template 'info') (In template 'browse') (In template > 'body') (In template 'html'):186: Fatal[256]: LC_MESSAGES/phpwiki.php: file > not found aha, strange. which language and which theme? Cannot reproduce so far. > Running MySQL as backend database. With DBAUTH_AUTH_CREATE commented out in > the config.ini, users are still able to add themselves to the userlist. By > setting DBAUTH_AUTH_CREATE = "", users can no longer do this. There is a > default value somewhere that should be blanked out, unless set in config.ini. Yes, the defaults from config/config-default.ini are used if there's no config.ini or previous definition (starter script) of such a constant. I commented now DBAUTH_AUTH_USER_EXISTS and DBAUTH_AUTH_CREATE in config/config-default.ini, but I wonder if now more users will complain, having removed useful defaults. -- Reini Urban |
From: Paul H. <he...@ma...> - 2004-06-22 11:49:45
|
On Monday 21 June 2004 13:45, Reini Urban wrote: > > lib/FileFinder.php (In template 'info') (In template 'browse') (In > > template 'body') (In template 'html'):186: Fatal[256]: > > LC_MESSAGES/phpwiki.php: file not found > aha, strange. > which language and which theme? Cannot reproduce so far. Strange. English, all themes, 20 June build. What's the LC_MESSAGES refer to? Perhaps I can find it? > Yes, the defaults from config/config-default.ini are used if there's no > config.ini or previous definition (starter script) of such a constant. Ahh. But I am using config.ini. For lines (such as in my example), where I am turning on/off a feature by commenting (rather than by substituting a value) in config.ini, there should be a default value of "" in config-default.ini, or config-default.ini should not be loaded if config.ini is present? Problem was I assumed that by leaving something commented out, it was turned off (in this case the ability of users to create their own accounts), but this was not the case. Thanks for the quick response Reini. Cheers. |
From: Reini U. <ru...@x-...> - 2004-06-22 12:24:39
|
Paul Henry schrieb: > On Monday 21 June 2004 13:45, Reini Urban wrote: >>>lib/FileFinder.php (In template 'info') (In template 'browse') (In >>>template 'body') (In template 'html'):186: Fatal[256]: >>>LC_MESSAGES/phpwiki.php: file not found >> >>aha, strange. >>which language and which theme? Cannot reproduce so far. > > Strange. English, all themes, 20 June build. What's the LC_MESSAGES refer to? > Perhaps I can find it? This code is for a translation from some non-language language to english, mostly used to find an unknown action page. >>Yes, the defaults from config/config-default.ini are used if there's no >>config.ini or previous definition (starter script) of such a constant. > > > Ahh. But I am using config.ini. For lines (such as in my example), where I am > turning on/off a feature by commenting (rather than by substituting a value) > in config.ini, there should be a default value of "" in config-default.ini, > or config-default.ini should not be loaded if config.ini is present? Problem > was I assumed that by leaving something commented out, it was turned off (in > this case the ability of users to create their own accounts), but this was > not the case. No, all default values which are not present in config.ini are taken from config-default.ini. line by line. Most DBAUTH sql statememnts had defaults, so you explicitly had to turn them off by ... = "" > > Thanks for the quick response Reini. Cheers. > > -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |