Still fussing around with 1.3.9p1 and trying to make everything work properly, and I've encountered two stumbling blocks which I can't get around.
I've set ALLOW_ANON_EDIT to false and when, as an anonymous user, I click the edit button, instead of taking me to a login page, I get a fairly plain html page which tells me:
Fatal PhpWiki Error
Editing pages is disallowed on this wiki for user (level: -1).
Which, of course, is true, but I would like it to be a bit more graceful.
When I do try to login (in this case as the admin user, because it is the only one set up so far) I get an error screen which says:
Fatal error: Nesting level too deep - recursive dependency? in /home/dadahero/public_html/wiki/sandbox-new/lib/WikiUserNew.php on line 949
At this point my USER_AUTH_POLICY is 'stacked', but I have tried it with 'old' and tried turning ENABLE_USER_NEW to false.
Any suggestions on where my problem could be for these two things?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have noticed that on a new install of 1.3.10, the second problem (Nesting level too deep) no longer happens. The somewhat ungraceful error page for anonymous edits remains.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just checked in code into CVS which should help there also.
There were a couple of permission bugs and the wording improved.
However it's still not perfect.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Still fussing around with 1.3.9p1 and trying to make everything work properly, and I've encountered two stumbling blocks which I can't get around.
I've set ALLOW_ANON_EDIT to false and when, as an anonymous user, I click the edit button, instead of taking me to a login page, I get a fairly plain html page which tells me:
Fatal PhpWiki Error
Editing pages is disallowed on this wiki for user (level: -1).
Which, of course, is true, but I would like it to be a bit more graceful.
When I do try to login (in this case as the admin user, because it is the only one set up so far) I get an error screen which says:
Fatal error: Nesting level too deep - recursive dependency? in /home/dadahero/public_html/wiki/sandbox-new/lib/WikiUserNew.php on line 949
At this point my USER_AUTH_POLICY is 'stacked', but I have tried it with 'old' and tried turning ENABLE_USER_NEW to false.
Any suggestions on where my problem could be for these two things?
Could you post your USER_AUTH_ORDER?
ALLOW_USER_PASSWORDS must be true.
$USER_AUTH_ORDER =
array(
// "BogoLogin",
"PersonalPage",
// "HttpAuth",
// "Db",
// "LDAP", // define LDAP_AUTH_HOST and LDAP_BASE_DN
// "IMAP", // define IMAP_AUTH_HOST
// "POP3", // define POP3_AUTH_HOST
// "File", // define AUTH_USER_FILE and opt. AUTH_USER_FILE_STORABLE
) ;
I have noticed that on a new install of 1.3.10, the second problem (Nesting level too deep) no longer happens. The somewhat ungraceful error page for anonymous edits remains.
I just checked in code into CVS which should help there also.
There were a couple of permission bugs and the wording improved.
However it's still not perfect.