Closed (fixed)
Project:
Comments in vBulletin
Version:
6.x-3.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2010 at 04:34 UTC
Updated:
19 Sep 2010 at 01:07 UTC
I get the following error when trying to create a new thread appended to a new page node:
user warning: Unknown column 'forum_id' in 'field list' query: SELECT forum_id FROM vb_thread WHERE dr_nid = 1 in /home/myaccount/public_html/dev/modules/com2vb/com2vb.module on line 684.
Any ideas?
Comments
Comment #1
elia commentedHello.
You must run http://example.com/update.php for executing full installation process of COM2VB module - 2nd update function will create this field for you.
Comment #2
jasonbrice commentedHi,
Good advice!
I have run update.php, and had the following errors:
Additionally, I cannot see the comments under the nodes. When the core module COMMENTS is installed and switched on, I can see them.
The Com2vb Settings page says:
But I cannot see where to define the style of the Comments.
Thanks for your help!
Jason Brice
Comment #3
elia commentedHello!
This warnings are unimportant - I clone some update code from original COMMENT module for compatibility with all 6.x versions of Drupal. You can ignore it.
Check display mode of comments - it seems to me that you have mode "expanded threaded". This display mode not supported by COM2VB module. You must check it in workflow section in settings for all node's types.
Comment #4
jasonbrice commentedHi Elia,
Yes, I assumed the mysql warnings were not that important - deleting fields not there, and creating fields that already exist.
Sorry for being stupid, but I'm not sure where to find the display mode for comments. Where do I find it?
Thanks,
Jason
Comment #5
elia commentedhttp://example.com/admin/content/node-type/blog
http://example.com/admin/content/node-type/page
http://example.com/admin/content/node-type/story
and so on
Comment #6
jasonbrice commentedGot it. Thanks!
Comment #7
jasonbrice commentedComment #8
jasonbrice commentedHi Elia,
Here is an error I got when trying to unpublish a comment:
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE postid = 97617' at line 1 query: UPDATE vb3post SET visible = WHERE postid = 97617 in /home/myaccount/public_html/dev/modules/com2vb/com2vb.admin.inc on line 110.Thanks,
Jason
Comment #9
jasonbrice commentedHi Elia,
And here is an error I got when I just tried to add a new user with "Create the same user in forum" unchecked.
Fatal error: Call to undefined function db_num_rows() in /home/sbc/public_html/dev/modules/com2vb/vbuser.inc on line 61Thanks,
Jason
Comment #10
elia commentedHere is an error I got when trying to unpublish a comment:
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE postid = 97617' at line 1 query: UPDATE vb3post SET visible = WHERE postid = 97617 in /home/myaccount/public_html/dev/modules/com2vb/com2vb.admin.inc on line 110.
Fixed. I hope :)
See development snapshot tonight.
Comment #11
elia commentedAnd here is an error I got when I just tried to add a new user with "Create the same user in forum" unchecked.
Fatal error: Call to undefined function db_num_rows() in /home/sbc/public_html/dev/modules/com2vb/vbuser.inc on line 61
Function db_num_rows() not used in D6. I forgot this during creating unified module vbuser.inc. This function replaced with PHP native function msql_num_rows().
See development snapshot tonight.
Comment #12
elia commentedComment #13
jasonbrice commentedHi Elia,
Sorry it took so long to get back to you - there was an earthquake here!
No code errors.
Yes, fixed, thanks!