Drupal Commons安装错误

发布于 2024-12-09 21:00:15 字数 948 浏览 0 评论 0原文

我正在尝试从 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

羁拥 2024-12-16 21:00:15

我第一次尝试在本地安装 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!

如若梦似彩虹 2024-12-16 21:00:15

这意味着 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 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 2024-12-16 21:00:15

我也面临同样的问题。
但是通过将 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

Please continue to the error page

it'll redirect to Configure to site.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文