I'm upgrading from D6 to D7 on a test server. After enabling Content Access I'm told the permissions need rebuilding, and when I attempt to do that I get a message "No active batch". Any ideas?

Comments

kenwest’s picture

Category: bug » support
Status: Active » Closed (fixed)

SOLUTION: When using securepages, make sure /batch is handled by the same scheme as your admin pages.

ANALYSIS: Digging further, it turned out the token used when INSERTing the Batch into the batch table was different to that when SELECTing it. The difference was the session_id, because securepages was switching from HTTPS scheme to HTTP for "/batch". Preventing this dealt with the problem.

Schermy37’s picture

I can verify that kenwest's solution works for me as well.

good_man’s picture

Issue tags: +Needs documentation

Tagging for documenting.

sterndata’s picture

Thank you! I added "batch" and "batch/*" to the list in Secure Pages and the problem has been solved.

truyenle’s picture

Issue summary: View changes

#4 works for me too. Thank.