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.

Moving EE installation from a sub-folder into my public folder

June 02, 2010 12:45pm

Subscribe [3]
  • #1 / Jun 02, 2010 12:45pm

    dansdill84

    6 posts

    I’m not sure if this was ever addressed in this forum but a search didn’t find any results.  Would anyone know the easiest way that this can be done?  I know that there are a bunch of places where paths are hard-coded in the control panel, but what other issues am I looking at if I were to just move everything up one folder? (i.e. from http://www.mysite.com/temp/ to www.mysite.com/ )

    Thanks!!

  • #2 / Jun 02, 2010 3:51pm

    Ingmar

    29245 posts

    Welcome to the forums. This shouldn’t be too hard; apart from moving the files physically it involves mainly changing preferences in your control panel as well as config.php and path.php. Makes sense? Let us know how it goes.

  • #3 / Jun 08, 2010 9:33pm

    dansdill84

    6 posts

    Thanks, I changed up everything and it all worked fine except now I get a blank white screen when attempting to access the control panel login page here:  (Removed by Moderator)

    I changed up everything…  Please help!  Below you’ll find the php code for the files you told me to change.

    Thanks!!!

    The path.php looks like this:

    <?php
    
    // ------------------------------------------------------
    // DO NOT ALTER THIS FILE UNLESS YOU HAVE A REASON TO
    
    // ------------------------------------------------------
    // Path to the directory containing your backend files
    
    $system_path = "./threesixty/";
    
    // ------------------------------------------------------
    // MANUALLY CONFIGURABLE VARIABLES
    // See user guide for more information
    // ------------------------------------------------------
    
    $template_group = "";
    $template = "";
    $site_url = "";
    $site_index = "";
    $site_404 = "";
    $global_vars = array(); // This array must be associative
    
    ?>
    
    The Config.php looks like this:
    <?php
    
    if ( ! defined('EXT')){
    exit('Invalid file request');
    }
    
    $conf['app_version'] = "169";
    $conf['license_number'] = "";
    $conf['debug'] = "1";
    $conf['install_lock'] = "1";
    $conf['db_hostname'] = "(Removed by Moderator)";
    $conf['db_username'] = "HIDDEN";
    $conf['db_password'] = "HIDDEN";
    $conf['db_name'] = "HIDDEN";
    $conf['db_type'] = "mysql";
    $conf['db_prefix'] = "exp";
    $conf['db_conntype'] = "0";
    $conf['system_folder'] = "threesixty";
    $conf['cp_url'] = "(Removed by Moderator)";
    $conf['doc_url'] = "http://expressionengine.com/docs/";
    $conf['cookie_prefix'] = "";
    $conf['is_system_on'] = "y";
    $conf['allow_extensions'] = "y";
    $conf['multiple_sites_enabled'] = "n";
    ?>
  • #4 / Jun 08, 2010 11:32pm

    Brandon Jones

    5500 posts

    Hi scios360,

    I removed the link and some details for security reasons. However, the link you posted worked for me; I got the CP login page as normal. Are you making progress with this?

  • #5 / Jun 09, 2010 1:54pm

    dansdill84

    6 posts

    Hi Brandon, you rock for responding so early and I really appreciate the security assistance….my mistake!  In any case, I am now able to get to the log in screen but I get an error when I log in:

    Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in system/lib/analytics_panel/gapi.class.php on line 29

    I think this has something to do with the google analytics cpanel add-on that I enabled before making the switch.  That said, I also added the “Structure” module as well before moving this live.  Is there any way to completely uninstall these things without blowing everything up?

    Again, your help is really appreciated.

  • #6 / Jun 09, 2010 4:26pm

    Ingmar

    29245 posts

    I think this has something to do with the google analytics cpanel add-on that I enabled before making the switch.

    I’d have to agree, this sounds like an issue with this third-party add-on.

    That said, I also added the “Structure” module as well before moving this live.  Is there any way to completely uninstall these things without blowing everything up?

    Make a backup of your db first 😊 that said, it’s probably better to remove these addons on the old site, ie before moving. Is that an option for you?

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

ExpressionEngine News!

#eecms, #events, #releases