PDA

View Full Version : Error when upgrading.


rareclownfish
Sun 11th May '08, 1:00pm
Database error in vBulletin 3.7.0 Beta 2:
Invalid SQL:
ALTER TABLE vb_album
CHANGE userid userid INT UNSIGNED NOT NULL DEFAULT '0',
CHANGE createdate createdate INT UNSIGNED NOT NULL DEFAULT '0',
CHANGE lastpicturedate lastpicturedate INT UNSIGNED NOT NULL DEFAULT '0',
CHANGE picturecount picturecount INT UNSIGNED NOT NULL DEFAULT '0',
CHANGE title title VARCHAR(100) NOT NULL DEFAULT '',
CHANGE description description TEXT,
CHANGE coverpictureid coverpictureid INT UNSIGNED NOT NULL DEFAULT '0';
MySQL Error : Unknown column 'picturecount' in 'vb_album'
Error Number : 1054
Request Date : Sunday, May 11th 2008 @ 11:56:13 AM
Error Date : Sunday, May 11th 2008 @ 11:56:13 AM
Script : http://www.rareclownfish.com/forums/install/upgrade_370b3.php?step=2
Referrer : http://www.rareclownfish.com/forums/install/upgrade_370b3.php?step=1
IP Address :
Username :
Classname : vb_database
MySQL Version : 4.1.22-standard


How do I fix this? Thanks

Jose Amaral Rego
Sun 11th May '08, 6:26pm
http://www.vbulletin.com/forum/showpost.php?p=1556467&postcount=2

There is no 'picturecount' field in the 3.7.0 album table. This is from an old file or an add-on.

To troubleshoot this, first reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version and that none show 'File does not contain expected contents':

Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

[Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

Next, disable all plugins.

Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Then if you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it.

rareclownfish
Sun 11th May '08, 7:03pm
Thanks