Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Error message Warning: file_put_contents(public:///.htaccess): failed to open stream: "DrupalPublicStreamWrapper::stream_open" call failed in file_create_htaccess() (line 494 of /Users/tangmonk/MyGit/Drupal/wenxiong/includes/file.inc).
Comments
Comment #1
David_Rothstein CreditAttribution: David_Rothstein commentedWhat are the steps to reproduce this - is it repeatable every time? When during the installation does it happen?
It sounds like a server issue with the permissions on the public files directory not being set correctly, although usually Drupal won't let you get too far in the installation if the appropriate file permissions aren't set. However it's possible we're missing some kind of check here.
Comment #2
TangMonk CreditAttribution: TangMonk commented