+ Reply to Thread
Results 1 to 11 of 11

Thread: db error when copy threads

Threaded View

  1. #1
    Member xadoa has disabled reputation
    Join Date
    Aug 2004
    Posts
    76

    db error when copy threads

    Hi,

    can someone help me here? I have no problem of moving a thread .. all the option in the mod's popup menu (Moderation Tools under Thread Tools) are working, except when I tried to copy the thread to different forum, and this is the error i got:

    Database error in vBulletin 3.6.0 Beta 2:

    Invalid SQL:

    SELECT post.*,
    deletionlog.userid AS deleteduserid, deletionlog.username AS deletedusername, deletionlog.reason AS deletedreason,
    NOT ISNULL(deletionlog.primaryid) AS isdeleted, deletionlog.dateline AS deleteddateline,
    moderation.dateline AS moderateddateine
    FROM post AS post
    LEFT JOIN deletionlog AS deletionlog ON (deletionlog.primaryid = post.postid AND type = 'post')
    LEFT JOIN moderation AS moderation ON (moderation.postid = post.postid)
    WHERE post.threadid = 44921
    ORDER BY dateline;

    MySQL Error : Column 'type' in on clause is ambiguous
    Error Number : 1052
    Date : Sunday, June 18th 2006 @ 09:06:07 PM
    Script : http://sextalk.sexviet.com/postings....thread&t=44921
    Referrer : http://sextalk.sexviet.com/postings.php?t=44921&pollid=

  2. #2
    vBulletin Team Colin F will become famous soon enough Colin F will become famous soon enough Colin F's Avatar
    Join Date
    May 2004
    Location
    Switzerland
    Posts
    17,575
    First I recommend reuploading all the default vBulletin non-image files in ASCII mode, overwriting your current files. Also, turn off plugins globally in your vBulletin Options. Does this problem still occur then?
    Best Regards
    Colin Frei

    The closer something gets to perfection, the more minute flaws become visible.
    Please don't contact me per PM.

  3. #3
    Member xadoa has disabled reputation
    Join Date
    Aug 2004
    Posts
    76
    i did reuploaded those files, but the problem still existed .. also did the disable the plugin globally as well..
    XD

  4. #4
    vBulletin Team Colin F will become famous soon enough Colin F will become famous soon enough Colin F's Avatar
    Join Date
    May 2004
    Location
    Switzerland
    Posts
    17,575
    In that case please post this in the bug tracker.
    Best Regards
    Colin Frei

    The closer something gets to perfection, the more minute flaws become visible.
    Please don't contact me per PM.

  5. #5
    Member xadoa has disabled reputation
    Join Date
    Aug 2004
    Posts
    76
    Database error in vBulletin 3.6.0 Beta 3:

    Invalid SQL:

    UPDATE post SET
    parentid = CASE WHEN parentid = 489978 THEN 515344 WHEN parentid = 489981 THEN WHEN parentid = 489991 THEN WHEN parentid = 490294 THEN WHEN parentid = 490423 THEN WHEN parentid = 490450 THEN WHEN parentid = 490491 THEN WHEN parentid = 490689 THEN WHEN parentid = 490873 THEN WHEN parentid = 493102 THEN WHEN parentid = 494111 THEN WHEN parentid = 495125 THEN WHEN parentid = 497277 THEN WHEN parentid = 501077 THEN WHEN parentid = 507589 THEN WHEN parentid = 512096 THEN WHEN parentid = 512110 THEN WHEN parentid = 512378 THEN WHEN parentid = 513851 THEN WHEN parentid = 514079 THEN WHEN parentid = 514992 THEN WHEN parentid = 515080 THEN WHEN parentid = 515098 THEN ELSE parentid END
    WHERE threadid = 45387 AND parentid IN (0,489978,489981,489991,490294,490423,490450,49049 1,490689,490873,493102,494111,495125,497277,501077 ,507589,512096,512110,512378,513851,514079,514992, 515080,515098);

    MySQL Error : 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 'WHEN parentid = 489991 THEN WHEN parentid = 490294 THEN WHEN parentid = 490423' at line 2
    Error Number : 1064
    Date : Wednesday, June 21st 2006 @ 08:41:38 AM
    Script : http://sextalk.sexviet.com/postings....thread&t=43520
    Referrer : http://sextalk.sexviet.com/postings.php?t=43520&pollid=
    IP Address : 69.198.115.91
    Username : xadoa
    Classname : vb_database

  6. #6
    Member xadoa has disabled reputation
    Join Date
    Aug 2004
    Posts
    76
    i still have this problem, i can only copy couple threads on my board, which has couple lines only .. the rest having the problem like above post .. and my thread on bug tracker is removed.. so i posted it here .. can someone have a look ..?? i'm really need this function asap.

    PS: I want to copy thread from one to other forums, not moving threads

    mysql version:
    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 3358716 to server version: 4.1.18

    XD

+ Reply to Thread

Similar Threads

  1. Mass Copy Threads urgently required
    By hurri in forum vBulletin Suggestions and Feedback
    Replies: 1
    Last Post: Mon 5th Jun '06, 11:15am
  2. Mass Copy Threads
    By SID297 in forum vBulletin Suggestions and Feedback
    Replies: 5
    Last Post: Wed 19th Jan '05, 1:29pm
  3. When Threads are copied, give a choice to copy Thread Subscriptions as well
    By Ocean in forum vBulletin Suggestions and Feedback
    Replies: 0
    Last Post: Thu 29th Jul '04, 7:19pm
  4. Copy threads and posts only to new server
    By Oddish in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 7
    Last Post: Sun 18th May '03, 1:10pm

Bookmarks

Posting Permissions

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts