Error 500 creating first coupon


  • Your avatar
    seyi    
     6 years ago
    0

    To the forum,

    I downloaded the free version of AwoCoupon, and when I went to add my first coupon, I received the following error:

    500 - An error has occurred.

    DB function failed with error number 1146
    Table '7_031363d_0.jos_awocoupon' doesn't exist SQL=INSERT INTO jos_awocoupon ( `id`,`coupon_code`,`num_of_uses`,`coupon_value_type`,`coupon_value`,`min_value`,`discount_type`,`function_type`,`expiration`,`published` ) VALUES ( '0','1','1','percent','20','1','overall','coupon','2010-12-31','1' )

    Thoughts?

    thanks

    Steve

    I am on Joomla 1.5.13 and Virtuemart 1.1.4
  • Your avatar
    seyi    
     6 years ago
    0

    for some reason, the install failed to create awocoupon tables. There are 2 things you can do, follow the instructions here to create the table:
    http://awodev.com/forum/awocoupon/help-section/db-table-not-created

    Or try to reinstall and see if that works. To reinstall first uninstall awocoupon within the admin section and then install it again.

    As for why the tables were not created, I have no idea. This is only the second complaint I have come across of this problem. The joomla installer should take care of installing the tables automatically.