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 an EE 1.7 site to new host

May 09, 2011 5:54pm

Subscribe [2]
  • #1 / May 09, 2011 5:54pm

    senojeel

    24 posts

    I have been searching and have followed a few examples on how to move an EE site to a new host, but none have worked for me.  I am trying to set up a dev version of a live site. Are there any issues when moving a site to a sub-directory.  For instance I am moving from http://www.domain.com to www.domain2.com/site.

    I have downloaded the live site via ftp and uploaded all the files to the new server.  I have exported the db from the live site and imported it to a db on the new server.  I have also changed path.php and system/config.php to the new settings.  If I visit the new address, I get content, but no layout. I am assuming it is because there needs to be some settings changed in the admin.  When I try to login into the admin, I put in the username and password and submit, and it doesn’t go to any other page.  It just stays on the login page.  If I put a wrong password or username in, it tells me, so I know it is using the database. 

    What am I missing?

    Live site: http://www.indyhub.org
    Test Site: http://www.senojeel.com/ihub (reuploading the database so there is nothing there right now)

    Thanks!
    Shawn

    Moved to EE1 Support by Moderator

  • #2 / May 10, 2011 9:46am

    Sue Crocker

    26054 posts

    Hi, Shawn.

    I did notice you don’t have your css declarations in your templates.

    Old site:

    <link rel="stylesheet" href="http://174.120.62.66/~indyhub/reset.css" type="text/css" />
    <link rel="stylesheet" href="http://www.indyhub.org/?css=styles/styles.v.1302200016" type="text/css" />

    Also if you look at the new site, your doctype is missing as well.

    As far as logging in goes, it might be easiest to switch to sessions only inside your config.php

    $conf['admin_session_type'] = "s";

    See if that helps.

  • #3 / May 10, 2011 10:21am

    senojeel

    24 posts

    Thanks Sue,

    The templates save to files, so I did go in and change the links to the style sheets, but the changes didn’t take.  And since I can’t get into the admin, I can’t change them that way.  I haven’t changed any other files that I have moved over except for the files that most posts has said to change. Not sure why there is no doctype. So it makes me think that the settings aren’t getting pulled in from the db.  But then the content is.

    Add the $conf line and there is no change in the admin.

    More ideas?

  • #4 / May 10, 2011 4:13pm

    senojeel

    24 posts

    Some success now.  I added some $conf lines to my config.php.  I can now log into the control panel with themes.  Front end still has no formatting, but hopefully now I can fix that since I am in the admin.

  • #5 / May 10, 2011 5:27pm

    senojeel

    24 posts

    It seems like none of the EE tags are being interpreted. An ideas on why that would happen?

  • #6 / May 10, 2011 11:10pm

    senojeel

    24 posts

    I have this all figured out now.  2 things were wrong. I had the path slightly incorrect to the template_files directory.  On my transfer, the bridges directory did not get uploaded.  Figured this out by looking at my server logs and saw that it couldn’t find a file in the the bridges directory.  So I think I am good to go.

    Shawn

  • #7 / May 11, 2011 5:48pm

    Sue Crocker

    26054 posts

    Yay! Glad things are working for you again. Don’t hesitate to post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases