Help-what do i do next?

Discussion in 'Installation' started by oktotest, Feb 23, 2008.

  1. oktotest

    oktotest New Member

    Joined:
    May 18, 2007
    Messages:
    12
    i have got to the part of installation where you have to download the config.ini.php file. I have done that but do not know how to amend it. when i open the file in Dreamweaver to configure it i am lost, this is what i am presented with:

    Please edit 0 amember/config.inc.php and replace line
    \$config['root_dir'] = dirname(__FILE__);
    to \$config['root_dir'] = '/home/user/public_html/amember';
    Of course, /home/user/public_html/amember must be replaced to the
    actual UNIX 0system path (not URL!) to aMember folder.
    "); } if (!defined('AMEMBER_ONLY_DB_CONFIG')){ require_once("$config[root_dir]/rconfig.inc.php"); } }

    I am a newbie to scripting so i am slightly confused about what i add where. Could someone help please. I have requested from the amember guys but know one has got back to me, and i have bought a pro version

    can anyone help?
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Copy this code to a new script called phpinfo.php. Run the script, it should tell you your system path to amember. Apache Environment/ DOCUMENT_ROOT

    <?php
    phpinfo();
    ?>

    Then change
    $config['root_dir'] = '/home/user/public_html/amember';
    to your system path
    $config['root_dir'] = '/yoursystempath/amember';

    David
  3. oktotest

    oktotest New Member

    Joined:
    May 18, 2007
    Messages:
    12
    Thanks Dave i will try this and let you know

Share This Page