Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 225
M
enthusiast
enthusiast
M Offline
Joined: Jun 2006
Posts: 225
Hi,

I've upgraded a site that was running on 6.2.3 to 6.5

Ran the previous altertables which ran and it completed.

When going to the main menu I was told that 2 fields had not been created, these were both in Users, and were U_OC_Userid and U_TimeFormat. I added these manually based on another site so they were the correct fields, and this was ok.

However going into the admin menu there are no users listed, and the version number has not upgraded, so it looks like something hasn't run. If I try to go back and rerun the upgrade, it says it is already upgraded and takes me to the front page.

Any idea whats gone wrong?

Thanks


Join Europes biggest BMW M Car owners site
M-Torque - www.mtorque.co.uk
Joined: Jun 2006
Posts: 225
M
enthusiast
enthusiast
M Offline
Joined: Jun 2006
Posts: 225
Also had these errors

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in i:\webs\www.audisport.net\pub_html\ubbthreads\mysql.inc.php on line 140


Join Europes biggest BMW M Car owners site
M-Torque - www.mtorque.co.uk
Joined: Jun 2006
Posts: 225
M
enthusiast
enthusiast
M Offline
Joined: Jun 2006
Posts: 225
Warning: fwrite(): supplied argument is not a valid stream resource in I:\webs\www.audisport.net\pub_html\ubbthreads\install\upgrade.php on line 230

Warning: fclose(): supplied argument is not a valid stream resource in I:\webs\www.audisport.net\pub_html\ubbthreads\install\upgrade.php on line 231


Join Europes biggest BMW M Car owners site
M-Torque - www.mtorque.co.uk
Joined: Jun 2006
Posts: 225
M
enthusiast
enthusiast
M Offline
Joined: Jun 2006
Posts: 225
I've got the users back, as the cache table didnt have information, but now I see that existing PM's are showing as all from "Deleted User" which isnt right.

New messages are ok, but existing ones seem to be a bit astray..


Join Europes biggest BMW M Car owners site
M-Torque - www.mtorque.co.uk
Joined: Apr 2004
Posts: 67
D
journeyman
journeyman
D Offline
Joined: Apr 2004
Posts: 67
It sounds like one of the altertables either did not get executed or was not completed. Possibly the 6.3-6.4 altertable. You might try re-running it, or try Josh's SQL query in this topic.

Joined: Jun 2006
Posts: 225
M
enthusiast
enthusiast
M Offline
Joined: Jun 2006
Posts: 225
Thanks.. ive run that query, but im still stuck with the messages from deleted user problem.?


Join Europes biggest BMW M Car owners site
M-Torque - www.mtorque.co.uk
Joined: Jun 2006
Posts: 742
enthusiast
enthusiast
Joined: Jun 2006
Posts: 742
This seems alot like an old bug with the installer. Did you have alot of PMs? One of the altertables (maybe 6.2) used to time out and essentially lose all the user ids for the private messages.

https://www.ubbcentral.com/boards/showflat.php?Cat=0&Board=UBB8&Number=21374

Basically all PMs got reset to user #1 (which will appear as deleted user)

Although you were already on 6.2.... so you should have been past that hurdle.

Is it possible that you accidentally ran the 6.1-6.2 altertable. None of the altertables from 6.2 through 6.5 do anything at all to the Private Messages table. So there must be something else amis.

At this point, if all PMs have been assigned to user#1, then there's not much you can do about it, other than restore a backup of the w3t_Messages table. Searching through the altertables, I don't believe there were any changes to the w3t_Messages table, so plunking the old table back in there should be fine.


Joshua Pettit
Web Developer
www.ThreadsDev.net | www.JoshuaPettit.com

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Bots
by Outdoorking - 04/13/2024 5:08 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
Who's Online Now
1 members (Ruben), 998 guests, and 183 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)