dongxuan2015 2016-04-04 07:28
浏览 55
已采纳

Drupal Commons迁移了网站500错误

So I had to migrate a drupal commons site from one server to the other on AWS. I exported the DB on one side and imported it again on the other using phpmyadmin and copied the installation folder from one server to the other. when I try to visit the site I get a php fatal error:

PHP Fatal error:  require_once(): Failed opening required '/usr/share/
commons/profiles/commons/modules/contrib/file_entity/plugins/entity/file.inc'          
(include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/commons/
profiles/commons/modules/contrib/ctools/includes/plugins.inc on line 477

I don't understand the error.

Thanks

  • 写回答

1条回答 默认 最新

  • dte66654 2016-04-11 02:03
    关注

    Use backup&migrate module for easy migration.

    1. Zip and copy all files to new server
    2. Backup your database in file with backup&migrate module
    3. Install old site on new server (run install.php and follow steps - you should probably change settings in /sites/default/setings.php file )
    4. Go on /admin/modules and enable backup and migrate
    5. Go on /admin/config/system/backup_migrate/restore upload your backup file and click restore button
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?