When I try to activate the Organic Groups Subscriptions module it asks for the Subscriptions_content module to be activated. However, I can't find where this module is. Could you point out where it is please?

Thanks you.

Comments

gustav’s picture

The subscriptions_og module is a plugin module for the subscriptions module (http://drupal.org/project/subscriptions). The subscriptions module download includes the subscriptions_content module. You should use the latest beta release of the subscriptions module that you find at http://drupal.org/node/225096.

Please note that this so far is a developer's release. Your help in testing it will be appreciated.

Jboo’s picture

Thanks Gustav, I've been able to activate it now but have come across database errors. Namely an out of date Database schema in the status report and the following upon module activation:

On the admin/settings/subscriptions/userdefaults page:


    * user warning: Unknown column 'module' in 'field list' query: SELECT module, field, count(1) as number FROM subscriptions WHERE recipient_uid = -2 GROUP BY module, field in /home/brue/public_html/sitess/includes/database.mysql.inc on line 172.
    * user warning: Unknown column 'module' in 'where clause' query: SELECT count(*) FROM subscriptions WHERE module = 'node' AND field = 'group_nid' AND recipient_uid = -2 in /home/brue/public_html/sitess/includes/database.mysql.inc on line 172.
    * user warning: Table 'brue_drpl43.subscriptions_user' doesn't exist query: SELECT uid, digest, send_interval, send_updates, send_comments, send_interval_visible, send_updates_visible, send_comments_visible, autosub_on_post, autosub_on_update, autosub_on_comment, send_self FROM subscriptions_user WHERE uid in (-2, -2) ORDER BY uid in /home/brue/public_html/sitess/includes/database.mysql.inc on line 172.
    * warning: Invalid argument supplied for foreach() in /home/brue/public_html/sitess/modules/subscriptions/subscriptions.module on line 456.
    * user warning: Table 'brue_drpl43.subscriptions_user' doesn't exist query: SELECT uid, digest, send_interval, send_updates, send_comments, send_interval_visible, send_updates_visible, send_comments_visible, autosub_on_post, autosub_on_update, autosub_on_comment, send_self FROM subscriptions_user WHERE uid in (-2, -2) ORDER BY uid in /home/brue/public_html/sitess/includes/database.mysql.inc on line 172.
    * warning: Invalid argument supplied for foreach() in /home/brue/public_html/sitess/modules/subscriptions/subscriptions.module on line 456.
    * user warning: Table 'brue_drpl43.subscriptions_user' doesn't exist query: SELECT uid, digest, send_interval, send_updates, send_comments, send_interval_visible, send_updates_visible, send_comments_visible, autosub_on_post, autosub_on_update, autosub_on_comment, send_self FROM subscriptions_user WHERE uid in (-2, -2) ORDER BY uid in /home/brue/public_html/sitess/includes/database.mysql.inc on line 172.
    * warning: Invalid argument supplied for foreach() in /home/brue/public_html/sitess/modules/subscriptions/subscriptions.module on line 456.
    * user warning: Table 'brue_drpl43.subscriptions_user' doesn't exist query: SELECT uid, digest, send_interval, send_updates, send_comments, send_interval_visible, send_updates_visible, send_comments_visible, autosub_on_post, autosub_on_update, autosub_on_comment, send_self FROM subscriptions_user WHERE uid in (-2, -2) ORDER BY uid in /home/brue/public_html/sitess/includes/database.mysql.inc on line 172.
    * warning: Invalid argument supplied for foreach() in /home/brue/public_html/sitess/modules/subscriptions/subscriptions.module on line 456.
    * user warning: Table 'brue_drpl43.subscriptions_user' doesn't exist query: SELECT uid, digest, send_interval, send_updates, send_comments, send_interval_visible, send_updates_visible, send_comments_visible, autosub_on_post, autosub_on_update, autosub_on_comment, send_self FROM subscriptions_user WHERE uid in (-2, -2) ORDER BY uid in /home/brue/public_html/sitess/includes/database.mysql.inc on line 172.
    * warning: Invalid argument supplied for foreach() in /home/brue/public_html/sitess/modules/subscriptions/subscriptions.module on line 456.
    * user warning: Table 'brue_drpl43.subscriptions_user' doesn't exist query: SELECT uid, digest, send_interval, send_updates, send_comments, send_interval_visible, send_updates_visible, send_comments_visible, autosub_on_post, autosub_on_update, autosub_on_comment, send_self FROM subscriptions_user WHERE uid in (-2, -2) ORDER BY uid in /home/brue/public_html/sitess/includes/database.mysql.inc on line 172.
    * warning: Invalid argument supplied for foreach() in /home/brue/public_html/sitess/modules/subscriptions/subscriptions.module on line 456.
    * user warning: Table 'brue_drpl43.subscriptions_user' doesn't exist query: SELECT uid, digest, send_interval, send_updates, send_comments, send_interval_visible, send_updates_visible, send_comments_visible, autosub_on_post, autosub_on_update, autosub_on_comment, send_self FROM subscriptions_user WHERE uid in (-2, -2) ORDER BY uid in /home/brue/public_html/sitess/includes/database.mysql.inc on line 172.
    * warning: Invalid argument supplied for foreach() in /home/brue/public_html/sitess/modules/subscriptions/subscriptions.module on line 456.
    * user warning: Table 'brue_drpl43.subscriptions_user' doesn't exist query: SELECT uid, digest, send_interval, send_updates, send_comments, send_interval_visible, send_updates_visible, send_comments_visible, autosub_on_post, autosub_on_update, autosub_on_comment, send_self FROM subscriptions_user WHERE uid in (-2, -2) ORDER BY uid in /home/brue/public_html/sitess/includes/database.mysql.inc on line 172.
    * warning: Invalid argument supplied for foreach() in /home/brue/public_html/sitess/modules/subscriptions/subscriptions.module on line 456.
    * user warning: Table 'brue_drpl43.subscriptions_user' doesn't exist query: SELECT uid, digest, send_interval, send_updates, send_comments, send_interval_visible, send_updates_visible, send_comments_visible, autosub_on_post, autosub_on_update, autosub_on_comment, send_self FROM subscriptions_user WHERE uid in (-2, -2) ORDER BY uid in /home/brue/public_html/sitess/includes/database.mysql.inc on line 172.
    * warning: Invalid argument supplied for foreach() in /home/brue/public_html/sitess/modules/subscriptions/subscriptions.module on line 456.
    * user warning: Table 'brue_drpl43.subscriptions_user' doesn't exist query: SELECT uid, digest, send_interval, send_updates, send_comments, send_interval_visible, send_updates_visible, send_comments_visible, autosub_on_post, autosub_on_update, autosub_on_comment, send_self FROM subscriptions_user WHERE uid in (-2, -2) ORDER BY uid in /home/brue/public_html/sitess/includes/database.mysql.inc on line 172.
    * warning: Invalid argument supplied for foreach() in /home/brue/public_html/sitess/modules/subscriptions/subscriptions.module on line 456.
    * user warning: Table 'brue_drpl43.subscriptions_user' doesn't exist query: SELECT uid, digest, send_interval, send_updates, send_comments, send_interval_visible, send_updates_visible, send_comments_visible, autosub_on_post, autosub_on_update, autosub_on_comment, send_self FROM subscriptions_user WHERE uid in (-2, -2) ORDER BY uid in /home/brue/public_html/sitess/includes/database.mysql.inc on line 172.
    * warning: Invalid argument supplied for foreach() in /home/brue/public_html/sitess/modules/subscriptions/subscriptions.module on line 456.
    * user warning: Table 'brue_drpl43.subscriptions_user' doesn't exist query: SELECT uid, digest, send_interval, send_updates, send_comments, send_interval_visible, send_updates_visible, send_comments_visible, autosub_on_post, autosub_on_update, autosub_on_comment, send_self FROM subscriptions_user WHERE uid in (-2, -2) ORDER BY uid in /home/brue/public_html/sitess/includes/database.mysql.inc on line 172.
    * warning: Invalid argument supplied for foreach() in /home/brue/public_html/sitess/modules/subscriptions/subscriptions.module on line 456.
    * user warning: Table 'brue_drpl43.subscriptions_user' doesn't exist query: SELECT uid, digest, send_interval, send_updates, send_comments, send_interval_visible, send_updates_visible, send_comments_visible, autosub_on_post, autosub_on_update, autosub_on_comment, send_self FROM subscriptions_user WHERE uid in (-2, -2) ORDER BY uid in /home/brue/public_html/sitess/includes/database.mysql.inc on line 172.
    * warning: Invalid argument supplied for foreach() in /home/brue/public_html/sitess/modules/subscriptions/subscriptions.module on line 456.
    * user warning: Table 'brue_drpl43.subscriptions_user' doesn't exist query: SELECT uid, digest, send_interval, send_updates, send_comments, send_interval_visible, send_updates_visible, send_comments_visible, autosub_on_post, autosub_on_update, autosub_on_comment, send_self FROM subscriptions_user WHERE uid in (-2, -2) ORDER BY uid in /home/brue/public_html/sitess/includes/database.mysql.inc on line 172.
    * warning: Invalid argument supplied for foreach() in /home/brue/public_html/sitess/modules/subscriptions/subscriptions.module on line 456.

I also have similar errors under the other settings pages for the subscription module. Any suggestions on how to resolve this?

Thanks again.

gustav’s picture

It looks like you used to have an earlier version of the subscriptions module installed. After upgrading to a newer version of a module you need to run the database update script.

Jboo’s picture

Status: Active » Fixed

Ah, thanks Gustav, that seems to have solved the error messages, thanks for your help.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

najibx’s picture

i used the latest subscriptions 5.x-2.0-beta12

Getting this error :

warning: Invalid argument supplied for foreach() in /home/igolfcommy/public_html/sites/all/modules/subscriptions/subscriptions.module on line 492.
warning: Invalid argument supplied for foreach() in /home/igolfcommy/public_html/sites/all/modules/subscriptions_og/subscriptions_og.module on line 535.

develcuy’s picture

@najibx, thanks for reporting bug, please provide detailed instructions for reproducing the error so I can solve it faster.

Blessings!

najibx’s picture

Well ..nothing much, whenever I enable og_subscription, i got those msg. So I disable it for now ...

BTW, what the different with OG notification block :

Group notifications
This group offers a RSS feed and an email subscription. Or subscribe to these personalized, sitewide feeds:
....

develcuy’s picture

@najibx, please have a try with og-HEAD(from CVS) and let me know the results.

Blessings!

najibx’s picture

yes, try the OG-head. still similar error.

develcuy’s picture

@najibx, sorry for delayed answer, I was so busy, please specify following info:

OG version:
Subscriptions version:
Subscriptions_og version:
Drupal version:
PHP version:
Web server version(apache?):

And please put precise instructions to reproduce the error and, any other information useful to let me test in same environment.

Blessings!