Previous Thread
Next Thread
Print Thread
Hop To
#45296 07/26/2005 8:04 PM
Joined: Apr 2004
Posts: 28
D
newbie
newbie
D Offline
Joined: Apr 2004
Posts: 28
Our forums have been upgraded from 6.2.3 to 6.5.1.1 but it appears one or more of the altertable scripts hasn't run properly. The forum is up but when you try and post or edit a user or search we get errors about missing fields and tables in the database. Can I just re-run the altertable scripts or do I need to fix each error individually using SQL commands?

Cheeers for any help.

Rob

#45297 07/26/2005 9:11 PM
Joined: Dec 2003
Posts: 613
Likes: 6
Former Developer
Former Developer
Joined: Dec 2003
Posts: 613
Likes: 6
Hello Rob,

Can you be more specific as to the exact nature of the error? What fields are being complained about?


Charles Capps
Former UBB.classic Maintainer
#45298 07/27/2005 5:09 AM
Joined: Apr 2004
Posts: 28
D
newbie
newbie
D Offline
Joined: Apr 2004
Posts: 28
Hi charles

When we try and edit a users profile we get the following error

-------------------------------------------------------------------
Script: D:\wwwroot\www_fishingwarehouse_co_uk\ubbthreads\admin\showuser.php
Line#: 67
SQL Error: Unknown column 'U_FloodControl' in 'field list'
SQL Error #: 1054
Query: SELECT (field list truncated to fix page) FROM w3t_Users WHERE U_Number='3569'
---------------------------------------------------------------------

When we try and search for anything we get the following error

-----------------------------------------------------------------
Script: D:\wwwroot\www_fishingwarehouse_co_uk\ubbthreads\dosearch.php
Line#: 263
SQL Error: Table 'fw_ubb.w3t_searchresults' doesn't exist
SQL Error #: 1146
Query: DELETE FROM w3t_SearchResults WHERE S_Session='2765ec260c3db414e214d1fb80a9f449' OR S_SearchTime < 1122368752
---------------------------------------------------------------

We also get an error when we try to post but at the moment we've got a maximum thread execution time out error due to sessions not working properly. Our host is trying to fix this but I'm sure the missing fields/tables is another problem.

I've also fixed a couple of errors already and it seems to be the altertable-6.5.php script that hasn't completed properly although I can't find where it creates the searchresults table.

I wondered if I could just re-run this script or not?

Cheers

Rob

Last edited by Charles Capps; 07/28/2005 12:15 AM.
#45299 07/28/2005 12:15 AM
Joined: Dec 2003
Posts: 613
Likes: 6
Former Developer
Former Developer
Joined: Dec 2003
Posts: 613
Likes: 6
You shouldn't be running that particular altertable script on your own - it's meant to be run by the upgrade scripts. Did the upgrade scripts complete the entire process, including updating your language files, etc? Were there any errors in that process?


Charles Capps
Former UBB.classic Maintainer

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
8.0.1 Patch Changelog Discussion
by isaac - 11/26/2025 1:34 PM
Upgraded to ver8 - now can't login
by phoenix011235 - 10/24/2024 8:50 AM
Who's Online Now
1 members (Phun), 259 guests, and 127 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)