Drupal 7 的基本文件结构是什么?站点文件存放在哪里?
我需要移动 Drupal 站点。我获得了三个 zip 文件:
- code.tar.gz
- db.tar.gz
- files.tar.gz (这是图像和一些 CSS 文件)
“文件”的内容是否以某种方式进入代码结构内部(可能在 /网站)?或者代码和文件的内容是否被转储到根文件夹中?我不知道他们为什么给我单独的文件。
我对 Drupal 没有经验,并尝试将其全部放入根目录中,但它引发了错误,我想我最好先检查结构。该网站尚未上线。只是想把这一切联系起来。
PDOException: SQLSTATE[HY000] [1045] 在 lock_may_be_available() 中拒绝用户“root”@“localhost”(使用密码:YES)访问(/home/xxx/public_html/includes/lock.inc 的第 167 行)。
I need to move a Drupal site. I was provided three zip files:
- code.tar.gz
- db.tar.gz
- files.tar.gz (this is images and a few CSS files)
Does the content of the "files" go inside the code structure somehow (maybe in /sites)? Or does the contents of the code and files get dumped in the root folder? I don't know why they gave me separate files.
I am not experienced with Drupal and tried putting it all into the root, but it's throwing an error and I thought I'd better check the structure first. The site isn't live yet. Just trying to connect it all.
PDOException: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) in lock_may_be_available() (line 167 of /home/xxx/public_html/includes/lock.inc).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想您可以在他们的网站上查看 Drupal 目录结构指南。
它应该为您提供所有知识来预热您的项目
I guess you could give a look to Drupal directory Structure's guide on their website.
It should provide you all the knowledge to warmup your project