Drupal migration SQL fixes
If you are migrating from a single instance of Drupal to a multi-site installation, you may encounter a problem or two along the way in terms of certain things breaking as they aren’t where they used to be. Since Drupal is almost solely reliant upon the database during it’s bootstrap process, more often than not if something is misconfigured you can end up with the white screen of death (which neither PHP or Apache will be able to pick up)
Theme fixing… (http://drupal.org/node/200774)
UPDATE system SET status=1 WHERE name = ‘garland’;
UPDATE variable SET value=’s:7:”garland”‘ WHERE name = ‘theme_default’;
TRUNCATE cache;
Files fixing… (http://flevour.net/blog/drupal-changing-files-directory-configuration-setting)
UPDATE `files` SET `filepath` = REPLACE(`filepath`, “files/”, “sites/SITEDOMAIN/files/”);
Leave a comment
Categories
- Mum absolutely loves her new brooch by @zeliahorsley from @boticca http://t.co/z37HV5VA
- Building a snowman in this weather is mandatory! http://t.co/WnDHRFpz
- Finished Cycle with @cyclemeter, on a new route, time 1:30:05, 21.60 miles, see http://t.co/0pVeVeYz, average 14.38.
- RT @garrettgillas: Why Google Thinks SPYW is a Good Idea and You Probably Don’t http://t.co/at59JIK6
- It's days like this where I really, really hate commuting... exhausted
Recent Posts
- “concrete5 cannot parse the PATH_INFO or ORIG_PATH_INFO information provided by your server.”
- Enable hibernation on HP MicroServer for Windows Home Server v1
- VirtualBox Guest Additions with Shared Folders on Mac OS X
- Using PHP late static binding to define static arrays as subsets for child classes
- MySQL socket missing at /tmp/mysql.sock with Zend Server CE on Mac OS X




