Zen Cart Logo
Forums / All Other Contributions/Addons / Return Authorization Module (RMA)

Return Authorization Module (RMA)

Views: 109,995

Results 301 to 320 of 644
18 Jun 2008, 11:16 PM
#301
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Return Authorization Module (RMA)

ScrapbookSupplies:

Hi Clyde, :smile:

After going over it and over it and over it again I finally found the problem for real this time. I'm a little slow but at least I know where my issue is, fixing it is another story, am hoping you can shed some advice on it.

I finally re-ran the SQL query, and to my surprise it did not give me an error, so of course I felt silly at first, thinking I must have forgotten to run it the first time - but that didn't fix the problem. Then something told me to look at the dB thru MySQL, and I could not find any rows with the word "return" in them. So, I ran the query directly in the phpAdmin screen and got a #1146 Error - - Table 'scrapcha_zencart.configuration_group' doesn't exist. I will paste the exact error below, along with a copy of the query below. I think the only thing that I need to do is change the name from configuration_group_id to just configuration_group, but not being very familiar with My SQL, I am afraid to make any kind of change to it on my own. Also, we have a configuration_group but no configuration_group_title.

Can you tell? Please?

Thank you so much for your help!!

Open admin -> tools -> install sql patches
copy and paste the following sql statement into the text area and then press send.

SET @configuration_group_id=0;
SELECT @configuration_group_id:=configuration_group_id 
FROM configuration_group
WHERE configuration_group_title= 'Return Authorization'
LIMIT 1;

DELETE FROM configuration WHERE configuration_group_id = @configuration_group_id;
DELETE FROM configuration_group WHERE configuration_group_id = @configuration_group_id;
DELETE FROM configuration WHERE configuration_key = 'DEFINE_RETURNS_STATUS';

SET @configuration_group_id=0;
SELECT @configuration_group_id:=configuration_group_id 
FROM configuration_group
WHERE configuration_group_title= 'Return Authorization'
LIMIT 1;

DELETE FROM configuration WHERE configuration_group_id = @configuration_group_id;
DELETE FROM configuration WHERE configuration_key = 'DEFINE_RETURNS_STATUS';
DELETE FROM configuration_group WHERE configuration_group_id = @configuration_group_id;

INSERT INTO configuration_group VALUES (NULL, 'Return Authorization', 'Return Authorization Display Settings', '1', '1');
SET @configuration_group_id=last_insert_id();
UPDATE configuration_group SET sort_order = @configuration_group_id WHERE configuration_group_id = @configuration_group_id;

INSERT INTO `configuration` VALUES (NULL, 'Phone Number', 'RETURN_PHONE', 'true', 'Display phone number field', @configuration_group_id, 1, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), ');

INSERT INTO `configuration` VALUES (NULL, 'Total Value', 'RETURN_VALUE', 'true', 'Display Total Value', @configuration_group_id, 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', @configuration_group_id, 3, 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', @configuration_group_id, 4, 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', @configuration_group_id, 5, NULL, now(), NULL, 'zen_cfg_textarea(');

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', 25, 999, NULL, now(), NULL, 'zen_cfg_select_option(array(''0'', ''1'', ''2'', ''3''),');
19 Jun 2008, 4:07 PM
#302
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Return Authorization Module (RMA)

ScrapbookSupplies:

:no: Oh Clyde! :no:

Am still getting the error:

[quote}Error
SQL query:

SELECT @configuration_group_id := configuration_group_id
FROM configuration_group
WHERE configuration_group_title = 'Return Authorization'
LIMIT 1 ;

MySQL said:

#1146 - Table 'scrapcha_zencart.configuration_group' doesn't exist

I'll keep looking at it and see if I can figure it out too. I need to add an SQL class to my list of classes to take. :wink:[/QUOTE]

check your PM

13 Aug 2008, 2:54 PM
#303
funkypapa avatar

funkypapa

New Zenner

Join Date:
Jul 2008
Posts:
84
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

Please forgive me if this is listed somewhere in this thread....but with 300+ posts I may have missed it.

On the return auth. page, at the top of the input fields instead of saying Return Authorization Request....It says "Specials" How can I fix this. I have used an editor and searched through all the files in the folders, however the word "specials" is not showing as listed in any of them. I have installed version 2.2.2 and zen cart version 1.3.8

Here is the **LINK** to what I'm asking about.

Thank you for any help.

13 Aug 2008, 4:05 PM
#304
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Return Authorization Module (RMA)

FunkyPapa:

Please forgive me if this is listed somewhere in this thread....but with 300+ posts I may have missed it.

On the return auth. page, at the top of the input fields instead of saying Return Authorization Request....It says "Specials" How can I fix this. I have used an editor and searched through all the files in the folders, however the word "specials" is not showing as listed in any of them. I have installed version 2.2.2 and zen cart version 1.3.8

Here is the **LINK** to what I'm asking about.

Thank you for any help.

Make sure that ALL the listed files are uploaded. Make sure that you've renamed the YOUR_TEMPLATE folders to match the name of your custom template folder (in your case apple_zen)

includes/extra_datafiles/returns_filenames.php
includes/languages/english/extra_definitions/YOUR_TEMPLATE/returns_defines.php
includes/languages/english/YOUR_TEMPLATE/returns.php
includes/languages/english/html_includes/define_returns.php
includes/languages/english/html_includes/YOUR_TEMPLATE/define_returns.php
includes/modules/pages/returns
includes/templates/YOUR_TEMPLATE/templates/tpl_returns_default.php
includes/templates/YOUR_TEMPLATE/css/returns.css

13 Aug 2008, 7:27 PM
#305
funkypapa avatar

funkypapa

New Zenner

Join Date:
Jul 2008
Posts:
84
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

I've double checked all the files you mentioned, they are all where they are supposed to be and named accordingly. I even re-uploaded just to be sure I had installed them all properly.

13 Aug 2008, 10:49 PM
#306
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Return Authorization Module (RMA)

FunkyPapa:

I've double checked all the files you mentioned, they are all where they are supposed to be and named accordingly. I even re-uploaded just to be sure I had installed them all properly.

Generally, this means that there is a misplaced language file somewhere, but without seeing/looking at the file structure and the individual files, its hard to say where or which file it might be.

14 Aug 2008, 7:14 PM
#307
funkypapa avatar

funkypapa

New Zenner

Join Date:
Jul 2008
Posts:
84
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

So, under the assumption that something has to make it "say" the word Specials there, I used the developer tool kit to search the language files for the word "Specials". Below are all the options that were found that were not in the admin section.

c:/public/funkymunkys.ca/websites/www/includes/languages/english/apple_zen/specials.php

Line #19 : // $Id: specials.php 1969 2005-09-13 06:57:21Z drbyte $

Line #22 : define('NAVBAR_TITLE', 'Specials');

Line #23 : define('TEXT_NO_SPECIALS', 'There are currently no specials. Please check back later.');


c:/public/funkymunkys.ca/websites/www/includes/languages/english/extra_definitions/apple_zen/headermenu.php

Line #25 : define('HEADER_TITLE_SPECIALS','Specials');


c:/public/funkymunkys.ca/websites/www/includes/languages/english/extra_definitions/apple_zen/specials.php

Line #19 : // $Id: specials.php 1969 2005-09-13 06:57:21Z drbyte $

Line #22 : define('NAVBAR_TITLE', 'Specials');

Line #23 : define('TEXT_NO_SPECIALS', 'There are currently no specials. Please check back later.');


c:/public/funkymunkys.ca/websites/www/includes/languages/english/extra_definitions/faq_manager.php

Line #29 : define('FAQ_CATEGORIES_BOX_HEADING_SPECIALS','Specials ...');


c:/public/funkymunkys.ca/websites/www/includes/languages/english/page_not_found.php

Line #21 : define('PAGE_SPECIALS', 'Specials');


c:/public/funkymunkys.ca/websites/www/includes/languages/english/site_map.php

Line #22 : define('PAGE_SPECIALS', 'Specials');


c:/public/funkymunkys.ca/websites/www/includes/languages/english/specials.php

Line #19 : // $Id: specials.php 1969 2005-09-13 06:57:21Z drbyte $

Line #22 : define('NAVBAR_TITLE', 'Specials');

I hope it's one of these as I went back and checked file by file to make sure everything was put into the proper place :(

Also on the files you said to double check in your previous posts on this line
includes/modules/pages/returns/header_php
should it read as is with the red text?....As I have double checked these files again.

If nothing here solves it and there's something else you can think of that I can look up.....I've tried just about everything I can think to search under in the tool kit and not finding anything that looks bad.

Again thank you for your time and effort.

<edit> on another note, I also looked up the phrases return authorization request

c:/public/funkymunkys.ca/websites/www/includes/languages/english/apple_zen/returns.php

Line #11 : define('HEADING_TITLE', '<h1>Return Authorization Request</h1>');

Line #12 : define('NAVBAR_TITLE', 'Return Authorization Request');

Line #14 : define('EMAIL_SUBJECT', 'Return Authorization Request');

Line #19 : define('EMAIL_WARNING', '<b>Note:</b> This email address was given to us during a Return Authorization Request. If you have a problem, please send an email to ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n");

and return_authorization_request:

Warning Error: No matching Configuration Keys were found ... return_authorization_request

in all files and that was all that was found....thinking that's what I'm looking to have at the top of the box as should be. And as stated, that is all I can really think of to search for

</edit>
14 Aug 2008, 10:03 PM
#308
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Return Authorization Module (RMA)

Originally Posted by FunkyPapa
Also on the files you said to double check in your previous posts on this line
includes/modules/pages/returns/header_php
should it read as is with the red text?....As I have double checked these files again.

The highlighted portion should read header_php.php

15 Aug 2008, 3:18 AM
#309
funkypapa avatar

funkypapa

New Zenner

Join Date:
Jul 2008
Posts:
84
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

sorry I didn't put the .php at the end, yes that's what it says. Since....I have even tried un-installing and re-installing to no avail.

15 Aug 2008, 6:38 AM
#310
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Return Authorization Module (RMA)

FunkyPapa:

sorry I didn't put the .php at the end, yes that's what it says. Since....I have even tried un-installing and re-installing to no avail.

I took another look at your site and I've noticed that in your breadcrumb bar, whenever you go to any of the following pages
privacy
conditions of use
shipping info
about us
site map
gift certificate FAQ
discount coupons
unsubscribe
links of interest
charities
store locator
FAQ
manufacturers
returns

The breadcrumb indicates Home :: Specials on every page
The breadcrumb should change as the page changes.

Again this indicates that one or more of the language files are conflicting with each other.

You'll need to check the language files for each of those pages to track down where the conflict might be.
includes/languages/english/.
includes/languages/english/extra_definitions/.

15 Aug 2008, 10:28 AM
#311
funkypapa avatar

funkypapa

New Zenner

Join Date:
Jul 2008
Posts:
84
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

Thank you. I'll look there as soon as I get some time. I was going crazy thinking I was missing something in those searches I should see. I will post back again after I've checked through each the files.

15 Aug 2008, 3:56 PM
#312
funkypapa avatar

funkypapa

New Zenner

Join Date:
Jul 2008
Posts:
84
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

I started looking thru the files and noticed there was a file.....

includes/english/extra_definitions/apple_zen/specials.php

I downloaded that in case it was something I needed I could put it back...deleted it, and problem solved

Thank you tons for your help :clap:

15 Aug 2008, 6:49 PM
#313
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Return Authorization Module (RMA)

FunkyPapa:

I started looking thru the files and noticed there was a file.....

includes/english/extra_definitions/apple_zen/specials.php

I downloaded that in case it was something I needed I could put it back...deleted it, and problem solved

Thank you tons for your help :clap:

glad you got it sorted

21 Aug 2008, 12:12 AM
#314
daneh avatar

daneh

Zen Follower

Join Date:
Dec 2007
Location:
Southern Maine
Posts:
268
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

Help.....
I have added this mod to my store, but can't seem to get it to work. After installing it, and the absolute first time I go to the customer orders/edit, I see the correct way to do a return.

Then, whenever I move to another customers order, and from that point on, I get what you see in the next picture,

Any ideas why it reverts to what is in the picture?

I have uninstalled and installed the sql and all files, but it always reverts to what is seen in the picture. Obviously, I cannot do a return without an auth number, and I see no way of getting it with this pic.

version 1.3.8 of zen

21 Aug 2008, 12:29 AM
#315
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Return Authorization Module (RMA)

daneh:

Help.....
I have added this mod to my store, but can't seem to get it to work. After installing it, and the absolute first time I go to the customer orders/edit, I see the correct way to do a return.

Then, whenever I move to another customers order, and from that point on, I get what you see in the next picture,

Any ideas why it reverts to what is in the picture?

I have uninstalled and installed the sql and all files, but it always reverts to what is seen in the picture. Obviously, I cannot do a return without an auth number, and I see no way of getting it with this pic.

version 1.3.8 of zen

I'm not sure which mod you have installed but it is not the return authorization Mod.

The return authorization Mod only provides a form through which a customer may request authorization to return/exchange items which have been purchased.

You can see an example here

21 Aug 2008, 12:41 AM
#316
daneh avatar

daneh

Zen Follower

Join Date:
Dec 2007
Location:
Southern Maine
Posts:
268
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

Here is the link to the one I downloaded and installed.
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=433
I did a test purchase, then did a return request using the exact form you sent a link to. I received an email stating "the customer" (me) wanted to do a return. When I went to admin/customers/orders/edit, I saw what you see in the picture.

I thought it was a little strange that it asks for the auth number when I don't have one.

I then removed all the files related to the ret auth mod, ran the uninstall sql. then I reuploaded all files and ran the install sql.

The first time I went to the admin/customers/orders/edit, I saw a totally different dialog box. It had two buttons...I can't remember what else it said. I then went to a different customer/edit, and then I get what you see in the picture. Every customer/edit has the same thing....what is in the picture.

Is there an admin file associated with this mod I may have missed?

I will keep trying to duplicate the issue and let you know what I find....OH, I should mention that it does it with the classic template also. Not that that should affect admin, right?

21 Aug 2008, 12:59 AM
#317
daneh avatar

daneh

Zen Follower

Join Date:
Dec 2007
Location:
Southern Maine
Posts:
268
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

The plot thickens....

I just removed ALL files associated with RAM, ran the unistall sql, reinstalled files and sql again (always using the new install) .

I then started to scroll through ALL my customers/orders/edit. I ran across a few that had the following:
, and the others had this:
.

Any idea why some would have the correct way to do the return and others not?

These are all customers who have had the items SHIPPED.

21 Aug 2008, 1:13 AM
#318
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Return Authorization Module (RMA)

daneh:

Here is the link to the one I downloaded and installed.
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=433
I did a test purchase, then did a return request using the exact form you sent a link to. I received an email stating "the customer" (me) wanted to do a return. When I went to admin/customers/orders/edit, I saw what you see in the picture.

I thought it was a little strange that it asks for the auth number when I don't have one.

I then removed all the files related to the ret auth mod, ran the uninstall sql. then I reuploaded all files and ran the install sql.

The first time I went to the admin/customers/orders/edit, I saw a totally different dialog box. It had two buttons...I can't remember what else it said. I then went to a different customer/edit, and then I get what you see in the picture. Every customer/edit has the same thing....what is in the picture.

Is there an admin file associated with this mod I may have missed?

I will keep trying to duplicate the issue and let you know what I find....OH, I should mention that it does it with the classic template also. Not that that should affect admin, right?

There are no admin files associated with the return authorization mod.
The only thing in admin are the configuration options for the mod:
admin -> configuration -> return authorization.

The return authorization mod has nothing to do with voiding an order and/or refunding a payment.

21 Aug 2008, 1:56 AM
#319
daneh avatar

daneh

Zen Follower

Join Date:
Dec 2007
Location:
Southern Maine
Posts:
268
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

So basically what you are telling me is that what these pictures show has nothing to do with the return auth?

Hmmm....I don't recall installing any other mod that has anything to do with returns....

So a fresh install of Zen doesn't have either of those huh?

21 Aug 2008, 2:42 AM
#320
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Return Authorization Module (RMA)

daneh:

So basically what you are telling me is that what these pictures show has nothing to do with the return auth?

Hmmm....I don't recall installing any other mod that has anything to do with returns....

So a fresh install of Zen doesn't have either of those huh?

Correct.

Return Authorization is an add-on and is not a part of the initial installation of Zen Cart.