Hi
Hope this is the right section for this query.
I copied my drupal installation from domain A to domain B (on the same server). I used the cpanel back-up and restore options to achieve this. I also amended the settings.php on domain B to point to the new database name and to include the correct home directory.
Here's the problem:
I can't log in unless I request a new password and use the onetime log in option as a result of password recovery process.
When I do try to log in normally, the site accepts my username and password and shows me as being online, but the login box does not disappear and I don't get my menu's. If I try to navigate to a url such as /admin, I receive the access denied message.
Have I missed something in the migration process? I probably have, as for about an hour I was using the new domain but the old database....duh.
Scott
Comments
Mostly like this is a
Mostly like this is a mixture of old browser cookies and drupal cache data. Your browser may have similar but now bad cookie that is causing conflicts during login. Clear browser cookies for this.
Also, the cache tables takes many full URLS, so the cache table may be pointing links, graphics and other stored user data to the old domain. Clear the cache table and try again.
Hope that helps.
Greg
----------
My Drupal/Tech Thoughts
vbDrupal Articles at Skejo.com
Thanks for the tip - I just
Thanks for the tip - I just tried it and no luck..........think I might start fresh and see how I go.
Scott
Found it
It was this line in the settings.php
ini_set('session.cookie_domain', 'www.domain.co.uk');
I'm a happy chap now :)
Scott
Ah right, that is the next
Ah right, that is the next best place to look for this kind of thing. Glad you got it.
----------
My Drupal/Tech Thoughts
vbDrupal Articles at Skejo.com