Installation - Right At The Beginning - Admin

Discussion in 'Installation' started by Peter, Jun 11, 2003.

  1. Peter

    Peter Guest

  2. alex-adm

    alex-adm Guest

    what is written in lines 51-55 of config_plugins.inc.php ?
    Which PHP version you have running?
  3. Peter

    Peter Guest

    The hosting company say it is PHP4 - but can be set to PHP3 if required (have tried this makes no difference)

    There was no .htpassword file in any of the directories - I have tried loading a blank one into them - also makes no difference

    hope this helps

    41 ############## db/mysql #######################
    42 $pc = array();
    43 $pc['db'] = 'dbxxx';
    44 $pc['user'] = 'dboxxx';
    45 $pc['pass'] = 'xxx';
    46 $pc['host'] = 'dbxxx';
    47 $pc['prefix'] = '';
    48 $plugin_config['db']['mysql'] = $pc;
    49
    50 ############## protect/htpasswd ##############
    51 $pc = array();
    52 $pc['use_plain_text'] = @PROTECT_HTPASSWD_PLAIN@;
    53 $plugin_config['protect']['htpasswd'] = $pc;
    54
    55 ############## protect/php_include ##############
    56 $pc = array();
    57 /// redirect user after logout to:
    58 $pc['redirect'] = '';
    59 $plugin_config['protect']['php_include'] = $pc;
  4. alex-adm

    alex-adm Guest

    $pc['use_plain_text'] = @PROTECT_HTPASSWD_PLAIN@;
    replace it to
    $pc['use_plain_text'] = 0;

    I hope you used automated setup? In another way you will get more troubles for sure.
  5. Peter

    Peter Guest

    Alex

    thanks - that more or less fixec it

    the only further problem was on line 72 (or 75?)

    $pc['admin_approval'] = @PAYMENT_FREE_APPROVAL@;

    I changed that to

    $pc['admin_approval'] = 0;

    and so far so good

    thankq
  6. alex-adm

    alex-adm Guest

Share This Page