Cannot add anonymous users; get "Oops, you have not been added to the mailing list; please contact a site administrator." error
| Project: | phplist Integration Module |
| Version: | 6.x-1.0 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Hello:
We have a Drupal site that has phplist and the phplist Integration Module installed. If the user logs into our Drupal site, and signs up for our newsletter, it works; the user is added to the database, and the user gets the message
Your subscriptions have been updated.
It shows the list that you are subscribed to, as well as the unsubscribe link.
However, if the user attempts to sign up for our newsletter anonymously via the "Subscribe to our mailing list" block (i.e. without being logged in to the site), the following message is displayed:
Oops, you have not been added to the mailing list; please contact a site administrator.
Also note that our Drupal installation is in a test directory (http://www.lovingday.org/test) and our phplist installation is running on our live site: (http://www.lovingday.org/lists/?p=subscribe&id=1).
We've looked at it for weeks now, and just cannot see where the problem could lie. Please help.
Installed:
Drupal 5.14
phplist 2.10.9
phplist Integration Module 5.x-1.1

#1
Hi EddieN120,
Presumably you have the "PHPlist" URL set to "http://www.lovingday.org/lists/"? It yes, then the problem is most likely because your Drupal/PHP installation cannot access the server where you are hosting PHPlist. I have a weird problem on my OSX development server where PHP can only find sites that I have pinged (to force the host name to be resolved) prior to starting Apache. Strange but true...
Please check your network access (firewalls, routing rules etc.) and try the Ping hack? Can you do a CURL lookup on your PHPlist server from a test PHP script? The post #298572: Users not subscribed to any list might also provide some pointers.
Regards,
- Paul
#2
Hi,
I've got the same issue here. but I'm using Drupal 6.10.
My phplists database is on the same server as my drupal database.
I can sign up for a mailinglist when I'm logged on but anonymous sign-up isn't possible (I got the 'Oops...' message...).
My site is in testing folder as well, same situation as EddieN120, but in Drupal 6.
any idea what it could possibly be?
some help would be more then welcome since I'm looking for a solution for two days now... :s
thanks!
Installed:
Drupal 6.10
phplist 2.10.9
phplist Integration Module 6.x-1.x-dev
#3
Hi,
Please post the results of the amendment mentioned in #298572: Users not subscribed to any list (post #9) - this will give us more information to help diagnose the problem.
Regards,
- Paul
#4
hi paul,
i have the same effect on our page.
drupal 6.12
recent phplist and phplist module.
i was trying to follow #298572, but due to another version, i was not able to find the right lines.
could you please help us ?
thanks in advance
steffen
#5
hi paul,
i gonna run mad with the module... :-(
changing the path to phplist from /lists/ to http:{complete url}/lists/ did the trick for the comfirmation page to get no "oops" message. but - the design is broken and no mailing lists are appearing on the page. just a blank page.
second: the unscribe page shows an error message:
user warning: Table 'usr_web33_2.phplist_user' doesn't exist query: SELECT email FROM phplist_user WHERE uniqid='ded99ba91609654b954f3910fa1bf19a' in /var/www/web33/html/v1/sites/all/modules/phplist/phplist.module on line 1314.
comparing the uid's - there always the same for the same user.
last - what page should be used for the preference page for drupal anonymous users ? i did not find a hint in the documentations or it's too early in the morning or too less coffee :-)
thanks for assistence.
steffen
#6
I have updated that post to show the correct line now.
Regards,
- Paul
#7
Hi drizzi,
Are you able to synchronize users ok? Does the "My Newsletters" page work ok for allowing users to (un)subscribe to newsletters? Is it *only* the unsubscribe page that has this problem?
Sorry, the module does not currently provide a prefs page for anonymous users.
Regards,
- Paul
#8
No recent update so closing.
#9
Hello Paul, i've just set up phplistmodule (last dev 6.x) but anonymous user when enters his email address, still gets same error:
"Oop, you have not been added to... etc"...
I get this error on anonymous subscription with only 1 list enabled and with more than one.
User receives error on screen but the list-registration process is ok (user is on the list and he get email message).
would you wanna check my infos retrieved by using #298572?
Thanks for your help and your effort for the community.
jM.
======================
update:
info printed using #298572:
Then the PhpList message: Thank you for subscribing etc etc..
it seems a redirection code 301, but I don't know how to solve this.
Thank you all.
#10
Hi,
I have just uploaded an update which provides a checkbox in the admin settings to turn on debugging. Tick it, and when you try the anonymous signup it will print what Drupal "sees" at the PHPlist URL to screen. That ought to give you a lot more information for debugging this problem.
Regards,
- Paul
#11
sorry Paul but I don't see the new dev version.
The last one avaiable was released on " July 21, 2009 - 00:33"
Thank you.
jM.
#12
Hi,
It takes time for the updates to appear. It is there now.
- Paul
#13
Thanks paul.
Done:
#14
Hi,
Everything looks ok to me. Can you provide more details please: you seem to imply that your native lanugauge not English. If this is the case, have you added a translation of "Thank you for subscribing" to Drupal? Until you do this, the anonymous subscribe process cannot work.
Regards,
- Paul
#15
Hang on a second - just realised what (although not "why") you get the problem. You get a redirection code to http://mysite.netsons.org/lists/?p=subscribe even though you have attempted to open /lists/?p=subscribe at http://mysite.netsons.org in the inital call.
Something is therefore amiss with your PHPlist web server configuration. Resolve this, and you should find that anonymous signup starts working just fine. Please post your findings here as, although this isn't directly related to the module, it might help someone else in the future.
Regards,
- Paul
#16
Thanks Paul, but unfortunately all my efforts since now are unuseful.
Anonymous users can successfully subscribe using phpList page.
I tried all the path settings (in "admin/settings/phplist", in "config.php", and in "lists/admin/?page=configure" )
...absolute path/ relative path / with and without slash...
Dunno why I get this error during drupal site subscribing.. (but followed by a real successful user subscription).
Please note that phpList and Drupal are in the same directory:
Drupal --> /public_html/
phpList --> /public_html/lists.
Thanks in advance for your suggestions.
regards,
jM
#17
Hi John,
If you've got them in the same directory, then unless you have modified your web server setup, the mod_rewrite rules for Drupal will be attempting to act on PHPlist URLs too. I've never come across anyone with them both installed in the same place before, but my advice would be simple - unless you are comfortable with configuring .htaccess and mod_rewrite, steer well clear !
Sorry not to be of more help.
Regards,
- Paul
#19