Previous Thread
Next Thread
Print Thread
Hop To
#197217 09/14/2007 3:29 AM
Joined: Oct 2006
Posts: 1
A
stranger
stranger
A Offline
Joined: Oct 2006
Posts: 1
After uploading all of the changed files from a 7.1.1 version to 7.2 and running the upgrade.php script, I've encountered the following error:


Code
We encountered a problem. The reason reported was

Script: /var/www/vhosts/domain.com/httpdocs/dir/libs/ubbthreads.inc.php
Line#: 2231
SQL Error: Unknown column 't1.USER_RULES_ACCEPTED' in 'field list'
SQL Error #: 1054
Query: select t2.USER_TIME_OFFSET,t2.USER_TOPIC_VIEW_TYPE,t2.USER_TIME_FORMAT,t1.USER_DISPLAY_NAME,t1.USER_PASSWORD,t1.USER_SESSION_ID, t1.USER_MEMBERSHIP_LEVEL, t2.USER_TOTAL_PM, t1.USER_ID, t1.USER_IS_BANNED,t1.USER_IS_UNDERAGE, t2.USER_STYLE,t2.USER_HIDE_LEFT_COLUMN,t2.USER_HIDE_RIGHT_COLUMN,t2.USER_LANGUAGE,t2.USER_MOOD,t2.USER_RELATIVE_TIME,t1.USER_RULES_ACCEPTED from ubbt_USERS AS t1, ubbt_USER_PROFILE as t2 where t1.USER_ID = '2' and t1.USER_ID = t2.USER_ID


Please click back to return to the previous page.

Any idea what happened? Thanks.

- Absinthe

Joined: Aug 2006
Posts: 1,360
Likes: 2
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,360
Likes: 2
The USER_RULES_ACCEPTED is a new column for ubb 7.2. Maybe something went wrong in the upgrade that it was not created.

Try this one:

Code
ALTER TABLE `ubbt_USERS` ADD `USER_RULES_ACCEPTED` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0'

This will add the new column.


[Linked Image from siemons.org]

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (1 invisible), 304 guests, and 96 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)