Search

bbPress Showcase » Plugins by _ck_

Subscribe To Topic

RSS

  1. sbradley
    User has not uploaded an avatar

    new member
    Joined: May '09
    Posts: 1

    offline

    Hi, here is a message I'm getting when I activate this plugin....do you have a fix?

    Thanks,
    Stephen

    bbPress database error: [Table 'db277077485.subscribe_to_topic' doesn't exist]
    SELECT DISTINCT user_id,user_email FROM wp_users as t1 LEFT JOIN wp_usermeta as t2 on t1.ID=t2.user_id LEFT JOIN subscribe_to_topic as t3 on t1.ID=t3.user WHERE user!=3 AND user_status=0 AND topic=25 AND type=2 AND time<1243225791 and post>last AND (meta_key='bb_capabilities' AND NOT (meta_value LIKE '%inactive%' OR meta_value LIKE '%blocked%'))

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/9/d244929182/htdocs/Shokazoba/0.9/bb-includes/db-mysql.php:130) in /homepages/9/d244929182/htdocs/Shokazoba/0.9/bb-includes/pluggable.php on line 232

    Posted 2 years ago #
  2. dimadin
    User has not uploaded an avatar

    junior member
    Joined: Apr '09
    Posts: 8

    offline

    I'm having exact problem as described above. I got this message when I post reply on opened topic, no matter if checkbox is checked or not (by default checkboxes are not checked).

    I didn't get error while writing new topic nor when I changed subscription status in dropdown menu. This is happening with version 0.9.0.4.

    I thinks that this is serious issue and that it should be fixed. Here is actuall error I'm getting:

    bbPress database error: [Table 'mywp_db.subscribe_to_topic' doesn't exist]
    SELECT DISTINCT user_id,user_email FROM wp_users as t1 LEFT JOIN wp_usermeta as t2 on t1.ID=t2.user_id LEFT JOIN subscribe_to_topic as t3 on t1.ID=t3.user WHERE user!=1 AND user_status=0 AND topic=126 AND type=2 AND time<1249331329 and post>last AND (meta_key='bb_capabilities' AND NOT (meta_value LIKE '%inactive%' OR meta_value LIKE '%blocked%'))

    Warning: Cannot modify header information - headers already sent by (output started at /home/tehnolog/public_html/forum/bb-includes/db-mysql.php:130) in /home/tehnolog/public_html/forum/bb-includes/pluggable.php on line 232

    Note that bbPress is integrated with WordPress and that mywp_db is name of WordPress' database (bbpress uses other database).

    Thanks in advance

    Posted 2 years ago #
  3. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    "subscribe_to_topic' doesn't exist"

    This means the plugin did not activate properly and was unable to create the table in the database, you'll have to make it manually.

    Posted 2 years ago #
  4. dimadin
    User has not uploaded an avatar

    junior member
    Joined: Apr '09
    Posts: 8

    offline

    Thanks for reply. You are correct, there isn't table subscribe_to_topic it this database because this is database for WordPress, but there is table subscribe_to_topic in bbPress' database and it has entries as you can see in screenshot.

    So problem is that calls subscribe_to_topic table in WordPress' database, although it make records in subscribe_to_topic table of bbPRess database. Note that I don't know if it will send notifications since I turned plugin off immediately so my users won't get this errors, but even if everything works errors that are displayed are huge problem.

    Attachments

    1. subscribe_to_topic_phpmyadmin.jpg (13.1 KB, 1 downloads) 2 years old
    Posted 2 years ago #
  5. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    If the table is in the database for bbPress, there should not be a problem because it's accessed with $bbdb and not $wpdb

    I am not certain why the table was created in the WordPress db, unless you made it manually. It's possible there is a bug when there is deep integration that I have to somehow specify $bbdb->subscribe_to_topic

    You can try moving the table to the correct db with phpmyadmin.

    Posted 2 years ago #
  6. dimadin
    User has not uploaded an avatar

    junior member
    Joined: Apr '09
    Posts: 8

    offline

    No, you didn't understand. Table subscribe_to_topic is in bbPress database, but in error above it says that there isn't that table in WordPress database.

    So: table subscribe_to_topic is placed in database mybb_db; in error I get (two posts above), it says "Table 'mywp_db.subscribe_to_topic' doesn't exist"; database mywp_db is database for WordPress and there doesn't exist table subscribe_to_topic.

    I hope that now I clarified this.

    Posted 2 years ago #
  7. maelm
    User has not uploaded an avatar

    junior member
    Joined: Jun '10
    Posts: 6

    offline

    hello evrrybody,
    i'm trying to install this plugin and when i active it on the admin panel, i've got this error :


    Fatal error: Call to undefined function __() in ***/***/***/forum/bb-plugins/subscribe-to-topic.php on line 23

    does anybody knows what does it means ?

    thanks !

    Mael

    Posted 1 year ago #
  8. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    maelm that is the bbPress translation function, it should be built in, unless it's somehow been changed in the newest versions of bbPress, or you have disabled it for some reason

    You could in theory remove it from the plugin.

    Posted 1 year ago #
  9. maelm
    User has not uploaded an avatar

    junior member
    Joined: Jun '10
    Posts: 6

    offline

    It works !!!!

    i remove the __( part and it goes well

    Many thanks !

    Posted 1 year ago #
  10. maelm
    User has not uploaded an avatar

    junior member
    Joined: Jun '10
    Posts: 6

    offline

    hi again,
    i've got some trouble to use your plugin (again), when i chose to suscribe to a topic, it works fine in my database (there is a row with the goods values) but no email send !

    Is there anything to do to make it work ?

    many thanks !

    Posted 1 year ago #

RSS feed for this topic

Post a reply to “Subscribe To Topic” »

You must log in to post.

keep _ck_ coding >> donate $5 <<     Theme Switcher:
34 users online from in the past 30 minutes. 19 bots 14 guests 1 members: xiaotian
1,336 views today 8,665 yesterday 14,010 peak. Most at once 42 today 48 yesterday 131 peak. Visited today: Dickinsonjohn9, shairah27, xiaotian
2,245 posts in 385 topics over 63 months by 426 of 1,989 members. Latest: dxdiag02, Pablo01, Dickinsonjohn9