2012-05-17 63 views
1

我在xampp 1.7.1上運行drupal 6。 PHP版本5.2.9 問題是,當我加載drupal 6網站時,Apache崩潰。drupal 6崩潰apache運行xampp

問題簽名: 問題事件名稱:APPCRASH 應用名稱:httpd.exe 應用程序版本:2.2.11.0 應用程序時間戳:493f5d44 故障模塊名稱: 的php5ts.dll故障模塊版本:5.2.9.9 故障模塊時間戳:49a56925 異常代碼:C00000FD 異常偏移:00151f11 OS版本: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崩潰。我不知道發生了什麼。 我將live網站下載到我的localhost,從設置中更改了db_url,並且我得到了這個。 你有什麼想法嗎?

回答

0

你能列出網站中使用的模塊嗎?
也嘗試把退出在所有模塊的init鉤子。

你可以正確運行update.php嗎?

0

我有類似的問題。然後我升級了我的Apache安裝(我正在使用xampp)並解決了問題。