Drupal Commons安装错误
我正在尝试从 acquia 安装 drupal Commons,每次尝试安装时都会收到一条错误消息,提示
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),但仍然没有成功。
如果你们中有人遇到同样的安装问题并且安装成功,请告诉我。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我第一次尝试在本地安装 Commons 时遇到了问题,更改 PHP 内存限制解决了它......希望这有帮助!
I've had problems the first time I tried to install Commons locally, changing the PHP memory limit solved it... Hope this helps!
这意味着 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.inc
文件中,导致 Drupal 找不到它。您可以在此处找到一份此类报告。希望有帮助
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 thecontext_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
我也面临同样的问题。
但是通过将 php_execution_time 更改为 120 解决了这个问题。
然后点击
它将重定向到配置到站点。
I also face same problem.
But it was solved by changing the php_execution_time to 120.
and then click on
it'll redirect to Configure to site.