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.

All my pages are gibberish after moving to another server

May 03, 2011 9:04pm

Subscribe [3]
  • #1 / May 03, 2011 9:04pm

    bitsculptor

    30 posts

    Hey Folks,

    I’m trying to move my EE site from one host to another. Everything seems fine (Control Panel works great, I can edit content etc) but all the templates just display gibberish. See http://gracechurchkelseyville.bitsculptor.com/go as an example

    I tried just making an “Hello world” template that only spit out that text—but it just spit out gibberish (a small amount, but still gibberish).

    Any ideas?

  • #2 / May 03, 2011 9:08pm

    bitsculptor

    30 posts

    Here’s my “Hello world” page, if it helps: http://gracechurchkelseyville.bitsculptor.com/go/test

  • #3 / May 04, 2011 6:30am

    John Henry Donovan

    12339 posts

    eschlange,

    Can you walk us through the steps you used to move to the new host please?
    Specifically how you moved the database itself
    Can you run our Server Wizard on the new host and make sure it meets our requirements

    What version and build of EE are you running?

  • #4 / May 04, 2011 1:05pm

    bitsculptor

    30 posts

    Hi John,

    I used phpMyAdmin on the old and new servers. Exported it from the old as a compressed file with mySQL 4.0 compatibility (because the uncompressed was too large to import, and I had a funky SQL statement error when importing it without the compatibility thing). Imported it with mySQL 4.0 compatibility on the new server.

    Just ran the wizard, and it said everything looks good. This site is on EE version 1.7.1

    I’m thinking it HAS to be something with the db. I just set up an EE 2.x site on the same server and it’s working fine.

  • #5 / May 04, 2011 1:14pm

    bitsculptor

    30 posts

    I just tried redoing the export/import of the DB. This time without any compatibility, but still gzipped. Everything worked fine—except the pages are still gibberish! I’m going to try other db options now and see if it makes any difference…

  • #6 / May 04, 2011 2:08pm

    bitsculptor

    30 posts

    Haven’t figure out another way to import the db, since it’s large enough (4.5MB) that I can’t import it using phpMyAdmin unless it’s compressed.

    Both DBs are using the same collation (utf8_general_ci), and are MyISAM.

    Here are settings from the phpMyAdmin homepages on both servers.

    Old Server:
    Server version: 5.0.51a-3ubuntu5.8
    Protocol version: 10
    MySQL charset: UTF-8 Unicode (utf8)

    New Server:
    Server version: 5.1.55
    Protocol version: 10
    MySQL charset: UTF-8 Unicode (utf8)

  • #7 / May 04, 2011 2:16pm

    bitsculptor

    30 posts

    Progress!

    I unchecked “Enable GZIP Output?” from at System Preferences ›  Output and Debugging Preferences

    And now it’s at least showing page content.

  • #8 / May 04, 2011 2:57pm

    bitsculptor

    30 posts

    Alright, so I got the site pages loading properly.

    Now my last question is—how can I enable GZip output? Site’s working great, except if I enable that it goes back to gibberish.

    Any ideas?

  • #9 / May 05, 2011 7:06pm

    Brandon Jones

    5500 posts

    eschlange,

    When viewing the “Hello World” test link you provided I see your server responds with

    Content-Encoding:gzip

    so it appears to already be GZipped regardless of EE’s setting. Enabling GZip in EE is actually compressing the data twice, which will give the symptoms you saw earlier. Is everything else working for you?

  • #10 / May 05, 2011 7:16pm

    bitsculptor

    30 posts

    Everything else is, Brandon.

    You are correct. GZip was enabled on the server. So I guess I can just leave that setting unchecked in EE, eh?

  • #11 / May 06, 2011 8:21am

    John Henry Donovan

    12339 posts

    eschlange, yes leaving unchecked will be a suitable solution. Did you have any more questions regarding this topic or are you happy for us to close this one out?

  • #12 / May 06, 2011 1:03pm

    bitsculptor

    30 posts

    Happy to have it closed. Thanks!

  • #13 / May 06, 2011 6:18pm

    Brandon Jones

    5500 posts

    Cool. Thanks eschlange!

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

ExpressionEngine News!

#eecms, #events, #releases