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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-31-2014, 09:02 AM
3lou 55 3lou 55 is offline
 
Join Date: Jul 2010
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Database problem.

Hello there,

So we recently transfered hosts, and the host actually transfered the database for us too.
(Still on the same host, but another hosting plan actually).
The transfer seems to be done okay, but we still are encouraging problems with the forums.
Table 'grind007_forumsv4.tagcontent' doesn't exist.
That is the error that we keep getting when trying to uninstall/install/disable plugins.
Alot of plugins are also not working anymore because of this, we had a shoutbox from vbshout on it, which is not working anymore, it keeps stuck on "Loading...", and I am not able to uninstall the plugin and install it again, because we keep getting this database error.

Altho when we look at the database on phpmyadmin, the tagcontent table is still there.
Does anyone have a solution for this?

We are using vbulletin 4.2.2

Cheers,
Jordy
Reply With Quote
  #2  
Old 01-31-2014, 10:51 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Open your includes/config.php file and below<?php add this line:

PHP Code:
 define('DISABLE_HOOKS'true); 
So it looks like this:
PHP Code:
<?php
define
('DISABLE_HOOKS'true);
/*=================================================  =====================*\
|| ##################################################  ################## ||
|| # vBulletin 4.2.2
Then see if the issues still persist.

If not, then I would suggest updating all your mods with the latest versions.
Reply With Quote
  #3  
Old 01-31-2014, 12:20 PM
3lou 55 3lou 55 is offline
 
Join Date: Jul 2010
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope tried that also :/ I just can't manage to uninstall anything.
Reply With Quote
  #4  
Old 01-31-2014, 06:18 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And if you open the database, do you see the tagcontent table? Here is the query to add it:

Code:
CREATE TABLE tagcontent (
	tagid INT UNSIGNED NOT NULL DEFAULT 0,
	contenttypeid INT UNSIGNED NOT NULL,
	contentid INT UNSIGNED NOT NULL DEFAULT '0',
	userid INT UNSIGNED NOT NULL DEFAULT '0',
	dateline INT UNSIGNED NOT NULL DEFAULT '0',
	PRIMARY KEY tag_type_cid (tagid, contenttypeid, contentid),
	KEY id_type_user (contentid, contenttypeid, userid),
	KEY user (userid),
	KEY dateline (dateline)
)
Reply With Quote
  #5  
Old 02-01-2014, 10:56 AM
3lou 55 3lou 55 is offline
 
Join Date: Jul 2010
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
And if you open the database, do you see the tagcontent table? Here is the query to add it:

Code:
CREATE TABLE tagcontent (
	tagid INT UNSIGNED NOT NULL DEFAULT 0,
	contenttypeid INT UNSIGNED NOT NULL,
	contentid INT UNSIGNED NOT NULL DEFAULT '0',
	userid INT UNSIGNED NOT NULL DEFAULT '0',
	dateline INT UNSIGNED NOT NULL DEFAULT '0',
	PRIMARY KEY tag_type_cid (tagid, contenttypeid, contentid),
	KEY id_type_user (contentid, contenttypeid, userid),
	KEY user (userid),
	KEY dateline (dateline)
)
Nope getting the same error.

damn,
I have tried it in phpmyadmin too.
Reply With Quote
  #6  
Old 02-01-2014, 05:45 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You will need to get help from your host in making sure that table is completely gone (all three files associated with it) and then recreating it.
Reply With Quote
  #7  
Old 02-01-2014, 06:47 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this
Code:
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `tagcontent`
-- ----------------------------
DROP TABLE IF EXISTS `tagcontent`;
CREATE TABLE `tagcontent` (
  `tagid` int(10) unsigned NOT NULL default '0',
  `contenttypeid` int(10) unsigned NOT NULL,
  `contentid` int(10) unsigned NOT NULL default '0',
  `userid` int(10) unsigned NOT NULL default '0',
  `dateline` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`tagid`,`contenttypeid`,`contentid`),
  KEY `id_type_user` (`contentid`,`contenttypeid`,`userid`),
  KEY `user` (`userid`),
  KEY `dateline` (`dateline`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
Reply With Quote
  #8  
Old 02-02-2014, 09:35 AM
3lou 55 3lou 55 is offline
 
Join Date: Jul 2010
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, my host had to delete it and readd it again, everything seems to work fine now.
The only thing is that I am not able to install one plugin.

Code:
Database error in vBulletin 4.2.2:

Invalid SQL:

	INSERT INTO dbtech_vbshout_shout
		(userid, dateline, message)
	VALUES 
		('-1', 1391337188, 'Congratulations on your installation of DragonByte Tech: vBShout! We have taken the liberty of setting some default options for you, but you should enter the AdminCP and familiarise yourself with the various settings. Use the /prune command to get rid of this message, or double-click it and click the Delete button. Enjoy your new Shoutbox!');

MySQL Error   : Failed to read auto-increment value from storage engine
Error Number  : 1467
Request Date  : Sunday, February 2nd 2014 @ 10:33:08 AM
Error Date    : Sunday, February 2nd 2014 @ 10:33:13 AM
Script        : http://forum.grinderscape.org/admincp/plugin.php?do=productimport
Referrer      : http://forum.grinderscape.org/admincp/plugin.php?do=productadd
Classname     : vB_Database
MySQL Version : 5.5.34-cll
But I will ask the plugin maker about this, thanks for the help y'all.
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 02:15 AM.


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.03787 seconds
  • Memory Usage 2,234KB
  • 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
  • (4)bbcode_code
  • (2)bbcode_php
  • (1)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_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