I upgraded my live site last Thursday night from vBulletin 4.2.2 to vBulletin 5.1.3 PL1. After the upgrade I didn't notice immediately but the dates for one of the members' blogs had changed to dates in the future, most of them in 2015 which means that nobody else's blog shows in the blogs tab because the system thinks that they are all older. Nothing else was done to these blog posts to change them and the dates were displaying correctly immediately prior to upgrade. The blogs were appearing in the correct chronological order, we were using the blog widget in the vB4 CMS and it was picking up the blogs and ordering them correctly. There were also no error messages during the upgrade, it all appeared to be working correctly, although it took a long time.
I put a support ticket in and the support ticket said that the only way to change this was to make direct changes to the database; but support wouldn't provide support for this.
We didn't do anything to the blogs themselves, all we did was run the upgrade script. So it was the upgrade that corrupted the database, if that's where the incorrect dates are now being served from.
I've taken a copy of the backup database, renamed it and I'm examining it in phpmyadmin in order to try and identify the correct dates so that I can then take the correct dates and put them in the relevant records in the live database. That ought not to be too difficult as although they are displayed in seconds and I'm assuming that's Unix time, it's possible to convert Unix time into Excel time in Excel and check the dates. So all I have to do is check the dates then copy and paste from one record to another. I can also do a trial run on my test installation to check that an amended date displays correctly.
So does anybody know:
- where in the vBulletin tables in vBulletin 4 are the dates that individual blogs are published
- where in the vBulletin tables in vBulletin 5 are the dates that individual blogs are published
Clearly, if I can identify where these records are it ought not to be difficult to make the edits.
Anyone know where these records are located?
I put a support ticket in and the support ticket said that the only way to change this was to make direct changes to the database; but support wouldn't provide support for this.
We didn't do anything to the blogs themselves, all we did was run the upgrade script. So it was the upgrade that corrupted the database, if that's where the incorrect dates are now being served from.
I've taken a copy of the backup database, renamed it and I'm examining it in phpmyadmin in order to try and identify the correct dates so that I can then take the correct dates and put them in the relevant records in the live database. That ought not to be too difficult as although they are displayed in seconds and I'm assuming that's Unix time, it's possible to convert Unix time into Excel time in Excel and check the dates. So all I have to do is check the dates then copy and paste from one record to another. I can also do a trial run on my test installation to check that an amended date displays correctly.
So does anybody know:
- where in the vBulletin tables in vBulletin 4 are the dates that individual blogs are published
- where in the vBulletin tables in vBulletin 5 are the dates that individual blogs are published
Clearly, if I can identify where these records are it ought not to be difficult to make the edits.
Anyone know where these records are located?
Comment