Page 65 of 65 FirstFirst ... 1555636465
Results 641 to 649 of 649
  1. #641
    Join Date
    Jan 2008
    Location
    Portland, Oregon USA
    Posts
    356
    Plugin Contributions
    0

    Default Re: Return Authorization Module (RMA)

    Installed this mod on a 1.3.9h site. Configuration page shows and works in admin. The returns page appears to collect all the data but the email lacks all the data collected on the Returns page. It's as though the $EXTRA_INFO field doesn't make it to the email.

    Other install mods are FEC.

    Thanks in advance to an insight as to solving this.
    Doug

  2. #642
    Join Date
    May 2008
    Posts
    442
    Plugin Contributions
    1

    help question Re: Return Authorization Module (RMA)

    Just tried to install RMA mod on a new 1.5.4 install and getting the following error: Column count doesn't match value count at row 1

    After a little research it seems if the installer for this module shortcuts explicitly naming the columns it will spit out the column count error when run.. Is there a updated install script that I can try?

  3. #643
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Return Authorization Module (RMA)

    Quote Originally Posted by marcopolo View Post
    Just tried to install RMA mod on a new 1.5.4 install and getting the following error: Column count doesn't match value count at row 1

    After a little research it seems if the installer for this module shortcuts explicitly naming the columns it will spit out the column count error when run.. Is there a updated install script that I can try?
    Which specific RMA mod are you trying to install?
    What other mods do you have installed? Specifically anything by Numinix? Many numinix mods break other mods' install logic because of the changes Numinix made to database tables. To work around that you may need to alter your install scripts to specifically list all the column names for which it is inserting data.

    ie: change the install.sql from
    Code:
    INSERT INTO `configuration` VALUES .....
    to
    Code:
    INSERT INTO `configuration` (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES .....
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #644
    Join Date
    May 2008
    Posts
    442
    Plugin Contributions
    1

    Default Re: Return Authorization Module (RMA)

    Hello DrByte, thanks for responding to my issue. Yes I have a few Numinix modules installed and figured it was because of them. It's the regular RMA module not the flexible one. I will try your solution later this evening when I'm able to work on the site and report back.

  5. #645
    Join Date
    May 2008
    Posts
    442
    Plugin Contributions
    1

    Default Re: Return Authorization Module (RMA)

    Ok it worked!

    Here is the original code:

    Code:
    #Return Authorization SQL Install
    # For Zen-Cart 1.3.9
    # Last Updated: 4/13/2010
    
    SET @t4=0;
    SELECT (@t4:=configuration_group_id) as t4
    FROM configuration_group
    WHERE configuration_group_title= 'Return Authorization';
    DELETE FROM configuration WHERE configuration_group_id = @t4;
    DELETE FROM configuration_group WHERE configuration_group_id = @t4;
    DELETE FROM configuration WHERE configuration_key = 'DEFINE_RETURNS_STATUS';
    
    INSERT INTO configuration_group VALUES (NULL, 'Return Authorization', 'Return Authorization Display Settings', '1', '1');
    UPDATE configuration_group SET sort_order = last_insert_id() WHERE configuration_group_id = last_insert_id();
    
    SET @t4=0;
    SELECT (@t4:=configuration_group_id) as t4
    FROM configuration_group
    WHERE configuration_group_title= 'Return Authorization';
    
    INSERT INTO `configuration` VALUES (NULL, 'Phone Number', 'RETURN_PHONE', 'true', 'Display phone number field', @t4, 1, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), ');
    INSERT INTO `configuration` VALUES (NULL, 'Item Name', 'RETURN_ITEM_NAME', 'true', 'Display Item Name field', @t4, 2, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), ');
    INSERT INTO `configuration` VALUES (NULL, 'Item Number', 'RETURN_ITEM_NUMBER', 'true', 'Display Item Number field', @t4, 3, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), ');
    INSERT INTO `configuration` VALUES (NULL, 'Total Value', 'RETURN_VALUE', 'true', 'Display Total Value', @t4, 4, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), ');
    INSERT INTO `configuration` VALUES (NULL, 'Only registered customers may submit a return request', 'REGISTERED_RETURN', 'false', 'Only registered customers may submit a return request', @t4, 5, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),');
    INSERT INTO `configuration` VALUES (NULL, 'Set "Return Action" Dropdown List', 'RETURN_ACTION_LIST', 'Refund, Replacement, Repair', 'On the "Return Authorization" Page, set the list of actions , in this format: Action 1,  Action 2', @t4, 6, NULL, now(), NULL, 'zen_cfg_textarea(');
    INSERT INTO `configuration` VALUES (NULL, 'Return - Show Store Name and Address', 'RETURN_STORE_NAME_ADDRESS', 'true', 'Include Store Name and Address', @t4, 7, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),');
    INSERT INTO `configuration` VALUES (NULL, 'Define Return Authorization', 'DEFINE_RETURNS_STATUS', '1', 'Enable the Defined Return Authorization Link/Text?<br />0= Link ON, Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link OFF, Define Text OFF', @t4, 8, NULL, now(), NULL, 'zen_cfg_select_option(array(''0'', ''1'', ''2'', ''3''),');
    INSERT INTO `configuration` VALUES (NULL, 'Return Authorization Version', 'RA_VERSION', '2.3.3', 'Return Authorization version', @t4, 9, NULL, now(), NULL, NULL);
    Here is what I changed it to:

    Code:
    #Return Authorization SQL Install
    # For Zen-Cart 1.3.9
    # Last Updated: 4/13/2010
    
    SET @t4=0;
    SELECT (@t4:=configuration_group_id) as t4
    FROM configuration_group
    WHERE configuration_group_title= 'Return Authorization';
    DELETE FROM configuration WHERE configuration_group_id = @t4;
    DELETE FROM configuration_group WHERE configuration_group_id = @t4;
    DELETE FROM configuration WHERE configuration_key = 'DEFINE_RETURNS_STATUS';
    
    INSERT INTO configuration_group VALUES (NULL, 'Return Authorization', 'Return Authorization Display Settings', '1', '1');
    UPDATE configuration_group SET sort_order = last_insert_id() WHERE configuration_group_id = last_insert_id();
    
    SET @t4=0;
    SELECT (@t4:=configuration_group_id) as t4
    FROM configuration_group
    WHERE configuration_group_title= 'Return Authorization';
    
    INSERT INTO `configuration` (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'Phone Number', 'RETURN_PHONE', 'true', 'Display phone number field', @t4, 1, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), ');
    INSERT INTO `configuration` (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'Item Name', 'RETURN_ITEM_NAME', 'true', 'Display Item Name field', @t4, 2, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), ');
    INSERT INTO `configuration` (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'Item Number', 'RETURN_ITEM_NUMBER', 'true', 'Display Item Number field', @t4, 3, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), ');
    INSERT INTO `configuration` (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'Total Value', 'RETURN_VALUE', 'true', 'Display Total Value', @t4, 4, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), ');
    INSERT INTO `configuration` (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'Only registered customers may submit a return request', 'REGISTERED_RETURN', 'false', 'Only registered customers may submit a return request', @t4, 5, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),');
    INSERT INTO `configuration` (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'Set "Return Action" Dropdown List', 'RETURN_ACTION_LIST', 'Refund, Replacement, Repair', 'On the "Return Authorization" Page, set the list of actions , in this format: Action 1,  Action 2', @t4, 6, NULL, now(), NULL, 'zen_cfg_textarea(');
    INSERT INTO `configuration` (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'Return - Show Store Name and Address', 'RETURN_STORE_NAME_ADDRESS', 'true', 'Include Store Name and Address', @t4, 7, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),');
    INSERT INTO `configuration` (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'Define Return Authorization', 'DEFINE_RETURNS_STATUS', '1', 'Enable the Defined Return Authorization Link/Text?<br />0= Link ON, Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link OFF, Define Text OFF', @t4, 8, NULL, now(), NULL, 'zen_cfg_select_option(array(''0'', ''1'', ''2'', ''3''),');
    INSERT INTO `configuration` (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'Return Authorization Version', 'RA_VERSION', '2.3.3', 'Return Authorization version', @t4, 9, NULL, now(), NULL, NULL);

  6. #646
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,493
    Plugin Contributions
    88

    Default Re: Return Authorization Module (RMA)

    Just a small change to your installation SQL, so you're not deleting elements in configuration_group_id = 0 on the initial install:
    Code:
    SET @t4=0;
    SELECT (@t4:=configuration_group_id) as t4
    FROM configuration_group
    WHERE configuration_group_title= 'Return Authorization';
    DELETE FROM configuration WHERE configuration_group_id = @t4 AND @t4 != 0;
    DELETE FROM configuration_group WHERE configuration_group_id = @t4 AND @t4 != 0;
    DELETE FROM configuration WHERE configuration_key = 'DEFINE_RETURNS_STATUS';
    .
    .
    .

  7. #647
    Join Date
    May 2008
    Posts
    442
    Plugin Contributions
    1

    Default Re: Return Authorization Module (RMA)

    Thanks but I ran the install script already do you think it deleted something it was not suppose to? I have backup of course so I can restore if I have to.

  8. #648
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,493
    Plugin Contributions
    88

    Default Re: Return Authorization Module (RMA)

    Check out this (http://www.thatsoftwareguy.com/blog/...t-not-working/) entry in swguy's blog; it tells you how to get those values back ... if you're running a Zen Cart version prior to v1.5.4.

  9. #649
    Join Date
    May 2008
    Posts
    442
    Plugin Contributions
    1

    Default Re: Return Authorization Module (RMA)

    ok thanks

 

 
Page 65 of 65 FirstFirst ... 1555636465

Similar Threads

  1. v151 Flexible Return Authorization (RMA) for ZC v1.5.x [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 167
    Last Post: 11 Apr 2021, 08:56 PM
  2. Return Authorization Module
    By itspec in forum All Other Contributions/Addons
    Replies: 13
    Last Post: 10 Feb 2009, 11:29 PM
  3. Return Merchandise Authorization (RMA) Module Follow-up
    By killertofu in forum Managing Customers and Orders
    Replies: 1
    Last Post: 11 Aug 2008, 11:13 PM
  4. Return Authorization Module (RMA)
    By dscott1966 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 11 Nov 2006, 08:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR