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!

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

我正在将drupal从7.32更新为7.33

我按照这里的步骤进行操作 更新drupal 7: https://www.drupal.org/node/1223018 < / p>

我还按照上面提到的步骤在更新时将 $ update_free_access 设置为 TRUE (暂时)。 \ n

但是,当我访问mysite.com/update.php时,它仍然会抛出一个完全空白的页面。

我还在 settings.php中验证了 那个:

  • 该文件具有数据库配置值
  • 已验证该数据库中仍存在实际数据。

    给出了什么? 有没有其他解决方案来解决这个问题? (无需进行完整的全新安装)

    UPDATE error.log 中的错误:

      PHP致命错误:未知:需要打开失败
     
    PHP警告:未知:无法打开流:第0行的未知权限被拒绝
       
     
     <  p>谢谢! 
     
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

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

    已采纳该答案
    打赏 评论

相关推荐 更多相似问题