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 metadata提取的PDF元数据,如何转换为一个Excel
  • ¥15 关于arduino编程toCharArray()函数的使用
  • ¥100 vc++混合CEF采用CLR方式编译报错
  • ¥15 coze 的插件输入飞书多维表格 app_token 后一直显示错误,如何解决?
  • ¥15 vite+vue3+plyr播放本地public文件夹下视频无法加载
  • ¥15 c#逐行读取txt文本,但是每一行里面数据之间空格数量不同
  • ¥50 如何openEuler 22.03上安装配置drbd
  • ¥20 ING91680C BLE5.3 芯片怎么实现串口收发数据
  • ¥15 无线连接树莓派,无法执行update,如何解决?(相关搜索:软件下载)
  • ¥15 Windows11, backspace, enter, space键失灵