ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Problem Installing EE2 on a local MAMP server

September 27, 2010 7:23pm

Subscribe [2]
  • #1 / Sep 27, 2010 7:23pm

    mprzybyla

    2 posts

    Hi,

    I have just purchased a copy of EE2.1.  I installed it on my Windows XP work machine earlier with no problems.

    Subsequently I tried to install it on my Mac (Snow Leopard) at home and no luck.  I’m running a MAMP local server and my problems seem to be similar to others I’ve seen in the forum.

    I used phpMyAdmin to set up a database, set the permissions, used the installer to install, and EE gave me a “installed correctly” message at the end. 

    The only strange thing during the install was that I did not have the option to install the Agile Records theme from the drop down.  I could only do a clean install with no theme (I installed the Agile theme on my Windows machine earlier, no problem).

    This is the config that was written during the install:

    /*
    |--------------------------------------------------------------------------
    | ExpressionEngine Config Items
    |--------------------------------------------------------------------------
    |
    | The following items are for use with ExpressionEngine.  The rest of
    | the config items are for use with CodeIgniter.
    |
    */
    
    $config['app_version'] = '210';
    $config['install_lock'] = "";
    $config['license_number'] = '';
    $config['debug'] = '1';
    $config['cp_url'] = 'http://localhost:8888/mysite/mysite/index.php';
    $config['doc_url'] = 'http://ellislab.com/expressionengine/user-guide/';
    $config['is_system_on'] = 'y';
    $config['site_label'] = 'Mysite';
    $config['cookie_prefix'] = '';
    
    // END EE config items
    
    /*
    |--------------------------------------------------------------------------
    | Base Site URL
    |--------------------------------------------------------------------------
    |
    | URL to your CodeIgniter root. Typically this will be your base URL,
    | WITH a trailing slash:
    |
    |    <a href="http://example.com/">http://example.com/</a>
    |
    */
    $config['base_url']    = '';


    After this, I tried navigating to the control panel, but I get this error:

    An Error Was Encountered
    Unable to load the requested file: account/login.php


    I tried adding the themes path to the config myself, as suggested on the forums, like so:
    $config[‘theme_folder_path’] = “/Applications/MAMP/htdocs/mysite/themes/”

    This is the correct and full path.  But instead of the error I just get a white screen of death.

    I don’t think this problem is even specific to MAMP.  I’ve also got a native Apache/PHP/MySQL environment running on my Mac and I tried the install there with the same result.

    Any help would be appreciated,

    Cheers,
    Martin

  • #2 / Sep 28, 2010 10:36am

    Sue Crocker

    26054 posts

    Martin, which build/version of MAMP are you using?

  • #3 / Sep 28, 2010 8:13pm

    mprzybyla

    2 posts

    I’m running version 1.9 of MAMP, though in the end I think this has nothing to do with my local server setup but rather with the renaming of the system folder upon installation (as per the installation guide).

    I had renamed my system folder to the same name as my web root.  In other word, I installed EE in:

    http://localhost/mysitename/

    and then I renamed my system folder to the same name as my web root (“mysitename”).

    So my control panel login was at http://localhost/mysitename/mysitename/ ... This caused the install to fail.

    So basically,if you rename your system folder, rename it to something besides the name of your web root, and then the install works.

    Cheers,

  • #4 / Sep 29, 2010 9:48am

    Sue Crocker

    26054 posts

    Ahh.. that would make sense. 😊 With local installs, I rarely rename the system folder. Don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases