vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   DataBase Error (https://vborg.vbsupport.ru/showthread.php?t=203246)

Ahmet Turan 01-27-2009 10:49 AM

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 ?

Marco van Herwaarden 01-27-2009 11:14 AM

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

Ahmet Turan 01-27-2009 12:37 PM

Thanx this answer
But my db 350 mb its very big.

Marco van Herwaarden 01-27-2009 12:52 PM

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

Ahmet Turan 01-27-2009 03:08 PM

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?

Lynne 01-27-2009 03:12 PM

Did you run through the whole upgrade.php script without problems? Try running it again.

Ahmet Turan 01-27-2009 05:58 PM

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 ''


Marco van Herwaarden 01-28-2009 09:11 AM

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


All times are GMT. The time now is 03:08 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01205 seconds
  • Memory Usage 1,798KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete