Saturday, 31 August 2013

white screen on drupal subdomain after migration

white screen on drupal subdomain after migration

I am getting WSOD at subdomain1.maindomain.com. Will appreciate your help
in fixing this.
I had developed multi-sites on Acquia Dev Desktop on my local Windows 7
machine. I carried out the below steps to migrate my multi-sites to
Godaddy host:
Exported the subdomain1 database using phpmyadmin and saved it as
localhostsubdomain1.sql
After creating a database on godaddy host, with username subdomain1 and
database name subdomain1, I imported the localhostsubdomain1.sql.
Installed the Drupal 7 at the root of the godadday host.
maindoman.com, open up well.
Created subdomain folder in sites/ as subdomain1.maindomain.com.
Created subdomain in godaddy as subdoman1 and made it point to the root.
Created mysymlink.php in root with text as below:
$target = $_SERVER["DOCUMENT_ROOT"]; $link = '/subdomain1.maindomain.com';
symlink($target, $link);
Added the below line in .htaccess file in root
RewriteBase / RedirectMatch 301 ^/subdomain1/(.*)$
http://subdomain1.maindomain.com/$1
Copied the files in localhost sites/subdomain1.maindomain.com folder to
godaddy host /sites/subdomain1.maindomain.com folder.
Made the following changes to the file settings.php in
/sites/subdomain1.maindomain.com
$databases = array ( 'default' => array ( 'default' => array ( 'database'
=> 'subdomain1', 'username' => 'subdomain1', 'password' => 'subdomain1',
'host' => 'subdomain1.db.11551580.hostedresource.com', 'port' => '',
'driver' => 'mysql', 'prefix' => '', ), ), );
I am getting WSOD at subdomain1.maindomain.com
Thank you in advance.

No comments:

Post a Comment