Thread: Major Additions - eCommerce for vB4.2.2+
View Single Post
  #228  
Old 01-17-2017, 06:39 AM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pratul11 View Post
Hi All: I have got a new issue. I have uninstalled the mod completely and then tried reinstalling it..now I get the following error:


Database error in vBulletin 4.2.3:

Invalid SQL:
INSERT INTO `ecommerce_product_types` SET id='1', name='Downloadable', shipping='0', downloads='1';

MySQL Error : Duplicate entry '1' for key 'PRIMARY'
Error Number : 1062
Request Date : Friday, January 13th 2017 @ 06:39:33 AM
Error Date : Friday, January 13th 2017 @ 06:39:34 AM
Script : http://www.occultforums.net/admincp/...=productimport
Referrer : http://www.occultforums.net/admincp/...?do=productadd
IP Address : 103.10.197.2
Username : DarkAdverts
Classname : vB_Database
MySQL Version : 5.5.52-cll-lve

Can you please help me how to solve it? Thanks
That is because when you uninstalled it did not uninstall the database as well. So basically what that error message is saying is that there was already a value for that table in your database and therefore it cannot install until that value is removed. If you have phpMyAdmin you can go into it and remove that table or the tables associated with the ecommerce module and try to reinstall it again. Just be careful because if you remove the wrong thing it can completely and permanently screw up your forum. Your ecommerce tables will labeled as ecommerce_agreements, ecommerce_cart and so on. Every table that has ecommerce_ in it will belong to this mod. Your tables may have a prefix. It depends on what was done when vBulletin was installed. My prefix is vb4 so an eccomerce table in mine would look like vb4_eccommerce_cart.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01744 seconds
  • Memory Usage 1,768KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete