First. Thanks for a great module. Very simple to setup.

I get a "Got an invalid token. Subscription not updated." error when a new drupal user is created. The user is created in phplist with eMail, first name and last name, but no lists subscriptions are set up.

Managing subscriptions from the "My Newsletters" tab works fine.

Any advice is welcome.

j

Comments

bcobb10b’s picture

We are experiencing the same issue. We receive the error message when a new user signs up and then returns to activate his / her account using the temporary password. We do not receive the error message if an administrator creates a new account for someone, but the result is the same -- no subscription. We cannot pinpoint when the error first appeared but we had registered users without subscriptions going back through March of '09.

bc

paulbeaney’s picture

Hi,

I think I know where the problem lies - it is the security code for preventing CSRF attacks (introduced in 5.2) which is looking for a token when in fact it needn't (and shouldn't) bother. I'm looking into it now...

Regards,

- Paul

paulbeaney’s picture

Status: Active » Needs review

Hi,

I have just committed a fix for this bug to the D5-DEV release. Please download it and see if it does the job for you before I do a proper release for it.

Regards,

- Paul

damienmckenna’s picture

This worked for me, thanks for the fix!

damienmckenna’s picture

Status: Needs review » Reviewed & tested by the community
paulbeaney’s picture

Status: Reviewed & tested by the community » Closed (fixed)

Changing status.