dsjswclzh40259075 2014-11-30 11:21
浏览 94
已采纳

Drupal无法访问Drupal Admin Dashboard

I tried many times installing drupal on kubuntu with xampp (including after reinstalling kubuntu) and can't access Drupal Admin Dashboard.

These are the commands after reinstalling 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

Then I install drupal by typing the url localhost + : "/drupal-7.34/"

I install using root as a username and setting up a password, create the database etc..

When I finish the installation it shows drupal without the Drupal Admin Dashboard and I tried many times login in it doesn't work ...

Is there a file saving the password and username to be an administrator or do I Have to use the webbrowser as root?

Help much appreciated!

  • 写回答

1条回答 默认 最新

  • dongxing1960 2015-01-13 09:40
    关注

    Uncomment line 340 on settings.php to reflect your domain name

    e.g. for localhost

    $cookie_domain = 'localhost';
    

    Please note this works for drupal 7 and my php version is 5.6. and ubuntu 14.10 you should also have rights to read and write the settings.php

    Type your link

    eg. http://yourdomain/drupal/user/

    enter correct credentials you should be able to login

    Regards,

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥50 导入文件到网吧的电脑并且在重启之后不会被恢复
  • ¥15 (希望可以解决问题)ma和mb文件无法正常打开,打开后是空白,但是有正常内存占用,但可以在打开Maya应用程序后打开场景ma和mb格式。
  • ¥15 绘制多分类任务的roc曲线时只画出了一类的roc,其它的auc显示为nan
  • ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝
  • ¥20 腾讯企业邮箱邮件可以恢复么
  • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
  • ¥15 错误 LNK2001 无法解析的外部符号
  • ¥50 安装pyaudiokits失败
  • ¥15 计组这些题应该咋做呀
  • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?