phpWebLog - web news management with adolescent sexist humor
find
story index | search | archive | submit story | downloads | stats | contact
Topics
  • General (900)
  • Announcements (20)
  • Development (516)
  • Mods & Hacks (31)


  • phpWebLog
  • Latest Release - 0.5.3 (BETA)
  • Latest Stable - 0.5.2
  • ChangeLog
  • TODO / Roadmap
  • BUGS

    CVS WEB

  • New XL fork 0.5.2
  • Unstable branch 0.5.3

  • For development discussions and for general support, join the phpWebLog mailing list

    phpWebLog needs active developers to help fix bugs. If you are interested, send me your SourceForge login information for CVS access.


    Last 5 Comments
  • links.php (Anonymous)
  • fix_permissions.sh HELP (elen)
  • links.php (uytu)
  • last 5 comments mod (Jesper Mohr)
  • PHPWEBLOG FRENCH VERSION (Romarin)


  • Setup Password Not Accepted - General
    Posted by Gary Gale (Wednesday March 20 2002 @ 03:36PM EST) views: 352
    Trying to install 0.5.3 on a RHL 7.2 box running mySQL 11.7, PHP 4.1.2 and Apache 1.3.22.

    I've edited common/include.inc.php correctly (I think) but despite that, when I enter the password I just get the original setup/index.php page re-displayed.

    I've tried using "password" as that's been referenced in other posts but all to no avail.

    My include/common.inc.php is ...

    /*== DATABASE CONFIGURATION ==*/
    $G_DB = "PHPWEBLOG"; # database name
    $G_HOST = "localhost"; # hostname
    $G_PORT = "3306"; # port
    $G_USER = "root"; # username
    $G_PASS = "not-my-real-password"; # password


    /*== SETUP / INSTALLATION PASSWORD ==*/
    /*== YOU WANT TO CHANGE THIS TO SOMETHING UNIQUELY PRIVATE! ==*/

    $SETUP_PW = "phpweblog"; # setup password


    /*== DIRECTORY PATHS (no trailing slashes) ==*/
    $G_PATH = "/home/web/htdocs/index.html"; // full directory path

    $G_URL = "http://www.vicchi.org";


    /*== END CONFIGURATION ==*/

    include_once("/G_PATH/include/init.inc.html");

    Any ideas or workarounds?

    < Bug with user authentication system? | Password not being accepted for domain.com/setup >

    By Tony Williams (Friday March 22 2002 @ 05:22PM EST)
    Do you have cookies enabled in your browser?

    Do you have MD5 support enabled in PHP? What about your magic_quotes setting?

    And you are typing in "phpweblog" not "not-my-real-password"?

    Tony
    [ reply | parent ]
    By Gary Gale (Saturday March 23 2002 @ 08:45AM EST)
    Hi Tony,

    cookies are on (originally they were set to originating from the same server but I changed that to accept all cookies - just to see if it made a difference - it didn't!)

    The password being typed in is definately the one specified in the include/common.inc.php file.

    The "magic_quotes" setting is "On" for "magic_quotes_gpc" and "Off" for "magic_quotes_runtime" in my php.ini file.

    As far as MD5 support goes - that's a new one on me - I couldn't find any reference to MD5 support in the ./configure options when I built PHP nor in my php.ini file ... am I missing something here?

    Gary
    [ reply | parent ]
    By Patrick (Saturday March 23 2002 @ 10:55PM EST)
    The info at http://phpweblog.org/stories.php?story=02/02/25/7822644 helped me solve this exact problem.

    Ensure you are running and Apache is using PHP 4.1.2.

    Then edit the php.ini file and ensure:
    allow_call_time_pass_reference = On

    Secondly, make sure your variable_order = "EGPCS"

    Lastly, set register_globals = On

    This resolved it for me, thanks to that anonymous posted who provided this solution.
    [ reply | parent ]
    By Gary Gale (Monday March 25 2002 @ 04:01AM EST)
    Thanks Patrick,

    I'll try this as soon as I get a chance ...

    Gary
    [ reply | parent ]
    By Gary Gale (Monday March 25 2002 @ 02:15PM EST)
    Patrick
    Outstanding! It worked, I edited php.ini as you described and suddenly everything sprung into action.

    Many, many thanks for this - now all I have to do is one major customisation/configuration job!

    Once again - thanks to Patrick and everyone else who contributed to this - much appreciated doesn't even begin to say ...

    Gary
    [ reply | parent ]
    By Patrick (Tuesday March 26 2002 @ 02:42PM EST)
    You're welcome....I was just as happy when I got mine working :)
    [ reply | parent ]
    By Dustin Lewis (Wednesday March 27 2002 @ 05:49PM EST)
    I'm having this exact same problem, however I have php setup according to this, with php sessions and what not but to no avail. My browser supports and is accepting cookies also. Not sure what's going on. I'm using God/admin as specified in the readme.

    phpinfo for the box can be found here:
    http://manhattan.dyn.dhs.org/phpinfo.php
    and
    http://manhattan.dyn.dhs.org/myphpblog/login.php
    [ reply | parent ]
    By Tony Williams (Friday March 29 2002 @ 12:56AM EST)
    Since you are running MyPHPBLog not PHPWebLog I'm going to find it a bit hard to fix.

    Good to see someone else running Apache on Mac OS though.

    You might want to visit http://lists.sourceforge.net/lists/listinfo/myphpblog-general to search their mailing list archive or join. They don't appear to have an online forum.

    Tony
    [ reply | parent ]
    By Lukas Razik (Sunday May 05 2002 @ 12:15PM EDT)
    Thx to Gary Gale for posting the problem and thx to Patrick for the solution!!!

    I also had this problem but after the changes in the php.ini my password was accepted.

    And thnx to all developers of phpWebLog!!!

    cu all,
    Lukas
    [ reply | parent ]
    Post a Comment
    Name:
    Email:
    URL:
      Remember my information (uses cookies)
      I would rather be anonymous
    Comment:
    * Your email will not be made public.
    Save As:
    SourceForge
    SourceForge is providing us a mailing list , documentation and a CVS tree.

    SourceForge Logo


    PHP.net
  • PHP @ LinuxTag
  • PHP 5.0.0 Beta 1
  • PHP Usage Survey
  • International PHP Conference 2003
  • PHP 4.3.3RC1 released
  • Active Awards Programmers' Choice Nominees are in!
  • PHP 4.3.2 Released!
  • Automatic Mirror Select
  • Country Detection
  • My PHP.net

  • PHPBuilder
  • An introduction to the ADOdb class library for PHP
  • Manually Expiring Web Pages
  • Regression Testing With JMeter
  • Advanced Image Editing Under the GD Library
  • The Benefits of Using Objects with Databases
  • Interfacing with COM objects under Windows
  • Dynamic XML Conversion Using the SAX Parser
  • Arrays 101
  • Introduction to PHP5
  • Installing PHP-GTK on Linux


  • phpWebLog: A PHP News and Content Management System
    Copyright (C) 2000-2002, Jason Hines / Eye Integrated Communications