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 Pyqt 如何正确的关掉Qthread,并且释放其中的锁?
  • ¥30 网站服务器通过node.js部署了一个项目!前端访问失败
  • ¥15 WPS访问权限不足怎么解决
  • ¥15 java幂等控制问题
  • ¥15 海湾GST-DJ-N500
  • ¥15 氧化掩蔽层与注入条件关系
  • ¥15 Django DRF 如何反序列化得到Python对象类型数据
  • ¥15 多数据源与Hystrix的冲突
  • ¥15 如何在线硕士了解,广告太多,希望有真实接触过的人回答下?(标签-学习|关键词-在线硕士)
  • ¥15 zabbix6.4与frp如何进行联动