簡體   English   中英

drupal 內部服務器錯誤

[英]drupal internal server error

我在我的站點中創建了一個文件夾,並在其中上傳了 drupal。 但是當我訪問它時,出現以下錯誤

    Internal Server Error

 The server encountered an internal error or misconfiguration and was unable 
to complete your request.

 Please contact the server administrator, webmaster@xxxxxx.xx and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 More information about this error may be available in the server error log.

從字面上看,有成千上萬的事情可能是錯誤的

  • 您有權訪問網絡服務器日志嗎? 檢查 /log/apache/error.log 是否有錯誤。
  • 您是否已經正確配置了 drupal? 通常,當您瀏覽 drupal 根目錄時,您會看到一條安裝程序消息。
  • 您的服務器是否支持 PHP?

我推薦以下任何一種:

  • 檢查您是否滿足 Drupal 要求
  • 重新上傳整個 Drupal 文件夾
  • 在本地 LAMPP 網絡服務器上測試 Drupal 文件夾(這是自定義安裝,還是直接來自 drupal 網站?)。

假設您是第一次嘗試運行 Drupal(即運行安裝程序),您是否遵循了預安裝設置?

這是 Drupal 的“初學者快速安裝指南”: http://drupal.org/documentation/install/beginners

由於您已經上傳了代碼並設置了域,您可能可以跳到大標簽“創建配置文件並授予權限”。

本節的第一件事是創建您的 settings.php 文件。 沒有這個,Drupal 將無法工作。 您還需要將其文件權限設置為 Drupal 的安裝程序可以對其進行更新。

我的猜測是,這就是您收到錯誤的原因。 按照我在上面鏈接到您的頁面上的說明進行操作,您應該會沒事的。

您還需要准備好供 Drupal 使用的數據庫。 Drupal 安裝程序將填充數據庫表,但您至少需要准備好空數據庫以供使用。

希望有幫助。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM