简体   繁体   English

Drupal无法访问Drupal管理员仪表板

[英]Drupal Can't access Drupal Admin Dashboard

I tried many times installing drupal on kubuntu with xampp (including after reinstalling kubuntu) and can't access Drupal Admin Dashboard. 我尝试了很多次使用xampp在kubuntu上安装drupal(包括重新安装kubuntu之后),但是无法访问Drupal Admin Dashboard。

These are the commands after reinstalling kubuntu 这些是重新安装kubuntu之后的命令

go to : /home/rebirth/Downloads: type: -sudo tar xvfz drupal-7.34.tar.gz -mv drupal-7.34 ../../../opt/lampp/htdocs -cd ../../../.. -sudo cp /opt/lampp/htdocs/drupal-7.34/sites/default/default.settings.php /opt/lampp/htdocs/drupal-7.34/sites/default/settings.php -cd /opt/lampp/htdocs/drupal-7.34/sites -sudo chmod a+w default-sudo chmod a+w default/settings.php 转到:/ home / rebirth / Downloads:键入:-sudo tar xvfz drupal-7.34.tar.gz -mv drupal-7.34 ../../../opt/lampp/htdocs -cd ../../ ../ .. -sudo cp /opt/lampp/htdocs/drupal-7.34/sites/default/default.settings.php /opt/lampp/htdocs/drupal-7.34/sites/default/settings.php -cd / opt /lampp/htdocs/drupal-7.34/sites -sudo chmod a + w default-sudo chmod a + w default / settings.php

Then I install drupal by typing the url localhost + : "/drupal-7.34/" 然后,我通过输入url localhost +安装drupal:“ /drupal-7.34/”

I install using root as a username and setting up a password, create the database etc.. 我使用root作为用户名安装并设置密码,创建数据库等。

When I finish the installation it shows drupal without the Drupal Admin Dashboard and I tried many times login in it doesn't work ... 当我完成安装时,它显示没有Drupal Admin Dashboard的drupal,并且我尝试了很多次登录都无法正常工作...

Is there a file saving the password and username to be an administrator or do I Have to use the webbrowser as root? 是否存在将密码和用户名保存为管理员的文件,或者我必须将Web浏览器用作root用户?

Help much appreciated! 帮助非常感谢!

Uncomment line 340 on settings.php to reflect your domain name 在settings.php上取消注释第340行以反映您的域名

eg for localhost 例如对于本地主机

$cookie_domain = 'localhost';

Please note this works for drupal 7 and my php version is 5.6. 请注意,这适用于drupal 7,而我的php版本是5.6。 and ubuntu 14.10 you should also have rights to read and write the settings.php 和ubuntu 14.10,您还应该有权读取和写入settings.php

Type your link 输入您的链接

eg. 例如。 http://yourdomain/drupal/user/

enter correct credentials you should be able to login 输入正确的凭据,您应该能够登录

Regards, 问候,

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM