dongyu9894 2014-11-12 16:01
浏览 38
已采纳

Drupal投掷空白update.php文件

I'm updating drupalfrom 7.32 to 7.33

I followed the steps here for updating drupal 7: https://www.drupal.org/node/1223018

I also followed the step that mentioned to set $update_free_access to TRUE (temporarily) while updating.

But, when I visit mysite.com/update.php it is still throwing a completely blank page.

I also verified in settings.php that:

  • the file had the database configuration values
  • Verified that actual data still existed in this database.

What gives? Are there any other solutions to fix this ? (Without having to do a complete clean install)

UPDATE Errors in error.log are:

PHP Fatal error:  Unknown: Failed opening required
PHP Warning:  Unknown: failed to open stream: Permission denied in Unknown on line 0

Thanks!

  • 写回答

1条回答 默认 最新

  • drqrdkfue521903877 2014-11-12 16:48
    关注

    This was an permissions error. I had, had all files not on 755.

    I had files having octets of 600 to 777 and they needed to be changed to 755 with:

    sudo chmod 755
    

    I followed "KeithM"'s advice on directory permissions here: https://drupal.stackexchange.com/questions/26131/correct-permission-for-site-default-and-files-folders

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

报告相同问题?

悬赏问题

  • ¥15 微信会员卡等级和折扣规则
  • ¥15 微信公众平台自制会员卡可以通过收款码收款码收款进行自动积分吗
  • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
  • ¥15 gdf格式的脑电数据如何处理matlab
  • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
  • ¥100 监控抖音用户作品更新可以微信公众号提醒
  • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
  • ¥70 2048小游戏毕设项目
  • ¥20 mysql架构,按照姓名分表
  • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分