vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vbBux / vbPlaza (https://vborg.vbsupport.ru/forumdisplay.php?f=171)
-   -   BUG in 1.5.7 - Cant delete thread or merge (https://vborg.vbsupport.ru/showthread.php?t=120169)

DJ XtAzY 07-02-2006 08:59 PM

BUG in 1.5.7 - Cant delete thread or merge
 
when my mods were deleting or merging threads, they came across this error message

Code:

Database error in vBulletin 3.5.4:
Invalid SQL:
    UPDATE TABLEPREFIXuser AS user, post AS post
    SET
    `user.vbbux` = `user.vbbux` + `post.vbbux`
    WHERE
    post.threadid = '13790'
    AND user.userid = post.userid;
MySQL Error  : Table 'forums.TABLEPREFIXuser' doesn't exist
Error Number : 1146
Date        : Sunday, July 2nd 2006 @ 05:57:47 PM
Script      : http://xxx.xxx/inlinemod.php
Referrer    : http://xxx.xxx/inlinemod.php
IP Address  :
Username    :
Classname    : vB_Database_MySQLi

changing the word TABLEPREFIX to TABLE_PREFIX in files vbplaza_threaddata_delete.php and vbplaza_postdata_delete.php now gave me this error

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:

                                UPDATE user AS user, post AS post
                                SET
                                        `user.vbbux` = `user.vbbux` + `post.vbbux`
                                WHERE
                                        post.threadid = '13790'
                                        AND user.userid = post.userid;

MySQL Error  : Unknown column 'user.vbbux' in 'field list'
Error Number : 1054
Date        : Sunday, July 2nd 2006 @ 08:04:54 PM
Script      : http://xxx.xxx/inlinemod.php
Referrer    : http://xxx.xxx/inlinemod.php
IP Address  :
Username    :
Classname    : vB_Database_MySQLi

i also get strange html markups when editting posts

CMX_CMGSCCC 07-13-2006 07:30 PM

Yes, TABLEPREFIX should be TABLE_PREFIX.

It will be fixed in v1.5.8

-CMX

Datacenter1.com 07-13-2006 11:53 PM

I still getting this after 1.5.8 upgrade
Code:

Database error in vBulletin 3.5.4:

Invalid SQL:

                                UPDATE user AS user, post AS post
                                SET
                                        `user.vbbux` = `user.vbbux` + `post.vbbux`
                                WHERE
                                        post.threadid = '3242'
                                        AND user.userid = post.userid;

MySQL Error  : Unknown column 'user.vbbux' in 'field list'
Error Number : 1054
Date        : Thursday, July 13th 2006 @ 08:50:09 PM

Any ideas how to fix this?

SMO 07-15-2006 03:12 AM

i get the error as well when deleting posts. I can delete the posts when vbbux is disabled.

Nathan2006 07-16-2006 12:08 AM

Quote:

Originally Posted by Datacenter1.com
I still getting this after 1.5.8 upgrade
Code:

Database error in vBulletin 3.5.4:
 
Invalid SQL:
 
                UPDATE user AS user, post AS post
                SET
                    `user.vbbux` = `user.vbbux` + `post.vbbux`
                WHERE
                    post.threadid = '3242'
                    AND user.userid = post.userid;
 
MySQL Error  : Unknown column 'user.vbbux' in 'field list'
Error Number : 1054
Date        : Thursday, July 13th 2006 @ 08:50:09 PM

Any ideas how to fix this?

I'm getting the exact same error when trying to delete posts :( running 1.58 on 3.54

Nathan2006 07-17-2006 11:43 PM

Is there any fix for this?

I cannot keep disabling the product every time I want to delete a post :(

DJ XtAzY 07-19-2006 03:20 AM

yep same error message still

Nathan2006 07-26-2006 06:19 PM

Members are even getting errors while replying to threads :(

Is there ever going to be a fix for this?

My mods are going on at me cos they cannot delete anything :(

If I disable the Vplaza and re enable it then it keeps resetting my templates and I have to add all the code for everything again.

Quote:

Database error in vBulletin 3.5.4:

Invalid SQL:

UPDATE user AS user, post AS post
SET
`user.vbbux` = `user.vbbux` + `post.vbbux`
WHERE
post.postid = '2050'
AND user.userid = post.userid;

MySQL Error : Unknown column 'user.vbbux' in 'field list'
Error Number : 1054
Date : Wednesday, July 26th 2006 @ 08:13:40 PM
Script : http://www.******.com/newreply.php
Referrer
:
http://www.******.com/newreply.php?d...quote=1&p=2048
IP
Address : **.*.**.**
Username : Mickey Mouse
Classname : vb_database

moonclamp 08-16-2006 06:18 PM

I'm having the same problem since upgrading to 1.5.8

Any ideas anyone as this is causing me real problems?

I also can't downgrade to an older version without getting a load of errors :(

EDIT

OK scrap that I think I found the fix.

https://vborg.vbsupport.ru/showthread.php?t=120624

(the first "table_prefix" part was already fixed, the removal of the ' wasn't

Thanks Geek ;)

Hoffi 10-03-2006 08:37 PM

Use a good Editor like Dreamweaver and Use a Diresctory Search and Replace and Replace the `with nothing in every File in the Plugin Directory. Works for me. Bad Bug, really.


All times are GMT. The time now is 11:50 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01094 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete