CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Discount Module Not Working for me
Pages: [1]

Author Topic: Discount Module Not Working for me  (Read 356 times)

jtattersall

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: drupal 7
  • MySQL version: 5.1.70-cll
  • PHP version: 5.3.26
Discount Module Not Working for me
August 18, 2014, 05:17:58 am
I have got my tech team to install Civicrm Discound Module for my civicrm Lastest stable version  on drupal  lastest v7. the module will not open the tech team have had look into this and they have found this error.

ry:

-- /******************************************************* -- * -- * cividiscount_item -- * -- * A discount entry. -- * -- *******************************************************/ CREATE TABLE `cividiscount_item` ( `id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Discount Item ID', `code` varchar(255) NOT NULL COMMENT 'Discount Code.', `description` varchar(255) NOT NULL COMMENT 'Discount Description.', `amount` varchar(255) NOT NULL COMMENT 'Amount of discount either actual or percentage?', `amount_type` varchar(4) NOT NULL COMMENT 'Type of discount, actual or percentage?', `count_max` int NOT NULL COMMENT 'Max number of times this code can be used.', `count_use` int NOT NULL DEFAULT 0 COMMENT 'Number of times this code has been used.', `events` text COMMENT 'Serialized list of events for which this code can be used', `pricesets` text COMMENT 'Serialized list of pricesets for which this code can be used', `members[...]

MySQL said: Documentation

#1005 - Can't create table 'fsserver_drup624.cividiscount_item' (errno: 150)
================================================================================================================

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Discount Module Not Working for me
August 18, 2014, 08:22:38 am
This looks like your MySQL user doesn't have the CREATE permission.
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Discount Module Not Working for me

This forum was archived on 2017-11-26.