我在xampp 1.7.1上运行Drupal6。PHP版本5.2.9问题是,当我加载Drupal6站点时,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();
*/如果我注释最后一部分,其他部分和页脚部分,我会得到一个白屏。如果我取消对它的注释,Apache crashes.I,我不知道发生了什么。我将实时站点下载到我的本地主机上,更改了设置中的db_url,然后得到了以下内容。你有什么想法吗?
发布于 2012-05-18 02:02:14
你能列出网站中使用的模块吗?
还可以尝试将exit放在所有模块的init钩子中。
你能正常运行update.php吗?
发布于 2012-07-09 15:56:40
我也遇到过类似的问题。然后我升级了我的Apache安装(我使用的是xampp),这个问题被解决了。
https://stackoverflow.com/questions/10636516
复制相似问题