drupal 内部服务器错误

发布于 2024-11-09 12:08:19 字数 586 浏览 4 评论 0原文

我在我的网站中创建了一个文件夹,并在其中上传了 drupal。但是当我访问它时,出现以下错误

    Internal Server Error

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

 Please contact the server administrator, [email protected] 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.

I had created a folder in my site, and uploaded drupal in it. But when I access it, the following error is coming

    Internal Server Error

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

 Please contact the server administrator, [email protected] 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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

纵性 2024-11-16 12:08:19

实际上有成千上万的事情可能是错误的

  • 你有权访问网络服务器日志吗?检查 /log/apache/error.log 是否有错误。
  • 您已经正确配置了 drupal 吗?通常,当您浏览到 drupal 根目录时,您会看到一条安装程序消息。
  • 你们的服务器支持PHP吗?

我建议您执行以下操作:

  • 检查您是否满足 Drupal 要求
  • 重新上传整个 Drupal 文件夹
  • 在本地 LAMPP Web 服务器上测试 Drupal 文件夹(这是自定义安装,还是直接来自 drupal 网站?)。

There are literally thousands of things that can be wrong

  • Do you have access to the webserver logs? Check /log/apache/error.log for errors.
  • Have you already configured drupal correctly? Normally, when you surf to the drupal root directory, you get presented with an installer message.
  • Does your server support PHP?

I'd recommend any of the following:

  • Checking that you meet the Drupal requirements
  • Re-uploading the whole Drupal folder
  • Testing the Drupal folder (is this a custom installation, or just straight from the drupal website?) on local LAMPP webserver.
厌倦 2024-11-16 12:08:19

假设您第一次尝试运行 Drupal(即运行安装程序),您是否遵循了预安装设置?

这是 Drupal 的“初学者快速安装指南”:http://drupal.org/documentation/install/beginners

由于您已经上传了代码并且设置了域,因此您可以跳到标有“创建配置文件并授予权限”的大内容。

本节的第一件事是创建 settings.php 文件。没有这个,Drupal 将无法工作。您还需要将其文件权限设置为 Drupal 的安装程序可以更新它。

我的猜测是,这就是您收到错误的原因。按照我上面链接到的页面上的说明进行操作,应该没问题。

您还需要有一个可供 Drupal 使用的数据库。 Drupal 安装程序将填充数据库表,但您至少需要准备好空数据库以供其使用。

希望有帮助。

Assuming you're trying to run Drupal for the first time (ie run the installer), have you followed the pre-install setup?

Here's Drupal's "Quick install guide for beginners": http://drupal.org/documentation/install/beginners

Since you've already uploaded the code and you have your domain set up, you can probably skip down to the big labelled "Create the configuration file and grant permissions".

The first thing in this section is to create your settings.php file. Drupal won't work without this. You also need to set its file permissions to that Drupal's installer can update it.

My guess is that this is why you're getting the error. Follow the instructions on the page I linked you to above and you should be okay.

You'll also need to have a database ready for use by Drupal. The Drupal installer will populate the DB tables, but you need to at least have the empty DB ready for it to use.

Hope that helps.

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