Cannot get to admin login page

2011-01-06
2013-01-23
  • Martin Swart
    Martin Swart
    2011-01-06

    I have configured the config.inc.php

    $CONF = 'true';

    Went through the setup

    Postfix Admin Setup Checker
    Running software:

    •PHP version 5.1.6
    •Apache/2.2.3 (CentOS)
    Checking for dependencies:

    •Magic Quotes: Disabled - OK
    •Depends on: presence config.inc.php - OK
    •Checking $CONF - OK
    •Depends on: MySQL 3.23, 4.0 - OK
    •Depends on: MySQL 4.1 - OK
    •Testing database connection - OK - mysqli://mail_admin:xxxxx@localhost/mail
    •Depends on: session - OK
    •Depends on: pcre - OK
    •Depends on: multibyte string - OK
    •Depends on: IMAP functions - OK
    Everything seems fine… attempting to create/update database structure

    Database is up to date

    Created a admin user and added the hased pasword to config.inc.php

    // In order to setup Postfixadmin, you MUST specify a hashed password here.
    // To create the hash, visit setup.php in a browser and type a password into the field,
    // on submission it will be echoed out to you as a hashed value.
    $CONF = 'xxxxxxxxxx;

    I am unable to get to the Admin Login page.  Reverts to welcome page

    Welcome to Postfix Admin
    What is it?
    Postfix Admin is a web based interface to configure and manage a Postfix based email server for many users.

    Assistance will be appreciated.

    Thanks

    M

     
  • Do you have the following line in config.inc.php (or config.local.php)?

    $CONF = true;

    Note that it must be exactly that way - … = 'true' or … = 'YES' won't work.