0

acquiaからdrupalCommonsをインストールしようとしていますが、インストールしようとするたびに、次のようなエラーが発生します。

Installing Commons

The installation has encountered an error.
Please continue to the error page
An error occurred. http://localhost/common/commons/install.php?locale=&profile=drupal_commons&id=1&op=do <br /> <b>Fatal error</b>: require_once() [<a href='function.require'>function.require</a>]: Failed opening required './profiles/drupal_commons/modules/contrib/context/plugins/context_condition_context.inc' (include_path='.;C:\Documents and Settings\jkancher\My Documents\Downloads\xampp\php\pear\') in <b>C:\Documents and Settings\jkancher\My Documents\Downloads\xampp\htdocs\common\commons\profiles\drupal_commons\modules\contrib\ctools\includes\plugins.inc</b> on line <b>747</b><br /> 

自宅のコンピューターでXAMPPを使用しています。異なるバージョンのPHP(5.2.9と5.3)で試しましたが、それでもうまくいきませんでした。

同じインストールの問題があり、インストールに成功した場合はお知らせください。

4

3 に答える 3

0

これは、PHPがインクルードしようとしているファイル(./profiles/drupal_commons/modules/contrib/context/plugins/context_condition_context.inc)が見つからないか、Webサーバーにそれを読み取るための十分な権限がないことを意味します。

チェックイン/profiles/drupal_commons/modules/contrib/context/plugins/して、context_condition_context.incファイルが存在し、Webサーバーがファイルを読み取れることを確認します(XAMPPを使用しても実際には問題にはなりません)。

一部の人々は、context_condition_context.incDrupalがそれを見つけられない原因となるいくつかの奇妙なファイル拡張子がファイルに追加されているのを見たと報告しています。そのようなレポートの1つをここで見つけることができます。

お役に立てば幸い

于 2011-10-14T15:00:27.310 に答える
0

Commonsをローカルにインストールしようとしたときに初めて問題が発生し、PHPのメモリ制限を変更することで解決しました...これがお役に立てば幸いです。

于 2011-10-14T19:55:24.337 に答える
0

私も同じ問題に直面しています。しかし、php_execution_timeを120に変更することで解決しました。次に、をクリックします。

エラーページに進んでください

[サイトに構成]にリダイレクトされます。

于 2015-05-12T18:34:51.157 に答える