phpWebLog - web news management with adolescent sexist humor
find
news index | search | archive | contribute news | links | polls | downloads | faq | buttons | contact
Topics
  • General (483)
  • Announcements (14)
  • Development (247)

  • Download phpWebLog
  • Latest release 0.5.0
  • Latest unstable (ChangeLog)
  • milby7.com is patching and hosting the Latest unstable with bug fixes


    Future phpWebLog
    As of the 0.5.0 release, development has been handed over to Mocha for a while. There are very nice things in store for this project. His development site is usually up if you want to peek. Here are the latest notes:

  • ChangeLog
  • ToDo
  • Wish List

  • SourceForge
    SourceForge is providing us a mailing list and documentation.

    SourceForge Logo


    Older Stories
  • Future directions (0)
  • Modify Printable layout (3)
  • Static page in 0.4.3 (1)
  • Who's On Line (0)
  • Wacky 1's All Over The Place (2)
  • Addon (7)
  • good hosting for phpweblog (7)
  • admin page woes (5)
  • tag in blocks.inc.php causes misalignment
  • (7)
  • PhpWebLog reviews (3)

  • admin page woes
    Posted under Development by graham boyd on Friday March 30 2001 @ 02:20PM EST

    I'm running PHP 3.0.16 under OpenBSD 2.7 and I'm having a
    few problems getting any of the admin options to appear. The only deviation I had to make was to common.inc.php to change the eval() bits. Other than that everything seems
    to work ok.

    I've done a bit of debugging, and so far I'm certain that the password matches the default one, changing the line which reads :
    return ($HTTP_COOKIE_VARS[$name]==md5(rot13($CONF["SiteKey"])) ? 1 : 0);

    changing the 1 for a 0 and the 0 for a 1, so that anyone who hasn't authenticated is admin, reveals the options.

    Anyone and ideas of what I can try?

    The file persmissions seem sound, I've run the fix persmissions script. I've reset the password a couple of times, tried the unstable release....

    argh!




    jason writes on Friday March 30 2001 @ 02:45PM EST: [ reply | parent ]
    Sure you're getting the cookie?
    graham boyd writes on Saturday March 31 2001 @ 04:11PM EST: [ reply | parent ]

    Yup, I'm getting the cookies.

    Brian Milby writes on Wednesday April 04 2001 @ 10:46AM EDT: [ reply | parent ]
    Which version do you have installed? 0.5.0, 0.5.1-unstable, 0.5.1-pre5?
    graham boyd writes on Wednesday April 04 2001 @ 12:30PM EDT: [ reply | parent ]

    I'm using the latest "release" 0.5.0

    Brian Milby writes on Wednesday April 04 2001 @ 01:16PM EDT: [ reply | parent ]
    Suggest using 0.5.1 pre 5 instead. I know that there were some changes between 0.5.0 release and the 0.5.1 unstable (in the way of bug fixes). All of my bug fixes are based on that version. pre 6 should be out this week as well.
    Have you tried putting some echo statements in the F_isAdmin function to determine what the cookie is returning compared to the correct value?
    Also, is the system logging that you authenticated as the admin?

    Post a Comment
    Name:
    Email:
    URL
      Remember my information (uses cookies)
      I would rather be anonymous
    Comment:

    * Allowed HTML tags: <B> <I> <U> <Q> <LIST> <*>
    * Your email will not be made public.

    Copyleft © 2000 phpWebLog
    All trademarks and copyrights on this page are owned by their respective owners.

    Powered by phpWebLog