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 gone awry

March 02, 2012 10:53am

Subscribe [2]
  • #1 / Mar 02, 2012 10:53am

    nathanzachary

    11 posts

    Hello all,

    I have set up a few EE instances for various clients on my servers, and haven’t had any issues.  However, when migrating a new client’s EE instance to one of my servers last night, I ran into some odd problems, which I will outline below:

    1. On the previous server, it would just say domain.com in the URL bar.  On the new server it says domain.com/fireandlight/ (which I guess is the theme that they used).

    2. Some of the thumbnails in the gallery don’t appear.  The odd thing is that some of them do, and some of them don’t, even though they are all in the same folder.

    3. When clicking on any of the thumbnails in the gallery, the full image doesn’t load, but instead says “The requested content cannot be loaded.  Please try again later.”

    4. I can’t log in to the admin panel with any of the users.  Entering invalid credentials promptly states that they were wrong.  However, entering valid credentials causes the page to just hang.  The logs indicate that the last requested received a 302, but it won’t go any further.  I have tried with the s, c, and sc settings in config.php.  The Super Admin credentials seemed to work this morning.

    5. Any of the external links from within the admin panel (where it uses index.php?redirect= [or something similar to that; I forget the exact syntax]) fails.  It simply redirects to the index page.

    Are there any suggestions to fix these issues (and possibly some others)?  I simply did a full database dump and created a gzipped tar of the full htdocs/, and then imported accordingly.  If there are other suggestions for the process, please let me know.

    I would like to have this site fully functional on the new server today, if at all possible.

    Cheers,
    Nathan Zachary

  • #2 / Mar 02, 2012 8:10pm

    nathanzachary

    11 posts

    Well I have found the root of most of the problems, and corrected it.  However, two small problems remain:

    1. Any thumbnails on a subpage (domain.com/blog or domain.com/news, for example) don’t load because the relative URL is then domain.com/subpage/images/sized instead of domain.com/images/sized.

    2. The main URL still shows domain.com/fireandlight/ instead of just domain.com like on the previous server.

    Any suggestions would be greatly appreciated.

    Cheers,
    Zach

  • #3 / Mar 04, 2012 7:26am

    Sean C. Smith

    3818 posts

    Hi Zach,

    Glad to see you got most of your migration issues resolved. I’m sure we can get the last two resolved shortly.

    Re: images. /sized/ is typically used by the plugin img:sizer which has been MIA for some time now. Are you using img:sizer? If so I would recommend switching to CE Image. If you are not using imgsizer please post up your template code where you are having issues with images.

    For the second issue could you open up index.php and at line 45 which looks like $assign_to_config[‘site_url’] = ‘http://domain2.com’; uncomment this line and insert the correct value for your site. You can also double check that by going to admin > general configuration and setting URL to the root directory of your site to the same value.

    Sean

  • #4 / Mar 04, 2012 9:57am

    nathanzachary

    11 posts

    Hello Sean,

    Thanks for your reply.  I have figured out the issue with the image thumbnails as well.  We are using ED Image Resizer, and the problem was a trailing slash in the config file.

    As for the index.php suggestion, when I uncomment those lines and put in the site URL, it doesn’t resolve the problem, and also has the side-effect of stopping the CSS from rendering.

    Thanks for the help so far, and I’m open to trying any other suggestions that you may have.

    Cheers,
    Zach

  • #5 / Mar 05, 2012 7:18pm

    Sean C. Smith

    3818 posts

    Hi Nathan,

    Glad to see we are now down to one remaining issue. I would like to clarify this issue a little to better help with troubleshooting.

    When you visit http://domain.com do you see only http://domain.com or does your site automatically display http://domain.com/fireandlight/?

    If you click or view any link that is dynamically created, for example with {url_title_auto_path} or link what does the link generate (please view the source)? when you click that link does the url stay the same as the source or change to include /fireandlight/

    Could you add the following somewhere in your template and let me know where the link takes you?

    <a href="http://{site_url}">Home Page Link</a>

    Sean

  • #6 / Mar 05, 2012 7:21pm

    nathanzachary

    11 posts

    Hello Sean,

    We sorted this last issue as well (and I feel a bit dumb because of it).  There was an index.html file that we had used for testing, and it had a META redirect to point to domain.com/fireandlight.  Simply moving that file out of the way resolved the issue.

    Thank you for your offers to help; greatly appreciated!

    Cheers,
    Nathan Zachary

  • #7 / Mar 07, 2012 5:29pm

    Shane Eckert

    7174 posts

    Hello Nathan,

    I am glad to hear that Sean was able to help you!

    Have a great week.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases