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 win11家庭中文版安装docker遇到Hyper-V启用失败解决办法整理
  • ¥15 gradio的web端页面格式不对的问题
  • ¥15 求大家看看Nonce如何配置
  • ¥15 Matlab怎么求解含参的二重积分?
  • ¥15 苹果手机突然连不上wifi了?
  • ¥15 cgictest.cgi文件无法访问
  • ¥20 删除和修改功能无法调用
  • ¥15 kafka topic 所有分副本数修改
  • ¥15 小程序中fit格式等运动数据文件怎样实现可视化?(包含心率信息))
  • ¥15 如何利用mmdetection3d中的get_flops.py文件计算fcos3d方法的flops?