Results 1 to 6 of 6

Thread: phpWiKi
      
   

  1. #1
    RgmM is offline Private First Class
    Join Date
    Jul 2007
    Posts
    6

    Question phpWiKi

    Can someon help me with phpWiki, the login doesn't work but what I've entered is correct.

    I can't find any errors in the code but maby you can

    Code:
       // Set these to your preferences. 
       // For heaven's sake pick a good password!
       $wikiadmin   = "user";
       $adminpasswd = "pass";
    
    ......
    ......
    
       // From the manual, Chapter 16
       if (($PHP_AUTH_USER != $wikiadmin  )  ||
           ($PHP_AUTH_PW   != $adminpasswd)) {
          Header("WWW-Authenticate: Basic realm=\"PhpWiki\"");
          Header("HTTP/1.0 401 Unauthorized");
          echo gettext("You entered an invalid login or password.");
          exit;
       }
    (not my real login -.- )

    tyvm for atleast taking time to view this post.

  2. #2
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: phpWiKi

    The only thing I can see that might be causing the problem is an $PHP_AUTH_USER or $PHP_AUTH_PW isn't being set.

    Is it not letting you login after a fresh install, or have you made any changes to the code or added some addon or plugin to the wiki and then all the sudden you couldn't login?

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  3. #3
    RgmM is offline Private First Class
    Join Date
    Jul 2007
    Posts
    6

    Default Re: phpWiKi

    It doesn't let me in
    I've made a flash vid of it:
    http://wiki.runespace.org/Phpwiki/Phpwiki.html

  4. #4
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: phpWiKi

    If you didn't make any changes to the file themselves, then just reinstall a fresh copy. There must have been some file that is corrupt, or didn't upload or install correctly.

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  5. #5
    RgmM is offline Private First Class
    Join Date
    Jul 2007
    Posts
    6

    Default Re: phpWiKi

    I did, 4 times.
    I've seen someone with the same error a while ago.

  6. #6
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: phpWiKi

    Sorry, I haven't a clue, I have never used the software, and its hard to fix the code without seeing it. Have you tried the phpwiki support?

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49