Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-29-2010, 05:58 PM
BrightStar's Avatar
BrightStar BrightStar is offline
 
Join Date: Nov 2008
Location: UK
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Database error

Right, I've posted this in vbulletin forums as well but it seems people are not interested that much as this was caused because of a modification.


I installed something called macro google search and forget to disable/uninstall it before the upgrade from 3.8.4 to 4.0.1 https://vborg.vbsupport.ru/showthread.php?t=213169

Now I am continuously having issues. I have contacted the author and he hasnt got much to say.

Quote:
Database error in vBulletin 4.0.1:

Invalid SQL:

REPLACE INTO _forumsearch (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (0, '65.55.207.51', 1, 'Admin', '', 'post.dateline', 'DESC', 0.00067, 1, '154,122', 1264426506, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{} s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:1;s:9:\" Admin\";}s:6:\"forums\";i:0;s:7:\"options\";a:3:{s :11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s :6:\"action\";s:7:\"process\";}}', '56afe16364533af30d1ac1c02ae288fa');

MySQL Error : Table 'dgkhan_forum._forumsearch' doesn't exist
Error Number : 1146
Request Date : Monday, January 25th 2010 @ 01:35:06 PM
Error Date : Monday, January 25th 2010 @ 01:35:06 PM
Script : http://www.forums.org/forum/post_tha..._user_gave&u=1
Referrer :
IP Address : 65.55.207.51
Username : Unregistered
Classname : vB_Database
MySQL Version :

Please help
Reply With Quote
  #2  
Old 01-29-2010, 06:47 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to unintall it correctly. Read the install instructions and do it all backwards - that includes removing any files the author had to upload to the site.
Reply With Quote
  #3  
Old 01-30-2010, 08:32 AM
BrightStar's Avatar
BrightStar BrightStar is offline
 
Join Date: Nov 2008
Location: UK
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've uninstalled it from the products page and it doesnt appear in the forum anywhere. The mod only had one xml file uploaded. When I search in my forum, I don't get any sort of database error emails but some unregister users do it (God knows which way) and I get those emails.

56afe16364533af30d1ac1c02ae288fa keeps changing all the time.
Reply With Quote
  #4  
Old 01-30-2010, 02:48 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is the searchhash, it should change all the time.

I just looked at the mod you linked to and I don't think it has anything to do with your error. Do you have a table called "_forumsearch" in your database?
Reply With Quote
  #5  
Old 01-30-2010, 06:56 PM
BrightStar's Avatar
BrightStar BrightStar is offline
 
Join Date: Nov 2008
Location: UK
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Lynne. I've just checked and that's what I've got in the database



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

Actually searching the error brings quite a few result including this one.

https://vborg.vbsupport.ru/showthread.php?t=165869

Post no 5 suggests running this command in the above thread

Quote:
ALTER TABLE search ADD prefixchoice MEDIUMTEXT NULL;
Would that fix it?

I am not sure where the error comes from because when I search in the forum, I dont get any erros?
Reply With Quote
  #6  
Old 01-30-2010, 08:30 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, I see what the problem is... that query is from an addon because there is no table called search (or, with your prefix, _forumsearch) any longer. So, disable the modification and the error will go away.
Reply With Quote
  #7  
Old 03-18-2010, 08:41 PM
BrightStar's Avatar
BrightStar BrightStar is offline
 
Join Date: Nov 2008
Location: UK
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am still getthing email database error email on regular basis? Someone please help me figure it out.

Quote:
Database error in vBulletin 4.0.2:

Invalid SQL:

REPLACE INTO _forumsearch (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (0, '213.180.209.11', 1, 'Username', '', 'post.dateline', 'DESC', 0.00078, 1, '9,1', 1268918496, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{} s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:1;s:9:\" Usernamer\";}s:6:\"forums\";i:0;s:7:\"options\";a: 3:{s:11:\"starteronly\";i:0;s:11:\"childforums\";i :1;s:6:\"action\";s:7:\"process\";}}', '7be8713902c56850e20efb36319295f5');

MySQL Error : Table 'form_forum._forumsearch' doesn't exist
Error Number : 1146
Request Date : Thursday, March 18th 2010 @ 01:21:36 PM
Error Date : Thursday, March 18th 2010 @ 01:21:36 PM
Script : http://www.form.org/forum/post_thank...findthanks&u=1
Referrer :
IP Address : 213.180.209.11
Username : Unregistered
Classname : vB_Database
MySQL Version :
Reply With Quote
  #8  
Old 03-18-2010, 08:50 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it seems like the search table is missing. try to recreate it and see if it would help.
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:47 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.05157 seconds
  • Memory Usage 2,235KB
  • Queries Executed 13 (?)
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
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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