2011-06-30 8 views
0

私はDrupal 6.19をxampp SUBDIRECTORYにローカルにインストールしました。画像が壊れていることを除いてすべてが素晴らしい作品です。作成されているパスに、Drupalがインストールされているサブディレクトリがありません。Xampp local Drupalインストールイメージパスの問題

パスで始まる必要があります。

http://localhost/drupal6.19/sites/default/files/

代わり http://localhost/sites/default/filesです。

私は設定のphpファイルにベースURLを設定しようとした私のキャッシュをクリアしました:

$base_url = 'http://localhost/drupal6.19';

は動作しませんでした。

# RewriteBase /drupal6.19

何も:私はまたのhtaccessファイルに次の行をコメント解除し、キャッシュをクリアしようとしました。

アイデアが不足しています。どんな助け?

私はすでにコンテンツの移行やサイトの設定に多くの時間を費やしているため、クリーンインストールは行いません。何とかこの問題を修正する必要があります...

答えて

0

hostsファイルで何か変更しましたか? C:\ Windows \ System32 \ drivers \ etcにあります。ファイルの内容は次のようになります

# Copyright (c) 1993-2009 Microsoft Corp. 
# 
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows. 
# 
# This file contains the mappings of IP addresses to host names. Each 
# entry should be kept on an individual line. The IP address should 
# be placed in the first column followed by the corresponding host name. 
# The IP address and the host name should be separated by at least one 
# space. 
# 
# Additionally, comments (such as these) may be inserted on individual 
# lines or following the machine name denoted by a '#' symbol. 
# 
# For example: 
# 
#  102.54.94.97  rhino.acme.com   # source server 
#  38.25.63.10  x.acme.com    # x client host 

# localhost name resolution is handled within DNS itself. 
# 127.0.0.1  localhost 
# ::1    localhost 
関連する問題