简体   繁体   English

Drupal 7 的基本文件结构是什么?站点文件 go 在哪里?

[英]What is the basic file structure for Drupal 7 and where do the sites files go?

I need to move a Drupal site.我需要移动一个 Drupal 站点。 I was provided three zip files:我获得了三个 zip 文件:

  • code.tar.gz代码.tar.gz
  • db.tar.gz数据库.tar.gz
  • files.tar.gz (this is images and a few CSS files) files.tar.gz(这是图像和一些 CSS 文件)

Does the content of the "files" go inside the code structure somehow (maybe in /sites)?代码结构中的“文件”go 的内容是否以某种方式(可能在 /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.我对 Drupal 没有经验,并尝试将其全部放入根目录,但它抛出了一个错误,我想我最好先检查一下结构。 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). PDOException: SQLSTATE[HY000] [1045] lock_may_be_available()(/home/xxx/public_html/includes/lock.inc 的第 167 行)中的用户 'root'@'localhost'(使用密码:YES)的访问被拒绝。

I guess you could give a look to Drupal directory Structure's guide on their website.我想你可以看看他们网站上的Drupal 目录结构指南

It should provide you all the knowledge to warmup your project它应该为您提供热身项目的所有知识

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 FTP到Drupal网站/默认/文件权限错误 - FTP to Drupal sites/default/files permission error Drupal 7文件系统错误:目录sites / default / files存在但不可写,无法写入 - Drupal 7 file system error: The directory sites/default/files exists but is not writable and could not be made writable Sites / default / files / *下的Drupal html文件正在下载但正在执行 - Drupal html files under sites/default/files/* is downloading but executing Drupal 7中自定义模块的文件结构 - File structure for custom modules in Drupal 7 我在/ sites / default / files /中的tmp文件夹在DRUPAL 7中没有自动清除 - My tmp folder in /sites/default/files/ doesnt auto clear in DRUPAL 7 Drupal 7安装错误-目录站点/默认目录/文件不存在 - Drupal 7 Install Error - The directory sites/default/files does not exist Drupal - 目录 sites/default/files 存在但不可写且无法设为可写 - Drupal - The directory sites/default/files exists but is not writable and could not be made writable 不允许:/ sites / default / files /对我的Drupal网站不起作用 - Disallow: /sites/default/files/ not working for my Drupal Website Drupal 7-使用站点/默认文件/文件时,.htaccess位于域名之前 - Drupal 7 - .htaccess prepend the domain when sites/default/files is used 无法在Drupal的站点/默认文件/文件内的文件夹中生成图像 - Images not generating in folders inside sites/default/files in drupal
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM