+ Reply to Thread
Results 1 to 5 of 5

Thread: Drupal Login Problem

  1. #1
    kadaver's Avatar
    kadaver is offline x10Hosting Member kadaver is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    US,Indiana
    Posts
    51

    Question Drupal Login Problem

    Any one got any ideas how to fix a problem with the new drupal 5.7.
    I recently changed my base_url from http://ehcsah.x10hosting.com to http://ehcsah.uni.cc and cant login I keep getting sent back to the main page with the login box still there and no admin menu selection. I'm also using the phpbb3 connector thing wich allows you to see whos logged in to the forum on the main page and it says that im logged in even though im not.
    ???? any ideas?
    If I switch back to the original base_url then I dont get this problem.

  2. #2
    kkenny's Avatar
    kkenny is offline Lord Of The Keys kkenny is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    I REP THE BAY. (Bay Area, CA, USA)
    Posts
    1,950

    Re: Drupal Login Problem

    Try looking around drupal/phpbb3 to see a base url setting
    change that to your new domain and see if it fixes it (joomla, vb, and wordpres have it)
    kkenny - retired.
    -Became a Moderator/Staff Member on 4/23/08
    -Became Senior Mod on 8/28/08
    -Became Account Manager on 10/18/08
    -Left Staff and X10 in 2009.


  3. #3
    asourabh2cool is offline x10Hosting Member asourabh2cool is an unknown quantity at this point
    Join Date
    Mar 2008
    Posts
    1

    Re: Drupal Login Problem

    even i haave the same problem

  4. #4
    Scott B's Avatar
    Scott B is offline x10 Elder Scott B is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Texas, USA
    Posts
    842

    Re: Drupal Login Problem

    Are all the files still intact? Are any corrupted?

  5. #5
    kadaver's Avatar
    kadaver is offline x10Hosting Member kadaver is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    US,Indiana
    Posts
    51

    Re: Drupal Login Problem

    After expirimentation I figured out what the problem for me was.
    You have to set the cookie setting in the forum the same as drupal otherwise you get the problem of not being logged in, in my case because I was using the phpbb3 module for drupal. When I disabled it I had no problems with login, but I wanted to use it anyways.

    first makeshure that your drupal config file has the, (drupal dir/sites/default/settings.php) must chmod it to atleast 644 to edit it, drupal sets it to 444 for read only.
    $base_url = 'http://ehcsah.uni.cc'; // NO trailing slash!
    replace http://ehcsah.uni.cc with your current domain, no trailing slash.
    Second,
    $cookie_domain = 'ehcsah.uni.cc';
    replace ehcsah.uni.cc with your domain excluding the "http://".

    Last go to your forum, login, go to admin panel, on the bottom left on the first page click Cookie Settings, and change Cookie Domain to exactly the same as what you put for the cookie setting above.

    This worked for me.

    If you really need to make shure that visitors get to the right place, you can also edit the .htaccess file, I havent tried it though. Change the wrong settings in here and you'll break your site.
    Look for this section to force redirect to www or the main domain or whatever your address is.
    # If your site can be accessed both with and without the 'www.' prefix, you
    # can use one of the following settings to redirect users to your preferred
    # URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option:
    #
    # To redirect all users to access the site WITH the 'www.' prefix,
    # (http://example.com/... will be redirected to http://www.example.com/...)
    # adapt and uncomment the following:
    # RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
    # RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
    #
    # To redirect all users to access the site WITHOUT the 'www.' prefix,
    # (http://www.example.com/... will be redirected to http://example.com/...)
    # adapt and uncomment the following:
    #RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
    #RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]

+ Reply to Thread

Similar Threads

  1. New accout cpanel problem login
    By wlidha in forum Free Hosting
    Replies: 3
    Last Post: 02-14-2008, 06:10 AM
  2. Another cPanel login problem!
    By canclan in forum Free Hosting
    Replies: 4
    Last Post: 12-04-2007, 03:12 PM
  3. Login problem
    By Cr4sh in forum Free Hosting
    Replies: 8
    Last Post: 09-20-2005, 02:28 PM
  4. problem in forum login
    By fantastico in forum Free Hosting
    Replies: 3
    Last Post: 03-04-2005, 06:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers