简体   繁体   English

Drupal 7-将多站点设置迁移到实时服务器

[英]Drupal 7 - Migrate multisite setup to live server

So I have developed a drupal site long ago and now I wanted new site with same drupal 7 . 所以我很久以前就开发了一个drupal站点,现在我想要一个具有相同drupal 7新站点。 So I use multisite feature to develop new site. 因此,我使用多站点功能来开发新站点。 I have created it in staging server and now I want to migrate the setup to live server. 我已经在staging server创建了它,现在我想将安装程序迁移到实时服务器。

I follow following steps 我按照以下步骤

  1. Export the staging server database. 导出登台服务器数据库。
  2. Download all the folders of drupal via FTP. 通过FTP下载drupal的所有文件夹。
  3. Create new database on live server. 在实时服务器上创建新的数据库。
  4. Import staging server database to live server. 将登台服务器数据库导入实时服务器。
  5. Change setting.php file with new database settings, base url and domain setting. 使用新的数据库设置,基本URL和域设置更改setting.php文件。
  6. Change the domain name in database domain table to live.server.com 将数据库域表中的域名更改为live.server.com

After performing this steps, I think it should run. 执行完此步骤后,我认为它应该运行。 But my guess is wrong. 但是我的猜测是错误的。 It gives me blank page. 它给了我空白页。 Even the strange thing is if I echo 'testing'; 甚至奇怪的是,如果我echo 'testing'; in /sites/new.domain.com/template/page--front.tpl.php its not reflecting the change. /sites/new.domain.com/template/page--front.tpl.php它不反映更改。

What am I missing here? 我在这里想念什么? Any help will be appreciate. 任何帮助将不胜感激。

Thanks in advance. 提前致谢。 Jay Stepin. 杰伊·斯蒂芬

1 - Check if you have all modules on live server 1-检查是否在实时服务器上具有所有模块

2 - Clear all cache in database , truncate all tables who begin by "cache" (you can use drush too : drush cc all) 2-清除数据库中的所有缓存,截断以“ cache”开头的所有表(您也可以使用drush:drush cc all)

3 - Use drush registry rebuild (drush rr) 3-使用Drush注册表重建(Drush RR)

4 - Use drush to see logs 4-使用草木查看日志

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM