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.

Migration to new server problems

May 10, 2012 12:39pm

Subscribe [1]
  • #1 / May 10, 2012 12:39pm

    rob_hawk

    26 posts

    Hi,

    I hope someone can help me out here quickly as I’m trying to migrate a site (first time) from a local MAMP install to a live host.

    I’ve followed the steps in this post

    http://expressionengine.com/wiki/Move_from_Development_to_Production_on_EE_2

    and things are not quite right because although when I visit the http://site.com/system/index.php URL I eventually get an un-styled login box and then a totally un styled control panel!!

    When I look on my local MAMP install i see the themes folder path set to “/Applications/MAMP/htdocs/evolve2design/themes/” which is obviously not correct for my remote host.

    The stupid question is I think my remote install can’t pick up the themes and as I can’t access the CP as a result I can’t change it via “General Configuration”.

    Is there a way of updating the “theme folder path” without editing it via the admin or am I going about this the wrong way? I also have been planning to use REELOCATE to change all the settings in the CP once fully migrated - This will change the theme path but not if I can’t use the CP on the live server.

    Help is very much appreciated because so far being new to EE this migration between servers has been the worst part of EE and the rest I love!!

    Cheers

    Rob

  • #2 / May 10, 2012 1:43pm

    Bhashkar Yadav

    727 posts

    Hi Rob_hawk,

    You can get fix this issue with 2 ways :

    1) See carefully the un-styled control panel and you can find the “General Configuration” tab. On clicking it, you can see the “General Configuration” form by scrolling to bottom and set you preferences.

    2) EE stores “General Configuration” data into “site_system_preferences” column of database table “exp_sites” in encrypted manner (i don’t know how this encryption is performed into EE 😊 ) for that site. if you have any local setup of same EE version, follow the following on local setup:
    i) go to phpmyadmin, take the backup of “site_system_preferences” column value of database table “exp_sites”.
    ii) go to “general configuration” of local EE setup. Just update the preference according to you new server (where you moved the site).
    iii) take “site_system_preferences” column value of database table “exp_sites” from local database and update this value at in the same column same database table of new server database.
    iv) update “site_system_preferences” column value of database table “exp_sites” of local from your backup
    v) Done

    Please Note : Before performing this, please make sure that you are having proper backups of database table in the case you missed something.


    Hope this would help you.

  • #3 / May 10, 2012 1:49pm

    rob_hawk

    26 posts

    Hi,

    Thanks for helping me with this.

    I have actually now just got the CP working by adding the following to my config.php file because I understand that from reading this article http://eeinsider.com/articles/multi-server-setup-for-ee-2/ that the config.php file entries will over ride those set via the CP.

    $config[‘theme_folder_path’] = “/homepages/30/d205476839/htdocs/evolve2design/themes/”;
    $config[‘theme_folder_url’] = “http://evolve2design.com/themes/”;

    My control panel is now fully operations, channels, data everything present. BUT

    I cant view my site so am wondering what I’ve missed?

    Look forward to hearing back from you

  • #4 / May 10, 2012 2:00pm

    Bhashkar Yadav

    727 posts

    Hi Rob,

    are you not able to view your website http://www.evolve2design.com? I just opened this and seems it running properly.


    Best Regards,

  • #5 / May 10, 2012 2:05pm

    rob_hawk

    26 posts

    Hi Bhashkar,

    I can open it now on everything but my local machine so it looks to be a caching issue of some type at my end.

    Not quite sure what it is yet but will carry on looking!!

    Thanks very much for helping out so quickly.

    Cheers

    Rob

     

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

ExpressionEngine News!

#eecms, #events, #releases