Menu

a couple of auth problems

Help
Jeff Day
2004-05-09
2012-10-11
  • Jeff Day

    Jeff Day - 2004-05-09

    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?

     
    • Reini Urban

      Reini Urban - 2004-05-15

      Could you post your USER_AUTH_ORDER?
      ALLOW_USER_PASSWORDS must be true.

       
    • Jeff Day

      Jeff Day - 2004-05-16

              $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
                        ) ;

       
    • Jeff Day

      Jeff Day - 2004-05-16

      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.

       
      • Reini Urban

        Reini Urban - 2004-05-16

        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.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.