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 02-16-2007, 09:05 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Myself and my users are getting this error message when we click on

"New Posts"

Quote:
Database error in vBulletin 3.6.4:

Invalid SQL:
SELECT searchid FROM search AS search WHERE userid = 1 AND searchhash = 'db6252fd45a322bad2f0de043dd67e12' AND orderedids = '10826,10865,10855,10805,10894,10893,10885,6948,10 615,10886,10897,10733,10909,10326,10908,10907,1090 6,10130,10456,10902,10096,10267,10899,10904,10881, 10903,10861,10901,10900,10898,10895,10829,10851,10 799,10873,10892,10887,10094,9569,10890,10888,10772 ,9299,10825,10884,10869,10868,10882,10847,10880,10 849,10539,10834,10780,10879' AND announceids = '' AND completed = 1;

MySQL Error : Unknown column 'completed' in 'where clause'
Error Number : 1054
Date : Friday, February 16th 2007 @ 02:58:46 PM
Script : http://www.********/forum/search.php?do=getnew
Referrer : http://www.********.com/forum/index.php
IP Address : XXX.XXX.XXX.XXX
Username : **********
Classname : vb_database
What I did yesterday was to re-import the database - for this board - from another site I have. I have VB 3.6.4. Thank you.
Reply With Quote
  #2  
Old 02-17-2007, 06:06 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The database you imported was not a vB 3.6.4 database, please run upgrade.php.
Reply With Quote
  #3  
Old 02-17-2007, 04:18 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Though it was a 3.6.4 I'll run the update.

Quote:
Originally Posted by Marco van Herwaarden View Post
The database you imported was not a vB 3.6.4 database, please run upgrade.php.
On Edit:

Marco I ran the upgrade_364.php and the upgrade_363.php scripts but it came up with this:

Quote:
Your vBulletin version does not appear to match with the version for which this script was created (version 3.6.3).

Please ensure that you are attempting to run the correct script.

If you are sure this is the script you would like to run, click here.
These's also this

Quote:
XML File Versions:

vbulletin-style.xml
vbulletin-settings.xml
vbulletin-language.xml
vbulletin-adminhelp.xml

3.6.4
3.6.4
3.6.4
3.6.4
Reply With Quote
  #4  
Old 02-17-2007, 07:22 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You never need to run the upgrade_XXX.php manually. Only start upgrade.php, it will automatically perform the steps that are needed.
Reply With Quote
  #5  
Old 02-17-2007, 07:54 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

comes up. Also, when I dismiss the "News" in the ACP I get this error:

Quote:
Database error in vBulletin 3.6.4:
Invalid SQL:
UPDATE administrator SET
dismissednews = '11'
WHERE userid = 1;
MySQL Error : Unknown column 'dismissednews' in 'field list'
Error Number : 1054
Date : Saturday, February 17th 2007 @ 01:49:33 PM
Script : http://www.Blah Blahbah.com
Referrer : http://www.Blah Blah . com
IP Address : ***.***.**.**
Username : ***********
Classname : vb_database
Quote:
Originally Posted by Marco van Herwaarden View Post
You never need to run the upgrade_XXX.php manually. Only start upgrade.php, it will automatically perform the steps that are needed.
Reply With Quote
  #6  
Old 02-18-2007, 09:04 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please run the folowing query:

[sql]ALTER TABLE administrator ADD COLUMN `dismissednews` text;[/sql]

If you get a new error abot a missing languageid column after that, also run:


[sql]ALTER TABLE administrator ADD COLUMN `languageid` smallint(5) unsigned NOT NULL default '0';[/sql]
Reply With Quote
  #7  
Old 02-18-2007, 04:25 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll go try it.

Quote:
Originally Posted by Marco van Herwaarden View Post
Please run the folowing query:


SQL Query: (how to run queries)
ALTER TABLE administrator ADD COLUMN `dismissednews` text;


If you get a new error abot a missing languageid column after that, also run:



SQL Query: (how to run queries)
ALTER TABLE administrator ADD COLUMN `languageid` smallint(5) unsigned NOT NULL default '0';
On Edit:

Tt did work for "Dismiss News" in the ACP. Thanks!! But the "New Posts" is still a problem.
Reply With Quote
  #8  
Old 03-02-2007, 10:15 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

problem. BTW, I have upgraded to 3.6.5 and it still han't been fixed.

Thanks.

Quote:
Originally Posted by Marco van Herwaarden View Post
Please run the folowing query:


SQL Query: (how to run queries)
ALTER TABLE administrator ADD COLUMN `dismissednews` text;


If you get a new error abot a missing languageid column after that, also run:



SQL Query: (how to run queries)
ALTER TABLE administrator ADD COLUMN `languageid` smallint(5) unsigned NOT NULL default '0';
Reply With Quote
  #9  
Old 03-04-2007, 12:22 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To fix the search problems run:
[sql]ALTER TABLE search ADD COLUMN `completed` smallint(5) unsigned NOT NULL default '1';[/sql]
Reply With Quote
  #10  
Old 03-04-2007, 03:43 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marco van Herwaarden View Post
To fix the search problems run:

SQL Query: (how to run queries)
ALTER TABLE search ADD COLUMN `completed` smallint(5) unsigned NOT NULL default '1';
I'll try it. It worked!! Thank you Marco!!

Members avatars were not showing back up; some of the members had to re-add them. Is there a query to get them back? Thank you!!
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 01:30 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.04351 seconds
  • Memory Usage 2,257KB
  • 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
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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