dongluan1743 2015-09-01 10:13
浏览 30
已采纳

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

So I have developed a drupal site long ago and now I wanted new site with same 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.

I follow following steps

  1. Export the staging server database.
  2. Download all the folders of drupal via FTP.
  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.
  6. Change the domain name in database domain table to 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'; in /sites/new.domain.com/template/page--front.tpl.php its not reflecting the change.

What am I missing here? Any help will be appreciate.

Thanks in advance. Jay Stepin.

  • 写回答

1条回答 默认 最新

  • dongruan6001 2015-09-08 15:26
    关注

    1 - Check if you have all modules on live server

    2 - Clear all cache in database , truncate all tables who begin by "cache" (you can use drush too : drush cc all)

    3 - Use drush registry rebuild (drush rr)

    4 - Use drush to see logs

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 echarts动画效果的问题,请帮我添加一个动画。不要机器人回答。
  • ¥60 许可证msc licensing软件报错显示已有相同版本软件,但是下一步显示无法读取日志目录。
  • ¥15 Attention is all you need 的代码运行
  • ¥15 一个服务器已经有一个系统了如果用usb再装一个系统,原来的系统会被覆盖掉吗
  • ¥15 使用esm_msa1_t12_100M_UR50S蛋白质语言模型进行零样本预测时,终端显示出了sequence handled的进度条,但是并不出结果就自动终止回到命令提示行了是怎么回事:
  • ¥15 前置放大电路与功率放大电路相连放大倍数出现问题
  • ¥30 关于<main>标签页面跳转的问题
  • ¥80 部署运行web自动化项目
  • ¥15 腾讯云如何建立同一个项目中物模型之间的联系
  • ¥30 VMware 云桌面水印如何添加