Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-27-2009, 10:49 AM
Ahmet Turan Ahmet Turan is offline
 
Join Date: Dec 2006
Location: Mersin
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default DataBase Error

Hi
I want to Upgrade my forum is 3.6.8 to 3.8.0 But It craete a problem

How did I do ?
first
Donwload this version 3.8.0 after Upload my forums root .
I run install/Upgrade.php after I have a problem
A problem
PHP Code:
Database error in vBulletin 3.6.8: 

Invalid SQL: 
UPDATE album SET state = 'private' WHERE public = 0; 

MySQL Error   : Unknown column 'public' in 'where clause' 
Error Number  : 1054 
Request Date  : Monday, January 26th 2009 @ 05:44:55 PM 
Error Date    : Monday, January 26th 2009 @ 05:44:55 PM 
Script        : http://www.webilgi.com/install/upgrade_370b4.php?step=1 
Referrer      : http://www.webilgi.com/install/upgrade_370b4.php?rand=966 
IP Address    : 78.188.14.90 
Username      :  
Classname     : vb_database 
MySQL Version : 5.0.67-community 


Secondes

Download 3.6.9
3.6.10
3.6.11
3.6.12
again same problem


Can you help me ?
Reply With Quote
  #2  
Old 01-27-2009, 11:14 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To troubleshoot this do the following:

- Create a new empty database.
- Restore the backup you created before upgrading into this new database.
- Alter your config.php to point to the new database
- Run the upgrade.php script again
Reply With Quote
  #3  
Old 01-27-2009, 12:37 PM
Ahmet Turan Ahmet Turan is offline
 
Join Date: Dec 2006
Location: Mersin
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx this answer
But my db 350 mb its very big.
Reply With Quote
  #4  
Old 01-27-2009, 12:52 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Size doesn't change the steps needed to solve your problem.
Reply With Quote
  #5  
Old 01-27-2009, 03:08 PM
Ahmet Turan Ahmet Turan is offline
 
Join Date: Dec 2006
Location: Mersin
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Size doesn't change the steps needed to solve your problem.
Sorry

A little speak english, I don't understand and can you eaysly?
Reply With Quote
  #6  
Old 01-27-2009, 03:12 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you run through the whole upgrade.php script without problems? Try running it again.
Reply With Quote
  #7  
Old 01-27-2009, 05:58 PM
Ahmet Turan Ahmet Turan is offline
 
Join Date: Dec 2006
Location: Mersin
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Step first full
step two not complete ( that db problem )
and not try again

--------------- Added [DATE]1233090366[/DATE] at [TIME]1233090366[/TIME] ---------------

try again
PHP Code:
Step 2) Table Data Updates

    * Altering poll Table (1 of 1)
    * Altering calendarcustomfield Table (1 of 1)
    * Altering usergroup Table (1 of 1)
    * Altering moderator Table (1 of 1)

Database Error     Database error
The ..:: WeBiLGi ::.. database has encountered a problem.
Please try the following:

    * Load the page again by clicking the Refresh button in your web browser.
    * Open the www.webilgi.com home page, then try to open another page.
    * Click the Back button to try another link.

The www.webilgi.com forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.
Database error in vBulletin 3.6.8: Invalid SQL: UPDATE moderator SET permissions2 = permissions2 | IF(permissions & 1, 32768, 0) | IF(permissions & 2, 8192, 0) | IF(permissions & 131072, 16384, 0) | IF(permissions & 64, 4096, 0); MySQL Error : Unknown column 'permissions2' in 'field list' Error Number : 1054 Request Date : Tuesday, January 27th 2009 @ 11:04:48 PM Error Date : Tuesday, January 27th 2009 @ 11:04:48 PM Script : http://www.webilgi.com/install/upgrade_370b4.php?step=2 Referrer : http://www.webilgi.com/install/upgrade_370b4.php?step=1 IP Address : 78.188.14.90 Username : Classname : vb_database MySQL Version : 5.0.67-community

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE moderator SET
            permissions2 = permissions2 |
                IF(permissions & 1, 32768, 0) |
                IF(permissions & 2, 8192, 0) |
                IF(permissions & 131072, 16384, 0) |
                IF(permissions & 64, 4096, 0);

MySQL Error   : Unknown column 'permissions2' in 'field list'
Error Number  : 1054
Request Date  : Tuesday, January 27th 2009 @ 11:04:48 PM
Error Date    : Tuesday, January 27th 2009 @ 11:04:48 PM
Script        : http://www.webilgi.com/install/upgrade_370b4.php?step=2
Referrer      : http://www.webilgi.com/install/upgrade_370b4.php?step=1
IP Address    : 78.188.14.90
Username      : 
Classname     : vb_database
MySQL Version : 5.0.67-community 
--------------- Added [DATE]1233132297[/DATE] at [TIME]1233132297[/TIME] ---------------

--------------- Added [DATE]1233132346[/DATE] at [TIME]1233132346[/TIME] ---------------

Fisrt db Error
PHP Code:
Step 2) Table Data Updates

    * Altering poll Table (1 of 1)
    * Altering calendarcustomfield Table (1 of 1)
    * Altering usergroup Table (1 of 1)
    * Altering moderator Table (1 of 1)

Database Error     Database error
The ..:: WeBiLGi ::.. database has encountered a problem.
Please try the following:

    * Load the page again by clicking the Refresh button in your web browser.
    * Open the www.webilgi.com home page, then try to open another page.
    * Click the Back button to try another link.

The www.webilgi.com forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.
Database error in vBulletin 3.6.8: Invalid SQL: UPDATE moderator SET permissions2 = permissions2 | IF(permissions & 1, 32768, 0) | IF(permissions & 2, 8192, 0) | IF(permissions & 131072, 16384, 0) | IF(permissions & 64, 4096, 0); MySQL Error : Unknown column 'permissions2' in 'field list' Error Number : 1054 Request Date : Tuesday, January 27th 2009 @ 11:04:48 PM Error Date : Tuesday, January 27th 2009 @ 11:04:48 PM Script : http://www.webilgi.com/install/upgrade_370b4.php?step=2 Referrer : http://www.webilgi.com/install/upgrade_370b4.php?step=1 IP Address : 78.188.14.90 Username : Classname : vb_database MySQL Version : 5.0.67-community

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE moderator SET
            permissions2 = permissions2 |
                IF(permissions & 1, 32768, 0) |
                IF(permissions & 2, 8192, 0) |
                IF(permissions & 131072, 16384, 0) |
                IF(permissions & 64, 4096, 0);

MySQL Error   : Unknown column 'permissions2' in 'field list'
Error Number  : 1054
Request Date  : Tuesday, January 27th 2009 @ 11:04:48 PM
Error Date    : Tuesday, January 27th 2009 @ 11:04:48 PM
Script        : http://www.webilgi.com/install/upgrade_370b4.php?step=2
Referrer      : http://www.webilgi.com/install/upgrade_370b4.php?step=1
IP Address    : 78.188.14.90
Username      : 
Classname     : vb_database
MySQL Version : 5.0.67-community 
solution (to a problem)
PHP Code:
alter table `moderator` add `permissions2` int(10) unsigned NOT NULL default '0'; 

Secondes DB Error
PHP Code:
Database error in vBulletin 3.8.0:

Invalid SQL:

SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount, lastpostid, lastprefixid

FROM forum AS forum;

MySQL Error : Unknown column 'lastprefixid' in 'field list'
Error Number : 1054
Request Date : Wednesday, January 28th 2009 @ 09:17:54 AM
Error Date : Wednesday, January 28th 2009 @ 09:17:56 AM
Script : ..:: WeBiLGi ::.. Database Error
Referrer : webilgi - Google'da Ara
IP Address : 78.188.14.90
Username : prAmid
Classname : vb_database
MySQL Version : 5.0.67-community 
solution (to a problem)
PHP Code:
alter table `forum` ADD  `lastprefixid` varchar(25) NOT NULL default ''; 
Reply With Quote
  #8  
Old 01-28-2009, 09:11 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The more you try to fix this, the more you probably are corrupting your database.

I gave you instructions on how to solve this problem in post #2
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:38 PM.


Powered by vBulletin® Version 3.9.0
Copyright ©2000 - 2017, vBulletin Solutions Inc.