質問

I am trying to install drupal Commons from acquia, every time I try to install i get an error which says

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 /> 

I am using XAMPP on my home computer. I tried with different versions of PHP(5.2.9 and 5.3) but still no luck.

Please let me know if any of you ahd the same installation issue and was successful in installing it.

役に立ちましたか?

解決

I've had problems the first time I tried to install Commons locally, changing the PHP memory limit solved it... Hope this helps!

他のヒント

It means that the file PHP is trying to include (./profiles/drupal_commons/modules/contrib/context/plugins/context_condition_context.inc) isn't found, or the web server doesn't have sufficient permissions to read it.

Check in /profiles/drupal_commons/modules/contrib/context/plugins/ to make sure that the context_condition_context.inc file exists and that the web server can read it (shouldn't really be an issue using XAMPP).

Some people have reported seeing some strange file extensions being added to the context_condition_context.inc file which causes Drupal not to find it. You can find one such report here.

Hope that helps

I also face same problem. But it was solved by changing the php_execution_time to 120. and then click on

Please continue to the error page

it'll redirect to Configure to site.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top