drupal 内部服务器错误
我在我的网站中创建了一个文件夹,并在其中上传了 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
实际上有成千上万的事情可能是错误的
我建议您执行以下操作:
There are literally thousands of things that can be wrong
I'd recommend any of the following:
假设您第一次尝试运行 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.