vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Only one database error on vb4 (or is it?) (https://vborg.vbsupport.ru/showthread.php?t=228088)

cory_booth 11-16-2009 08:40 AM

Only one database error on vb4 (or is it?)
 
Well after 48 hours or so, it seems everything is working alright.
Yep, its a bit messy and some of the layout is messed up, but overall things seem to be working.

However I do get one reoccuring database error.

I see a table missing, but I also see this coming from unregistered.
I checked my backup - yep table is there.
Table is not in the VB4 database.

So are these errors simply search engine caches or do I need to dig up the install scripts and find this table?

PHP Code:

Database error in vBulletin 4.0.0 Beta 3:

Invalid SQL:

                
SELECT tagsearch.tagidtag.tagtextCOUNT(*) AS searchcount
                FROM vb_blog_tagsearch 
AS tagsearch
                INNER JOIN aquia_tag 
AS tag ON (tagsearch.tagid tag.tagid)
                
WHERE tagsearch.dateline 1255774814
                GROUP BY tagsearch
.tagidtag.tagtext
                ORDER BY searchcount DESC
                LIMIT 70
;

MySQL Error   Table 'vb_vbulletin.vb_blog_tagsearch' doesn't exist
Error Number  : 1146
Request Date  : Monday, November 16th 2009 @ 03:20:14 AM
Error Date    : Monday, November 16th 2009 @ 03:20:14 AM
Script        : http://mysite.com/blog_search.php?bc624b45eadc23680ed9f99eb8a2da2bdo=search
Referrer      : 
IP Address    : 119.63.199.30
Username      : Unregistered
Classname     : vB_Database_MySQLi
MySQL Version : 


Lynne 11-16-2009 02:24 PM

I think you need to find the plugin that is querying that non-existent table and then you need to disable it.

cory_booth 11-16-2009 04:59 PM

Actually I do not have any plugins anymore.

I removed all of them prior to conversion.

Lynne - BTW, thanks for your help earlier - I really appreciate it.

Lynne 11-16-2009 05:11 PM

vb_blog_tagsearch is not a vb4 table. So, it is getting that name from *somewhere* and it isn't from the current vb4 code. (It looks like a table from the old blog product, not the new blog product.)

Make sure that when you removed your old products, you also removed *all* files for them, including those in the includes/xml directory.

Paul M 11-16-2009 06:40 PM

Make sure the file blog_search.php on your server is actually the vbulletin 4 version.

cory_booth 11-16-2009 10:43 PM

Paul and Lynne,

Thanks for all your help. I have a feeling this is via a cache of sorts. I don't see any of my user's getting this error and I have been unable to make this error happen either. It's all from "unregistered"

So I just added the column temporarily until later on.

Oh, Paul - confirm, my blog_search is VB4B3

Paul M 11-17-2009 12:01 AM

Do you have an old copy of vb in another location on the server, that spiders are still using ?

cory_booth 11-17-2009 12:20 AM

Well I do, but....
What I did was rename my original directory to original_backup
I then copied the 3.8.4 database and called it original_db_backup
I then changed the config file to point to the original_db_back database.

So even if the spider found my 3.8.4 search file, it would look at the 3.8.4 database schema - not 4.0. Even looking at the error output indicates the file is hitting 4.0 database so I am confused. I will continue to check into it as time permits.


All times are GMT. The time now is 07:25 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.01002 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)bbcode_php_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