将 drupal 网站从服务器迁移到本地主机后没有显示图像
No images are being displayed after migrating drupal website from server to local host
我正在尝试在我的本地主机上复制 drupal 网站。我已经从 public_html 文件夹和 mysql 数据库中复制了所有文件。我还在 settings.php 文件中更新了我的数据库详细信息,并删除了站点文件夹下的 .htaccess 文件的所有内容。但我仍然无法打击。请提出一些解决方案。
N.B: 还尝试刷新缓存。
Please check your network information with your debug window of the
browser. then you can identify loading failed resources. so you can
troubleshoot your self.
查看网络资源信息google chrome.
转到菜单 -> 更多工具 -> 开发人员工具,然后单击 Network
选项卡。再次刷新页面。然后你的资源会如下列出。
Make sure your base_url
is defined and all thr content are copyed successfully.
- 使用 phpMyAdmin
设置测试站点数据库
- 在备份的 Drupal 文件中更改
settings.php
(或 includes/conf.php)。
- 将备份的 Drupal 文件上传到服务器上的测试站点文件夹
- 检查您的测试站点是否有效。
- 为基本步骤做好准备。
我正在尝试在我的本地主机上复制 drupal 网站。我已经从 public_html 文件夹和 mysql 数据库中复制了所有文件。我还在 settings.php 文件中更新了我的数据库详细信息,并删除了站点文件夹下的 .htaccess 文件的所有内容。但我仍然无法打击。请提出一些解决方案。
N.B: 还尝试刷新缓存。
Please check your network information with your debug window of the browser. then you can identify loading failed resources. so you can troubleshoot your self.
查看网络资源信息google chrome.
转到菜单 -> 更多工具 -> 开发人员工具,然后单击 Network
选项卡。再次刷新页面。然后你的资源会如下列出。
Make sure your
base_url
is defined and all thr content are copyed successfully.
- 使用 phpMyAdmin 设置测试站点数据库
- 在备份的 Drupal 文件中更改
settings.php
(或 includes/conf.php)。 - 将备份的 Drupal 文件上传到服务器上的测试站点文件夹
- 检查您的测试站点是否有效。
- 为基本步骤做好准备。