Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
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  
MondayJanuary 26th 2009 05:44:55 PM 
Error Date    
MondayJanuary 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 2Table 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 pagethen 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 errorthough you may contact them if the problem persists.
 
We apologise for any inconvenience.
Database error in vBulletin 3.6.8Invalid SQLUPDATE moderator SET permissions2 permissions2 | IF(permissions 1327680) | IF(permissions 281920) | IF(permissions 131072163840) | IF(permissions 6440960); MySQL Error Unknown column 'permissions2' in 'field list' Error Number 1054 Request Date TuesdayJanuary 27th 2009 11:04:48 PM Error Date TuesdayJanuary 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 1327680) |
                IF(
permissions 281920) |
                IF(
permissions 131072163840) |
                IF(
permissions 6440960);

MySQL Error   Unknown column 'permissions2' in 'field list'
Error Number  1054
Request Date  
TuesdayJanuary 27th 2009 11:04:48 PM
Error Date    
TuesdayJanuary 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 2Table 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 pagethen 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 errorthough you may contact them if the problem persists.
 
We apologise for any inconvenience.
Database error in vBulletin 3.6.8Invalid SQLUPDATE moderator SET permissions2 permissions2 | IF(permissions 1327680) | IF(permissions 281920) | IF(permissions 131072163840) | IF(permissions 6440960); MySQL Error Unknown column 'permissions2' in 'field list' Error Number 1054 Request Date TuesdayJanuary 27th 2009 11:04:48 PM Error Date TuesdayJanuary 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 1327680) |
                IF(
permissions 281920) |
                IF(
permissions 131072163840) |
                IF(
permissions 6440960);

MySQL Error   Unknown column 'permissions2' in 'field list'
Error Number  1054
Request Date  
TuesdayJanuary 27th 2009 11:04:48 PM
Error Date    
TuesdayJanuary 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 `moderatoradd `permissions2int(10unsigned NOT NULL default '0'

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

Invalid SQL:

SELECT forum.forumidlastpostlastposterlastthreadlastthreadidlasticonidthreadcountreplycountlastpostidlastprefixid

FROM forum 
AS forum;

MySQL Error Unknown column 'lastprefixid' in 'field list'
Error Number 1054
Request Date 
WednesdayJanuary 28th 2009 09:17:54 AM
Error Date 
WednesdayJanuary 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 `forumADD  `lastprefixidvarchar(25NOT 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 05:02 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04138 seconds
  • Memory Usage 2,292KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (6)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete