1

我在 xampp 1.7.1 上运行 drupal 6。PHP 版本 5.2.9 问题是当我加载一个 drupal 6 站点时 Apache 崩溃了。

问题签名:问题事件名称:APPCRASH 应用程序名称:httpd.exe 应用程序版本:2.2.11.0 应用程序时间戳:493f5d44 故障模块名称:php5ts.dll 故障模块版本:5.2.9.9 故障模块时间戳:49a56925 异常代码:c00000fd 异常偏移量: 00151f11 操作系统版本:6.1.7600.2.0.0.256.48 区域设置 ID:1033

我可以毫无问题地运行 cron.php。这是我的 index.php 代码。

 require_once './includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);


$return = menu_execute_active_handler();



// Menu status constants are integers; page content is a string.

if (is_int($return)) {
  switch ($return) {
    case MENU_NOT_FOUND:

      drupal_not_found();
      break;
    case MENU_ACCESS_DENIED:
      drupal_access_denied();
      break;
    case MENU_SITE_OFFLINE:

      drupal_site_offline();
      break;

  }
}


/*
elseif (isset($return)) {
    echo $return;
  // Print any value (including an empty string) except NULL or undefined:
 print theme('page', $return);
}

drupal_page_footer();
*/

如果我评论最后一点,elseif 和页脚部分我会得到一个白屏。如果我取消注释它 Apache 崩溃。我不知道发生了什么。我将实时站点下载到我的本地主机,从设置中更改了 db_url,我得到了这个。你有什么想法 ?

4

2 回答 2

0

我有一个类似的问题。然后我升级了我的 Apache 安装(我使用的是 xampp)并解决了。

于 2012-07-09T07:56:40.287 回答
0

你能列出网站中使用的模块吗?
还可以尝试将 exit 放入所有模块的 init 钩子中。

你能正确运行 update.php 吗?

于 2012-05-17T18:02:14.490 回答