Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I dont find any documentation or any other type of help for how to login as admin in a slave site. The user/login redirects back to main site. So how is it possible to login as user 1....
Comments
Comment #1
hiker1989 CreditAttribution: hiker1989 commentedComment #2
hiker1989 CreditAttribution: hiker1989 commentedThis might not be serious for others, but m not able to get into my slave site as admin...
I removed the login block after installing bakery, but now wen i need to login as admin, i dont find a way out... someone plz help it out
Comment #3
dominict CreditAttribution: dominict commentedHave you synchronized the uid 1 accounts on the slaves with the master? I did that on my 6.x-1.0-alpha2 sites and have no trouble. If you have access to your db you can copy and paste the md5 password value as well as the username into uid 1 on the slaves. Before you do this make sure the sessions and caches tables are cleared. Then, clear your cache on your browser and try again. It should let you login as user 1 at that point.
Comment #4
hiker1989 CreditAttribution: hiker1989 commentedAh m facing a latest problem.
My bakery is not working.
Please now i gotta do something.
Can someone help me with uninstalling bakery... but minding that m not able to login as admin
Comment #5
dominict CreditAttribution: dominict commentedCan you access the database directly? You can turn Bakery on and off by changing "status" to 0 for off in the "System" table.
When did it stop working? Do you have a database backup?
Comment #6
hiker1989 CreditAttribution: hiker1989 commentedwill the links work as default or will user/login redirect back to main section
Comment #7
coltraneTo "start over" without Bakery and access the subsite you can disable Bakery in the Drupal system table, as dominict describes.
UPDATE SYSTEM SET status = 0 WHERE name = 'bakery'
Do this to both sites. Also clear the cache and possibly the sessions table.
Comment #8
gregglesMarking fixed per coltrane's last comment. Please re-open if that doesn't solve the problem.
Comment #9
hiker1989 CreditAttribution: hiker1989 commentedI did the same but user/login shows not found... plz help out
Comment #11
rbenhase CreditAttribution: rbenhase commentedRe-opening because Bakery broke my site...I can log into the master, but not to the slave. I set Bakery's status to 0 in the database on the slave (and disabled it on the master) as per the above comments (and cleared the sessions table), but when I try to log in as an admin at the slave, it tries to redirect me to the master and, of course, fails. I even tried restoring my database from a version before I tried to set up Bakery, and the issue remains. I simply cannot log in at the slave site.
Comment #12
coltrane#11 try clearing all of your browser cookies and clear the Drupal cache
for clearing the cache if you have drush you can
drush cc all
other wise truncate the cache tables in your databasefor clearing your browser cookies it depends on your browser probably search google for that
Comment #13
gregglesSteps in #12 seem right - setting the status to needs more info until you've tried that.
Comment #14
gregglesThis much time with no more info -> marking fixed.
Comment #16
agerson CreditAttribution: agerson commentedWhen I log into my slave site as admin I am redirected to my master site. I cleared the cache and browser cookies.
Comment #17
agerson CreditAttribution: agerson commented