2016-04-04 07:28
浏览 45

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/
(include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/commons/
profiles/commons/modules/contrib/ctools/includes/ on line 477

I don't understand the error.


图片转代码服务由CSDN问答提供 功能建议

所以我不得不在AWS上将drupal commons站点从一台服务器迁移到另一台服务器。 我一边导出数据库,另一边使用phpmyadmin将其导入,然后将安装文件夹从一台服务器复制到另一台服务器。 当我尝试访问该网站时,我收到一个php致命错误:

  PHP致命错误:require_once():无法打开所需的'/ usr / share / 
commons / profiles /  / usr / share / commons / 
profiles /中的commons / modules / contrib / file_entity / plugins / entity /'
(include_path ='。:/ usr / share / php:/ usr / share / pear') 第477行的commons / modules / contrib / ctools / includes / 

我不明白错误。 < p>谢谢

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 收藏
  • 邀请回答

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
    解决 无用
    打赏 举报

相关推荐 更多相似问题