Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个网站,pantheon我想将此网站复制到本地,所以我创建了一个数据库,然后从数据库的备份并使用命令行我能够将备份导入到本地创建的数据库中,我还克隆了通过运行命令来编写代码git clone,然后我sftp在控制台上使用复制了文件,我可以看到一些
pantheon
git clone
sftp
mkdir : No such file or directory
但没有错误
最后,当我尝试打开网站时,它打开时没有错误,但也没有样式,没有图像,只有内容。
我错过了什么?
我认为您缺少从服务器复制文件。哪个在site/default/files. 如果您无法下载目录,请检查服务器上的权限。默认情况下,Drupal 将所有图像和图像样式存储在中,sites/default/files或者您可以通过config>media>file system. 如果您有所有图像但它们没有显示在前端,那么只需更新路径config>media>file system并保存。
site/default/files
sites/default/files
config>media>file system