Problem with porting to a new host

cliff98109's picture

Another question from the noob, ignore if not interested.

I finally got tired of the lag time associated with developing on a remote host (arvixe) and decided to re-host on my laptop. I exported the database from mysql on arvixe, ftped (binary) to my laptop, and imported it into mysql there. I did a fresh drupal installation on a dummy database (which came up fine) and changed settings.php to point to the ported database.

When I installed drupal on Arvixe I used their installation script which automatically prepends "dr_" onto the beginning of the table names. Apparently this is incompatible with the standard drupal installation I had on my laptop, so I re-named all the table names to remove "dr_".

Now I'm getting the white screen of death on the drupal start page. I've cleared the browser cache and re-started the local server (EasyPHP), and checked with drupal.org (https://drupal.org/node/158043) with no luck.

Anyone have any experience with a similar problem?

Comments

You'll may need to clear your

Paul Kim Consulting's picture

You'll may need to clear your cache manually (empty out cache* tables), or even do a registry rebuild.

Try that, if that doesn't work, you can go back to dr_ table prefixes, and edit $databases variable in your settings.php to add the table prefix according to https://drupal.org/node/1096962

If I'm not mistaken, and

Timon Davis's picture

If I'm not mistaken, and assuming we're talking about drupal 7, you could try going into sites/default/settings.php (from the webroot on your system). On about line 224 (typically), in the Database definition array, there is a field for 'prefix' which has nothing in it by default. Try putting your prefix string in there and see if that helps. I hope it does!

Thanks guys!

cliff98109's picture

I suspect I had other problems since your suggestions didn't work (somehow missed the prefix option in settings.php). I exported the database again using the backup and migrate module which seemed to do the trick. I know it doesn't export the cache tables, maybe there are other things it leaves out as well.

Seattle

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week