I'm trying to set up a newsletter but email addresses of anonymous users can't be confirmed. Confirm messages contain a URL that doesn't work. The confirmation_url (as used in the template) that I get is similar to http://www.sourenmeubels.nl/newsletter/confirm/add/8d67df40a30t12 which merely gives me
Page not found
The requested page could not be found."
/newsletter was not working, I added an alias to the newsletter node but that didn't solve the issue.
I've tried many things, not the least looking for an answer through Google but I haven't been able to find an answer. If there is a simple answer it would be nice to add it to readme.txt besides stating it here.
I had the same result with 6.x-1.0-beta3.
Comments
Comment #1
sutharsan commentedDo you experience this problem with 6.x-1.x-dev version as you indicate in Version?
What type of database do you use? MySQL or other?
Please check the content of the simplenews_subscriptions table. You will find there the anonymous subscriber. The snid value of the subscriber must be lager than 0 (zero).
Comment #2
okokokok commentedI first tried 6.x-1.0-beta3 and then upgraded to 6.x-1.x-dev.
I'm using MySQL.
The snid's are all positive integers between 1 and 10. Of the "anonymous" tests I did uid equals to 0 and all have activated set to 1. I'm confused.
Comment #3
sutharsan commentedYou database looks Ok. Please investigate if any other module is causing this problem. First candidates are module which are involved in the user account.
Comment #4
okokokok commentedThere's no obvious candidate for a module that involves the user account. I'm looking deeper into it now.
Comment #5
sutharsan commentedThis might be related to your other issue: #307691
Comment #6
sutharsan commentedNo reponse, closing the issue.
Comment #7
muhh commentedhave to warm this up, since i'm experiencing the exact same issue.
subscribing registered users is no problem.
when a anonymous user tries to use the confirmationlink, he gets a "page not found".
a log message says taxonomy/term/4/confirm/add/d3f3bxxxxxxxt4 not found, with the location ?q=/newsletter/confirm/add/d3f3bxxxxxxxt4. i use a urlalias for taxonomy/term/4 pointing to newsletter.
subscription rights are given to anonymous and registered users.
the simplenews_subscription table looks fine.
the anonymous subscribers are added.
but they are activated, even without using the confirmation link? (snid 7 didn't confirm yet...)
will look deeper into this.
Comment #8
muhh commentedone more: registered users clicking the unsubscribe link in a sent newsletter also get a "page not found" on the provided link.
Comment #9
miro_dietikerDon't overwrite the address called "newsletter" with an alias. Try once to change your alias to "mynewsletter" and you'll see that the newsletter works again. (See "newsletter" ist the first part of the internal confirmation address and that's why it is forbidden to use it for aliases.)
Seems like aliases can break things if they clash with existing internal pathes...
I don't know how to prevent from this situation. If someone has an idea how to fix this cleanly please make a suggestion and switch status.