Closed (fixed)
Project:
PHPlist Integration Module
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2010 at 03:53 UTC
Updated:
26 Nov 2010 at 18:16 UTC
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
Comment #1
bcobb10b commentedWe 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
Comment #2
paulbeaney commentedHi,
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
Comment #3
paulbeaney commentedHi,
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
Comment #4
damienmckennaThis worked for me, thanks for the fix!
Comment #5
damienmckennaComment #6
paulbeaney commentedChanging status.