View Single Post
  #1  
Old 11-27-2007, 05:09 AM
solong2 solong2 is offline
 
Join Date: Aug 2004
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default The database error and Solutions

here what you need

The problem
PHP Code:
mysql errorUnknown column 'lastthread' in 'field list' 
Solutions

PHP Code:
ALTER TABLE `forumADD `lastthreadCHAR250 NOT NULL 
ALTER TABLE `forumADD `lastthreadidINT10 NOT NULL 
==========

The problem


PHP Code:
mysql errorUnknown column 'u.downloads' in 'where clause' 

Solutions



PHP Code:
ALTER TABLE `userADD `downloadstext NOT NULL
==========

The problem


PHP Code:
mysql errorUnknown column 'avatardata' in 'field list' 

Solutions



PHP Code:
ALTER TABLE `userADD `avatardataINT(10UNSIGNED DEFAULT '0' NOT NULL
==========

The problem

PHP Code:
mysql errorUnknown column 'maxnewthreadtime' in 'field list' 

Solutions


PHP Code:
ALTER TABLE `usergroupADD `maxnewthreadtimeINT(10UNSIGNED DEFAULT '0' NOT NULL

==========

The problem


PHP Code:
MySQL Error Unknown column 'ipaddress' in 'field list' 

Solutions


PHP Code:
ALTER TABLE `moderatorlogADD `ipaddressINT(10UNSIGNED DEFAULT '0' NOT NULL


==========


The problem


PHP Code:
MySQL Error Unknown column 'showbirthday' in 'where clause' 

Solutions




PHP Code:
ALTER TABLE `userADD `showbirthdayMEDIUMBLOB NOT NULL
  
or
  
ALTER TABLE `userADD `showbirthdayINT(10UNSIGNED DEFAULT '0' NOT NULL


==========


The problem


PHP Code:
MySQL Error Unknown column 'receivebulletin' in 'field list' 

Solutions


PHP Code:
ALTER TABLE `userADD `receivebulletinINT(10UNSIGNED DEFAULT '0' NOT NULL

or

ALTER TABLE `userADD `receivebulletin_typeINT(10UNSIGNED DEFAULT '0' NOT NULL


==========


The problem


PHP Code:
MySQL Error Unknown column 'canview' in 'on clause' 


Solutions


PHP Code:
ALTER TABLE `subscribethreadADD `canviewsmallint(5unsigned NOT NULL default '1'


==========

The problem


PHP Code:
MySQL Error Unknown column 'maxnewthread' in 'field list' 


Solutions

PHP Code:
ALTER TABLE `usergroupADD `maxnewthreadINT(10UNSIGNED DEFAULT '0' NOT NULL


==========

The problem



PHP Code:
mysql errorUnknown column 'thread.threadid' in 'on clause' 

Solutions



PHP Code:
ALTER TABLE `threadADD `threadidINT(10UNSIGNED DEFAULT '0' NOT NULL


==========

The problem


PHP Code:
MySQL Error Unknown column 'skype' in 'field list' 


Solutions




PHP Code:
ALTER TABLE `userADD `skypeMEDIUMBLOB NOT NULL


==========

The problem

PHP Code:
MySQL Error Unknown column 'xxxx_vb.setting.grouptitle' in 'on clause' 

Solutions



PHP Code:
ALTER TABLE `settingADD `settinggroupidSMALLINTUNSIGNED DEFAULT '0' NOT NULL


==========

The problem



PHP Code:
MySQL Error  Unknown column 'titleonly' in 'field list' 


Solutions




PHP Code:
ALTER TABLE search ADD titleonly SMALLINT UNSIGNED NOT NULL DEFAULT '0' 



==========

The problem



PHP Code:
mysql errorUnknown column 'customavatar.avatardata' in 'field list' 


Solutions



PHP Code:
ALTER TABLE `customavatarADD `avatardataMEDIUMBLOB NOT NULL

=========

The problem



PHP Code:
MySQL Error Unknown column 'completed' in 'where clause' 


Solutions



PHP Code:
ALTER TABLE search ADD `completedsmallint(5unsigned NOT NULL default '1'

==========

The problem



PHP Code:
MySQL Error Unknown column 'phrasegroup_global' in 'field list' 


Solutions




PHP Code:
ALTER TABLE `languageADD `phrasegroup_globalmediumtext 


==========

The problem



PHP Code:
MySQL Error Can't find FULLTEXT index matching the column list 


Solutions




PHP Code:
ALTER TABLE thread ADD FULLTEXT(title); 


==========

The problem




PHP Code:
MySQL Error Unknown column 'showprivate' in 'field list' 


Solutions




PHP Code:
ALTER TABLE forum ADD showprivate TINYINT UNSIGNED NOT NULL DEFAULT '0'


==========

The problem



PHP Code:
MySQL Error Unknown column 'hhroptions' in 'field list' 

Solutions



PHP Code:
ALTER TABLE `usergroupADD `hhroptionsVARCHAR255 ) DEFAULT '0' NOT NULL 

==========

The problem



PHP Code:
MySQL Error Unknown column 'datatype' in 'field list' 


Solutions



PHP Code:
Alter table `settingADD `datatypeenum('free','number','boolean'NOT NULL default 'free'

==========


The problem



PHP Code:
MySQL Error Unknown column 'defaultsortfield' in 'field list' 


Solutions


PHP Code:
ALTER TABLE forum ADD defaultsortfield VARCHAR(50NOT NULL DEFAULT 'lastpost'

  
ALTER TABLE forum ADD defaultsortorder ENUM('asc''desc'NOT NULL DEFAULT 'desc'
==========



The problem



PHP Code:
MySQL Error Unknown column 'warnings' in 'field list' 


Solutions




PHP Code:
ALTER TABLE user ADD COLUMN `warningsint(10unsigned NOT NULL default '0'


=========

The problem



PHP Code:
MySQL Error Unknown column 'defaultsortorder' in 'field list' 



Solutions



PHP Code:
Alter table `forum`  DROP `defaultsortorder`;    
Alter table `forumDROP `defaultsortorder`;    
 
Alter table `forumADD `defaultsortfieldvarchar(50NOT NULL default 'lastpost';    
   
Alter table `forumADD `defaultsortorderenum('asc','desc'NOT NULL default 'desc';    
Alter table `forumADD `showprivatetinyint(3unsigned NOT NULL default '0'

==========

The problem



PHP Code:
mysql errorUnknown column 'lastvote' in 'field list' 


Solutions




PHP Code:
ALTER TABLE `pollADD `lastvoteINT(15) DEFAULT '0' NOT NULL

==========

The problem



PHP Code:
MySQL Error Unknown column 'executionorder' in 'field list' 



Solutions




PHP Code:
alter table  `pluginadd `executionordersmallint(5unsigned NOT NULL default '5'

==========




The problem



PHP Code:
MySQL Error  Unknown column 'styleid' in 'where clause' 


Solutions



PHP Code:
ALTER TABLE `styleADD `styleidINT(10UNSIGNED DEFAULT '0' NOT NULL

==========

The problem


PHP Code:
MySQL Error  Unknown column 'signaturepermissions' in 'field list' 


Solutions



PHP Code:
alter table usergroup add `signaturepermissionsint(10unsigned NOT NULL default '0'

==========

The problem



PHP Code:
MySQL Error Unknown column 'defaultsortfield' in 'field list' 


Solutions




PHP Code:
Alter table `forum`  DROP `defaultsortfield`;    
Alter table `forumDROP `defaultsortorder`;    
Alter table `forumADD `defaultsortfieldvarchar(50NOT NULL default 'lastpost';    
Alter table `forumADD `defaultsortorderenum('asc','desc'NOT NULL default 'desc';    
Alter table `forumADD `showprivatetinyint(3unsigned NOT NULL default '0'

==========

The problem



PHP Code:
MySQL Error  Unknown column 'field1' in 'field list' 



Solutions






PHP Code:
ALTER TABLE userfield add `field1mediumtext ;  
ALTER TABLE userfield add `field2mediumtext ;  
ALTER TABLE userfield add `field3mediumtext ;  
ALTER TABLE userfield add `field4mediumtext ;  
ALTER TABLE userfield add `field5mediumtext ;  
ALTER TABLE userfield add `field6mediumtext ;  
ALTER TABLE userfield add `field7mediumtext ;  
ALTER TABLE userfield add `field8mediumtext ;  
ALTER TABLE userfield add `field9mediumtext ;  
ALTER TABLE userfield add `field10mediumtext ;  
ALTER TABLE userfield add `field11mediumtext ;  
ALTER TABLE userfield add `field12mediumtext ;  
ALTER TABLE userfield add `field13mediumtext ;  
ALTER TABLE userfield add `field14mediumtext 


==========





The problem

رمز PHP:
PHP Code:
MySQL Error  Unknown column 'whoviewed' in 'field list' 


Solutions




PHP Code:
ALTER TABLE `threadADD `whoviewedINT(10UNSIGNED DEFAULT '0' NOT NULL

==========



The problem




PHP Code:
MySQL Error Unknown column 'ipaddress' in 'field list' 


Solutions



PHP Code:
ALTER TABLE `moderatorlogADD `ipaddressMEDIUMBLOB NOT NULL
==========

The problem



PHP Code:
MySQL Error Unknown column 'user.htmail' in 'field list' 


Solutions



PHP Code:
ALTER TABLE `userCHANGE `htmail` `msnVARCHAR100 CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL

==========

The problem



PHP Code:
MySQL Error  Unknown column 'userfield.field16' in 'field list' 


Solutions



PHP Code:
ALTER TABLE userfield ADD `field16mediumtext
==========



The problem



PHP Code:
MySQL Error  Unknown column 'adminoptions' in 'field list' 


Solutions




PHP Code:
ALTER TABEL user ADD `adminoptionsint(10unsigned NOT NULL default '0'

==========

The problem



PHP Code:
MySQL Error  Unknown column 'infractiongroupid' in 'field list' 


Solutions




PHP Code:
ALTER TABEL user ADD `infractiongroupidsmallint(5unsigned NOT NULL default '0'

==========

The problem

PHP Code:
mysql errorUnknown column 'title' in 'where clause' 

Solutions




PHP Code:
Alter table `profilefieldadd `titlevarchar(50NOT NULL default ''

==========

The problem



PHP Code:
MySQL Error Unknown column 'customprofilepic.width' in 'field list' 


Solutions




PHP Code:
ALTER TABLE customprofilepic ADD `widthsmallint(5unsigned NOT NULL default '0'


==========

The problem



PHP Code:
MySQL Error Unknown column 'post_parsed.styleid_code' in 'on clause' 


Solutions


PHP Code:
ALTER  TABLE  `post_parsedADD `styleid_codeint(11NOT NULL default '-1'
==========

The problem



PHP Code:
MySQL Error Unknown column 'maxnewthread' in 'field list' 


Solutions


PHP Code:
ALTER TABLE `usergroupADD `maxnewthreadINT11 ) DEFAULT '0' NOT NULL ;  
ALTER TABLE `usergroupADD `maxnewtimeINT11 ) DEFAULT '0' NOT NULL ;  
ALTER TABLE `usergroupADD `maxnewpostINT11 ) DEFAULT '0' NOT NULL ;  
ALTER TABLE `usergroupADD `maxnewposttimeINT11 ) DEFAULT '0' NOT NULL 

==========

The problem



PHP Code:
MySQL Error  Unknown column 'lastpostid' in 'field list' 


Solutions




PHP Code:
ALTER TABLE user ADD `lastpostidint(10unsigned NOT NULL default '0'
==========

The problem



PHP Code:
MySQL Error Unknown column 'infractiongroupid' in 'field list' 

Solutions




PHP Code:
ALTER TABLE `infractiongroupADD `infractiongroupidint(10unsigned NOT NULL auto_increment;
  
  
or
  
  
ALTER TABLE user ADD `infractiongroupidsmallint(5unsigned NOT NULL default '0' 


==========

The problem



PHP Code:
MySQL Error Unknown column 'grouptitle' in 'from 


Solutions



PHP Code:
ALTER TABLE `settinggroupADD `grouptitlevarchar(50NOT NULL


==========
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01885 seconds
  • Memory Usage 2,084KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (84)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete