vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Database Error Installing mod (https://vborg.vbsupport.ru/showthread.php?t=311332)

blind-eddie 05-14-2014 02:09 AM

>>>>>>>>>>>>BACKUP YOUR DATABASE BEFORE YOU PROCEED<<<<<<<<<<<<

Go into your host account, phpMyAdmin, click on your sites database, find user table... click it, on the right, look for column name 'market_points', remove them.... now try to reinstall.

You may run into this issue again for other tables that were created in one of your installs of this plugin.

A Dead Puppie 05-14-2014 02:38 AM

As i posted above, i've already tried that multiple times. I've cleared every table with the prefix market_ and tried to install and the same issue pops up

tbworld 05-14-2014 02:52 AM

Quote:

Originally Posted by A Dead Puppie (Post 2497694)
I'm trying to install a mod, (Point Market 3) and i keep getting a database error with the following:

[code]Database error in vBulletin 4.2.2:

Invalid SQL:
ALTER TABLE user ADD market_points DECIMAL( 18, 3 ) NOT NULL DEFAULT '1.000';


Have you looked at the table clearly marked above? That will not have a 'market_ 'prefix on it. That is an existing vBulletin table.

table: user
column: market_points

vBNinja 05-14-2014 02:57 AM

the issue is not a duplicate table, its a duplicate column in the user table

go to phpmyadmin and run this query:

PHP Code:

ALTER TABLE user DROP market_points


A Dead Puppie 05-14-2014 03:01 AM

Wooh! it worked! Thank you guys so much! :D


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.00937 seconds
  • Memory Usage 1,726KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete