Backup and Migrate Data Dump Breaks New Drupal Install

picardo - June 16, 2009 - 19:55

This is not a conversion from another software Drupal, but a straight out issue with migrating one Drupal site to a new one. I have set up my site entirely on the web, without using a local dev environment. It uses view module extensively. Recently I decided to set up a local dev environment to test new features, and I set up the server, Drupal, and finally imported the data dump using the Backup and Migrate module.

That's where the problem started.

As soon as the queries were run on my local server, it was evident there were problems. The error messages lined up, and they were with reference to views module mostly. A common error message was: views_access is missing the first argument.

Even worse, when I tried to navigate around the admin pages, the server completely blew up. It crashed and burned, and I would have to drop the database and start with a fresh install, but I would always end up at the same place.

I duplicated the production install accurately. All modules are in place, and they are enabled.

What do you think could be happening to my server?

Module versions?

ronan - June 17, 2009 - 15:35

Are you using the exact same versions of all of the modules? If you are using two different versions of views that would cause an issue. Did you try doing another database dump from the production site in case the backup is corrupted somehow? Does the same thing happen when you transfer data using phpMyAdmin?

If you're dropping the database completely between restores then cache won't be an issue, but if not, then try clearing all of the cache tables.

------------------------------------
Ronan - Gorton Studios - http://www.gortonstudios.com/

 
 

Drupal is a registered trademark of Dries Buytaert.