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.

Moved expression engine to a new sever, can't access control panel and content doesn't display on the website

April 14, 2011 8:14pm

Subscribe [4]
  • #1 / Apr 14, 2011 8:14pm

    RandyLegersky

    3 posts

    I just inherited responsibility for this server as the old one has issues and needs to be taken offline. I have not worked with expression engine before and did not set this site up. To migrate from the old server to the new one I did the following:

    Setup new apache virtual server on new server
    Moved all site related files to the new server via scp
    chowned all files to the appropriate user
    mysqldumped the database on the old server
    created new mysql database on new server
    imported (mysql -u foo -pbar ee_db < backup.sql) the mysql dump to the new database
    changed permissions on the appropriate files and directories as per the installation document
    restarted apache

    The static portions of the site load, but it doesn’t appear that the EE driven content is loading. Again, I didn’t build the site or the original server, so people who use the server are telling me this isn’t working.

    When I go to the control panel, I get the login screen. After logging in, I get a blank page.

    After turning on all of the error reporting for PHP as per the troubleshooting guide, I get a bunch of deprecation notices:
    Deprecated: Function eregi() is deprecated in…
    And header flushing warnings:
    Warning: Cannot modify header information - headers already sent by….

    But no actual errors. The php error log on the server has the same information, and E_ALL is being reported on.

    EE 1.6.7
    PHP 5.3.3
    MYSql 5.1.49
    Apache 2.2

    Please help!

  • #2 / Apr 14, 2011 9:18pm

    handyman

    509 posts

    Randy, I am not an official EE guy….just another user, but it seems to me that using a 2 or 3 year old version of EE and a brand new PHP could cause some problems! I moved to another new server lately, nut upgraded to 1.7 before I did so.

    Not exactly your bug, but an example in the bug reports….
    https://support.ellislab.com/bugs/detail/8088/

    EE does not update very old builds or versions to work with brand new MAMP stuff…....that is, the newest version of that branch is needed.

    If I were you, I’d upgrade to 1.71 on the old server - make sure it all works there, and then try the move again.

    But the EE support folks will probably have other (and maybe the same) advice.

  • #3 / Apr 14, 2011 10:29pm

    RandyLegersky

    3 posts

    Thank you for the reply.
    For various reasons not worth getting into, I don’t think we can upgrade on the old server.

    I did disable extensions in the config.php config file and was then able to get into the control panel! The dynamic content still isn’t loading on the site though. :(

  • #4 / Apr 15, 2011 12:07am

    RandyLegersky

    3 posts

    Additional info:
    After disabling extensions in config.php, as I mentioned above, I was able to get to the control panel successfully. The site content is still not loading.

    I moved everything out of the extensions directory and refreshed the extensions page in the control panel which verified that no extensions were present. I then re-enabled extensions in config.php and the control panel failed to load again, giving me not but a blank page, with nothing in the extensions directory.

  • #5 / Apr 15, 2011 7:17am

    John Henry Donovan

    12339 posts

    RandyLegersky,

    Welcome to the forums 😊

    After disabling extensions in config.php, as I mentioned above, I was able to get to the control panel successfully. The site content is still not loading.

    Keep extensions disabled for now.

    I am presuming you updated all the database details inside your config.php?
    FTP into system/cache and delete all the folders bar the index.html

    Were you saving templates as files in your previous site?

    From your original error it looks liek there is an older third-party extension with some older PHP in it having issue with your shinier version.

    If you look in your system/extensions directory what is listed?

  • #6 / Apr 15, 2011 10:05am

    RandyLegersky

    3 posts

    > I am presuming you updated all the database details inside your config.php?
    Correct. I can see the site access the mysql database as well when I turn on mysql’s general log, so that seems to be working as expected.

    >FTP into system/cache and delete all the folders bar the index.html
    I have full access to the host, so no need for ftp. I have removed all cache files with no change in symptoms, and I can see that the cache is being rebuilt as the site is accessed.

    >Were you saving templates as files in your previous site?
    I’m not sure what this means or how to answer it, as I wasn’t the one using or administering the site. How would I be able to tell?

    >If you look in your system/extensions directory what is listed?
    #ls
    ext.cp_jquery.php         ext.lg_addon_updater_ext.php ext.sitemap_pinger.php     index.html
    ext.fieldframe.php         ext.playa.php           ext.tiny_mce.php         playa
    ext.gypsy.php           ext.primary_category_ext.php fieldtypes

    As I mentioned above, even after moving all of these files elsewhere and verifying that the control panel thought there were no extensions installed, the site content still didn’t load. I did that separately from deleting the cache, should both steps be done together?

  • #7 / Apr 18, 2011 3:11pm

    Sue Crocker

    26054 posts

    Hi, Randy.

    What is in the default template group for the site?

    See the attached screen shot. In my case, the default template group is site. What is yours set to?

    When you say the site doesn’t display, do you mean the page appears blank?

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

ExpressionEngine News!

#eecms, #events, #releases