私はCodeigniter 1.7.2をWampで開発しました。今私はIIS 7でホストしようとしています(yes IIS!私に提供されているコントロールパネルにはIISしかないので)エラーが出ています。これは私が得るものです: -コードイグナイタの展開IIS 7での1.7.2アプリケーション
Warning: require(system/codeigniter/Common.php) [function.require]: failed to open stream: No such file or directory in c:\abc\wwwroot\system\codeigniter\CodeIgniter.php on line 38
Warning: require(system/codeigniter/Common.php) [function.require]: failed to open stream: No such file or directory in c:\abc\wwwroot\system\codeigniter\CodeIgniter.php on line 38
Fatal error: require() [function.require]: Failed opening required 'system/codeigniter/Common.php' (include_path='C:\Program Files (x86)\PHP\pear;./;./includes;./pear') in c:\abc\wwwroot\system\codeigniter\CodeIgniter.php on line 38
言うまでもなく、私はそれが与えているものにエラー全く混乱していますと言って、私はそれを解決するために何をすべき。
私を助けてください。私はすでにそれをgoogled、それはいくつかのhtaccessの問題があることがわかった。これは私のhtaccessファイルです: -
Options +FollowSymLinks
IndexIgnore */*
<ifmodule mod_rewrite.c>
RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule ^(.*)$ index.php/$1 [L]
</ifmodule>
私はそれを変換し、web.configファイルに何を書くのか分かりません。どんな助けもありがとう。私はwebsitepanel
をウェブサイトの展開に使用しています。事前に
感謝:)
「/」ではなく「\」の使い方と同じように見えますが、やはり私はIISの人ではないので、私は実際には分かりません。 – jondavidjohn
'c:\ abc \ wwwroot \ system \ codeigniter \ CodeIgniter.phpの38行目のファイルやディレクトリはありません。正しいディレクトリのすべてのファイルですか? – Ross
@ロス: - そうです。そのようなファイルやディレクトリは間違ったメッセージです。私は単純に自分のフォルダ構造をサーバにコピーして、Common.phpとCodeIgniter.phpがサーバ上に存在することを二重チェックしました。 – TCM