Zen Cart Logo
Forums / Addon Shipping Modules / usps.com Click-n-ship AutoFill Button Contrib

usps.com Click-n-ship AutoFill Button Contrib

Views: 224,996

Results 341 to 360 of 827
25 Aug 2008, 7:05 PM
#341
10000cranes avatar

10000cranes

New Zenner

Join Date:
Jun 2008
Location:
Albuquerque, New Mexico
Posts:
5
Plugin Contributions:
0

usps.com Click-n-ship AutoFill Button Contrib

:frusty:
I've read through the posts and can't quite find the answer ...

Problem:
I don't have the Autofill Button on the Admin > orders page.

I want to believe that I uploaded everything appropriately ... I probably didn't.
I did the over ride thing on the admin> orders ... I copied the orders.USPS and pasted that over the original admin>orders . Is that correct? I saw a line about "remove excess" and don't know what that means.
Any help is appreciated.
Thanks

25 Aug 2008, 7:15 PM
#342
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: usps.com Click-n-ship AutoFill Button Contrib

10000cranes:

:frusty:
I've read through the posts and can't quite find the answer ...

Problem:
I don't have the Autofill Button on the Admin > orders page.

I want to believe that I uploaded everything appropriately ... I probably didn't.
I did the over ride thing on the admin> orders ... I copied the orders.USPS and pasted that over the original admin>orders . Is that correct? I saw a line about "remove excess" and don't know what that means.
Any help is appreciated.
Thanks

Remove excess means to change the name from "orders.php_usps_only" to "orders.php" then overwrite your existing admin/orders.php file.

That alone should add the physical button. Now make sure that there is a file at admin/includes/modules/usps_autofill_button.php

4 Sep 2008, 4:06 AM
#343
andrewmp avatar

andrewmp

New Zenner

Join Date:
Sep 2008
Posts:
5
Plugin Contributions:
0

Re: usps.com Click-n-ship AutoFill Button Contrib

Hey,
I'm trying to use this mod but I'm having trouble setting it up. When i run the sql command i get this error:

1264 Out of range value adjusted for column 'configuration_group_id' at row 1
in:
[INSERT INTO configuration_group VALUES ('', 'USPS Auto-Fill Config', 'USPS Auto-Fill Config', '1', '1');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

I'm not sure if this problem has already been addressed. Has this already been fixed or do you have any suggestions?

Andrew

4 Sep 2008, 10:47 AM
#344
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: usps.com Click-n-ship AutoFill Button Contrib

andrewmp:

Hey,
I'm trying to use this mod but I'm having trouble setting it up. When i run the sql command i get this error:

1264 Out of range value adjusted for column 'configuration_group_id' at row 1
in:
[INSERT INTO configuration_group VALUES ('', 'USPS Auto-Fill Config', 'USPS Auto-Fill Config', '1', '1');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

I'm not sure if this problem has already been addressed. Has this already been fixed or do you have any suggestions?

Andrew

Are you using a prefix on your database tables? If you are you need to edit the sql file and add the prefix to each table call (IIRC)

so

INSERT INTO configuration_group VALUES ('', 'USPS Auto-Fill Config', 'USPS Auto-Fill Config', '1', '1');

would become:

INSERT INTO prefix_configuration_group VALUES ('', 'USPS Auto-Fill Config', 'USPS Auto-Fill Config', '1', '1');

Same with the other insert command. Possibly even the update commands and from commands.

4 Sep 2008, 3:17 PM
#345
andrewmp avatar

andrewmp

New Zenner

Join Date:
Sep 2008
Posts:
5
Plugin Contributions:
0

Re: usps.com Click-n-ship AutoFill Button Contrib

qhome:

Are you using a prefix on your database tables? If you are you need to edit the sql file and add the prefix to each table call

No, I don't have a prefix. But I seemed to have fixed the problem.

I changed one value in one of the inserts.

Was

INSERT INTO configuration_group VALUES ('', 'USPS Auto-Fill Config', 'USPS Auto-Fill Config', '1', '1');

changed the first set of empty '' to

INSERT INTO configuration_group VALUES ('NULL', 'USPS Auto-Fill Config', 'USPS Auto-Fill Config', '1', '1');

That NULL seemed to have done the trick. I'm not sure why that is. I'm using Zen Cart 1.3.8a and PHP Version 5.1.6.

Andrew

4 Sep 2008, 6:52 PM
#346
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: usps.com Click-n-ship AutoFill Button Contrib

andrewmp:

No, I don't have a prefix. But I seemed to have fixed the problem.

I changed one value in one of the inserts.

Was

INSERT INTO configuration_group VALUES ('', 'USPS Auto-Fill Config', 'USPS Auto-Fill Config', '1', '1');

> 
> changed the first set of empty '' to
> ```
INSERT INTO configuration_group VALUES ('NULL', 'USPS Auto-Fill Config', 'USPS Auto-Fill Config', '1', '1');

Andrew

Ahh yes. I never updated the sql to be MySql 5 compliant. '' has been replaced by NULL for MySql5. Good find.

1 Oct 2008, 4:22 PM
#347
ts232 avatar

ts232

Zen Follower

Join Date:
May 2006
Posts:
167
Plugin Contributions:
0

Re: usps.com Click-n-ship AutoFill Button Contrib

As of this morning, clicking on the USPS Autofill number sends me to the USPS website where I just get "Error 500". I haven't made any changes to it.

Is it still working for everyone else?

1 Oct 2008, 4:46 PM
#348
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: usps.com Click-n-ship AutoFill Button Contrib

Yes!

GASP!!! Whats going On!

:ohmy:

1 Oct 2008, 5:02 PM
#349
ts232 avatar

ts232

Zen Follower

Join Date:
May 2006
Posts:
167
Plugin Contributions:
0

Re: usps.com Click-n-ship AutoFill Button Contrib

milobloom:

Yes!

GASP!!! Whats going On!

Yes it still works for you, or yes it is broken for you?

On a hunch, I went to the config tools and changed the 'X' value for shipping weight ounces that was used to make it work in the past. No difference in the result however.

1 Oct 2008, 6:24 PM
#350
ewodzien avatar

ewodzien

New Zenner

Join Date:
Sep 2007
Posts:
8
Plugin Contributions:
0

Re: usps.com Click-n-ship AutoFill Button Contrib

I've got the same problem. It actually started last night. Nothing obvious is standing out. I think that USPS changed something on their end.

If I can help the author test anything, please let me know.

-Ed

1 Oct 2008, 6:40 PM
#351
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: usps.com Click-n-ship AutoFill Button Contrib

Grrrr. Why must usps keep touching things and breaking them! There should be a law!
I'll take a look

1 Oct 2008, 7:39 PM
#352
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: usps.com Click-n-ship AutoFill Button Contrib

The front page is redone...

Wondering if they are screwing with the whole site...

AAARRGGHHH!!!

1 Oct 2008, 8:10 PM
#353
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: usps.com Click-n-ship AutoFill Button Contrib

Ok Ok everyone calm down. I've got a test form working again and I just need to find out which new field is "required" to not trigger the error.

Stay tuned. We will prevail!

1 Oct 2008, 9:23 PM
#354
cryogenicz avatar

cryogenicz

New Zenner

Join Date:
Apr 2007
Posts:
12
Plugin Contributions:
0

Re: usps.com Click-n-ship AutoFill Button Contrib

w0w, I too get this error, love this contribution, and it defiantly sucks when it does not work!

thanks for your hard work and help!

-Graham

2 Oct 2008, 7:27 PM
#355
buzzville avatar

buzzville

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

Re: usps.com Click-n-ship AutoFill Button Contrib

Thanks so much for taking a look... it definitely reminds me how critical this mod is when it suddenly doesn't work!

2 Oct 2008, 9:58 PM
#356
enchantedneedle avatar

enchantedneedle

New Zenner

Join Date:
Jan 2008
Posts:
74
Plugin Contributions:
0

Re: usps.com Click-n-ship AutoFill Button Contrib

qhome:

need to find out which new field is "required" to not trigger the error.

There is a new "Express Mail Hold For Pickup at Post Office" right below the select shipping date.

2 Oct 2008, 10:43 PM
#357
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: usps.com Click-n-ship AutoFill Button Contrib

I wonder if they are losing alot of money regarding this,,,,

3 Oct 2008, 6:07 AM
#358
craigkendall avatar

craigkendall

New Zenner

Join Date:
May 2007
Posts:
46
Plugin Contributions:
0

Re: usps.com Click-n-ship AutoFill Button Contrib

qhome:

Ok Ok everyone calm down. I've got a test form working again and I just need to find out which new field is "required" to not trigger the error.

Stay tuned. We will prevail!

Is it the required "shippingDate" field?

Maybe I'm missing it, but I don't see that required field accounted for an any of the mod's files.

3 Oct 2008, 6:24 AM
#359
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: usps.com Click-n-ship AutoFill Button Contrib

craigkendall:

Is it the required "shippingDate" field?

Maybe I'm missing it, but I don't see that required field accounted for an any of the mod's files.

No. The shipping date just defaults to the current date if not specified. On my test form that I got working, it doesn't have it either.

I should have a fix by tomorrow.

3 Oct 2008, 6:46 AM
#360
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: usps.com Click-n-ship AutoFill Button Contrib

OK I figured it out. In fact it may have been the cause of the initial "error" on form load. When they added the new Express hold checkbox, they finally had another non-default value for the submit control. So this tells it explicitly to use continue button now.

Very simple fix:

Need to edit:
admin/includes/modules/usps_autofill_button.php
find:

<input type="hidden" name="submitControl" value="">

change to:

<input type="hidden" name="submitControl" value="Continue">