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.

Migrated EE install to new host, having some issues...

September 17, 2010 4:40pm

Subscribe [5]
  • #1 / Sep 17, 2010 4:40pm

    I have never moved an EE installation before. I had to move a client’s installation that I was working on because their host was just incompatible with things I was attempting to do.

    I took a backup of the database, and put it into the new database on the new hosting account.

    Everything seemed good at first glance. However, some of the data is showing up in the Control Panel isn’t appearing in the weblogs. There doesn’t seem to be a rhyme or reason to what is and isn’t showing up.

    New installation:
    http://clay4kids.com/index.php/classes/category/after_school/

    Old installation:
    http://jax4kids.com/index-ee.php/classes/category/after_school/

    New installation:
    http://clay4kids.com/index.php/blog/pigs

    Old installation:
    http://jax4kids.com/index-ee.php/blog/pigs

    The weblogs that power the advertisements all are working, as is the blog for the most part (full entries aren’t working). None of the entries for the listings (like 103rd Kindercare) are appearing despite the fact it is in the Control Panel. I haven’t touched any of the code, I just moved the thang to a new host. It seems to be slightly related to categories, but I’m not sure.

    Using 1.6.9

  • #2 / Sep 19, 2010 2:23pm

    Greg Salt

    3988 posts

    Hi gofreshdesign,

    Can you confirm that on the new site each of the entries has an appropriate status and that the entry and expiration dates are the same as the original site?

    Cheers

    Greg

  • #3 / Sep 19, 2010 2:45pm

    Greg,

    The entries are all dated the same as the old installation. Most of them do not have an expiration date, so that wouldn’t be an issue.

    The statuses are all set to “open”

    Katie

  • #4 / Sep 20, 2010 3:06am

    John Henry Donovan

    12339 posts

    Katie,

    Can you delete your cache manually via FTP and see if that makes a difference?
    FTP into /system/cache/ and delete all folders except for index.html

  • #5 / Sep 20, 2010 10:47am

    I have done that. The pages that are being problematic are still not working correctly.

  • #6 / Sep 20, 2010 7:58pm

    Sue Crocker

    26054 posts

    Let’s have you try the following:

    Create a new template. In that new template, put in just enough code to run the exp:weblog:entries page. What is blog/pigs, for instance?

  • #7 / Sep 29, 2010 11:46pm

    It worked when I made a very basic page with just the following code besides basic HTML (I left out numerous fields just for test purposes)

    http://clay4kids.com/index.php/testtest
    http://clay4kids.com/index.php/testtest/category/after_school/

    {exp:weblog:entries weblog="classes"}
    
    <h1>{title}</h1>
    {listingtime}
    {entry_date}
    
     {exp:word_limit total="175"}{listinginfo}{/exp:word_limit}</i></b></a></blockquote>
                           
    {/exp:weblog:entries}

    I don’t know what this means, why it works on the test page but not the page with all of the code.

    I’m not sure if this matters but the link for the Control Panel in the very top right hand corner “My Site” still links to the old site and I can’t figure out how to fix this.

  • #8 / Sep 30, 2010 10:56pm

    Lisa Wess

    20502 posts

    Hi, gfd -

    First the quick links - to the left of the quick links you should see a small pencil icon.  Click that - you’ll be taken to your quick links editor where you can update that link.

    Now, on to your code.  Since this is working in a minimized template, the way to troubleshoot it is to slowly add small chunks of your primary templates into the test template - at some point you should see the same issue, and you’ll know what chunk of code is throwing it off.

    Let us know what you find out. =)

  • #9 / Oct 10, 2010 7:21pm

    I have identified in the listing section (not blog section) the code that is causing the listings to disappear, but I don’t understand why.

    This bit of code lives between conditional statement that checks for sticky entries.

    {if listingbutton3}<a href="http://{listinglink3}">{listingbutton3}</a>{/if}
                             {if listingbutton4}<a href="http://{listinglink4}">{listingbutton4}</a>{/if}
                             {if listingbutton5}<a href="http://{listinglink5}">{listingbutton5}</a>{/if}
                                                                               
                             <a href="http://{listingurl}">{listinglogo}</a>
                             {exp:word_limit total="175"}{listinginfo}{/exp:word_limit}</i></b></a></blockquote>
                             <a href="/listing/{url_title}">/images/newwebsite/button-readmore.png</a>
                                  <!-- ================ area info ==================== -->
                                  <div class="clear sitearea">
                                       <h4 class="partoftown">{categories show_group="2" backspace="1"} {category_name}, {/categories}</h4>
                                       {categories show_group="4" backspace="1"} {category_name}, {/categories}
                                  </div>
                                  <div class="contactarea2">
                                       {listinglocation}
    
                                       {if listingph1}{listingph1} <span class="blue">|</span>{/if} {if listingph2}{listingph2} <span class="blue">|</span>{/if}{listingaddress}
                                      
    <a href="http://{listingurl}">{listingurl}</a>                     
                                  </div>
                                  <!-- ================ area info ends =============== -->
                                  
                             </div>
                        </div>
                        <!-- ========= event entry div ends ========= -->
                        <!-- ===================================== end premium event ================================= -->

    I’ve tried removing multiple portions of this code and it seems anything after the “listingbutton2” line of code that isn’t a simple paragraph tag causes the page to break. I can’t figure this out.

  • #10 / Oct 11, 2010 3:30pm

    Ingmar

    29245 posts

    Have you tried to gradually build up your template as has been suggested by Lisa? Can you narrow it down to a line / tag that breaks the template that’s been working before?

  • #11 / Oct 11, 2010 3:38pm

    That’s what I did. The problem lies in that bit of code.

    But I don’t know why. I take out portion of the code from that, but it seems any line of that code will cause the problem. Not just one.

  • #12 / Oct 12, 2010 10:50am

    Sue Crocker

    26054 posts

    What is listingbutton3? What kind of fieldtype?

  • #13 / Oct 18, 2010 1:59pm

    It was a simple fileupload.

    I got frustrated and just deleted those fields and found that the conditional if sticky was being weird too. I have now got the listings to go show up doing one weblog that shows entries with a status of “premium” and than another weblog underneath that shows status of “open” as a way to show premium listings on top of non-premium.

    I am now in the process of using Matrix and ngen File Field to redo the listing buttons. I am not understanding where all these weird bugs are coming from. I wonder if it has something to do with the website migration?

    Anyways the ngen File Field isn’t working. Instead of showing the custom field file in the code, it’s showing the code from the upload area on the create entry page and a lot of other gobbility gook! What the heck? I’ve uploaded a screenshot (http://clay4kids.com/weirderror-ngenfile.jpg) of the output HTML. Page in question: http://clay4kids.com/index.php/classes/category/acting/

    See the top entry in green.

  • #14 / Oct 19, 2010 3:37am

    John Henry Donovan

    12339 posts

    gofreshdesign,

    I see you had issues previously when upgrading to PHP5. Was this the host you migrated away from?
    Can you tell us the steps you used to migrate the site? Mainly what you did other than importing the existing database.

    Can you run our Server Wizard on this new host for piece of mind please

  • #15 / Oct 25, 2010 1:21pm

    I know for certain that the new host is compatible with EE as I use it all the time for Expression Engine sites. It’s running on PHP5.

    What I did to migrate the site was to install Expression Engine on the new host as usual.

    I think took a mysql backup from the old install. In the new install I went in the PHP My Admin and cleared the database. After uploading the backup using FTP I used SSH to import the database backup.

    I then went into the EE Control Panel an updated file paths as necessary.

    I had never done a migration before, perhaps I did it wrong. Everything seemed to go okay though (with the obvious exception of these problems I’m having.)

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

ExpressionEngine News!

#eecms, #events, #releases