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?
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
Comment #1
kenwest commentedSOLUTION: 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.
Comment #2
Schermy37 commentedI can verify that kenwest's solution works for me as well.
Comment #3
good_man commentedTagging for documenting.
Comment #4
sterndata commentedThank you! I added "batch" and "batch/*" to the list in Secure Pages and the problem has been solved.
Comment #5
truyenle commented#4 works for me too. Thank.