Closed (fixed)
Project:
Subscriptions
Version:
6.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Dec 2008 at 17:41 UTC
Updated:
9 Jan 2009 at 20:00 UTC
I am running the subscriptions module on Drupal 6,3
I had previously installed an earlier version of Subscription but removed it when it wasn't working properly.
After installing the current version everything seems fine except that I'm getting the message "Database error: user "X" not found in {subscriptions_user} table!"
This message only appears for users that had been created after I uninstalled the old Subscription version.
I have run update php
Comments
Comment #1
salvisSince the earlier version "wasn't working properly" for you, I'd recommend to uninstall (not just disable) Subscriptions and reinstall from scratch. This will create all the required records for you.
If something "wasn't working properly," then I wouldn't want to try to build on it...
Comment #2
Johnbmtl commentedActually, I thought I had uninstalled by removing all of the components from the Modules folder.
But obviously this did not remove the subscription users in the database.
When I go in the "uninstall" page in the modules section it tells me "No modules are available to uninstall."
How do I clean up the database?
Thanks!
Comment #3
salvisDisable and then uninstall.
Comment #4
Johnbmtl commentedI did as you said and everything seems to be working fine.
Thanks!
Another quick question.
Everyone is now unsubscribed. Is there a quick way of subscribing everybody?
Comment #5
salvisGreat, glad it works now.
No, there's no "quick way of subscribing everybody". There are various types of subscriptions, each with a couple of variations. If you're up to working with the database directly, you can create one subscription of the desired type, look into the {subscriptions} table for what was created, and create similar rows for all other users.
Be sure not to subscribe users who don't want to receive mail!!!