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

hiker1989’s picture

Title: Login as admin in slave site » Can't Login as admin in slave site
hiker1989’s picture

Priority: Major » Critical

This 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

dominict’s picture

Have 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.

hiker1989’s picture

Ah 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

dominict’s picture

Can 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?

hiker1989’s picture

will the links work as default or will user/login redirect back to main section

coltrane’s picture

Category: task » support
Priority: Critical » Normal

To "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.

greggles’s picture

Status: Active » Fixed

Marking fixed per coltrane's last comment. Please re-open if that doesn't solve the problem.

hiker1989’s picture

Priority: Normal » Critical

I did the same but user/login shows not found... plz help out

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

rbenhase’s picture

Status: Closed (fixed) » Active

Re-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.

coltrane’s picture

#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 database

for clearing your browser cookies it depends on your browser probably search google for that

greggles’s picture

Status: Active » Postponed (maintainer needs more info)

Steps in #12 seem right - setting the status to needs more info until you've tried that.

greggles’s picture

Status: Postponed (maintainer needs more info) » Fixed

This much time with no more info -> marking fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

agerson’s picture

Version: 6.x-1.0-alpha2 » 7.x-3.x-dev
Issue summary: View changes
Status: Closed (fixed) » Active

When I log into my slave site as admin I am redirected to my master site. I cleared the cache and browser cookies.

agerson’s picture

Version: 7.x-3.x-dev » 7.x-2.x-dev