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

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

报告相同问题?

悬赏问题

  • ¥30 vb net 使用 sendMessage 如何输入鼠标坐标
  • ¥200 求能开发抖音自动回复卡片的软件
  • ¥15 关于freesurfer使用freeview可视化的问题
  • ¥100 谁能在荣耀自带系统MagicOS版本下,隐藏手机桌面图标?
  • ¥15 求SC-LIWC词典!
  • ¥20 有关esp8266连接阿里云
  • ¥15 C# 调用Bartender打印机打印
  • ¥15 我这个代码哪里有问题 acm 平台上显示错误 90%,我自己运行好像没什么问题
  • ¥50 C#编程中使用printDocument类实现文字排版打印问题
  • ¥15 找会编程的帅哥美女 可以用MATLAB里面的simulink编程,用Keil5编也可以。