Forums / Upgrading to 1.5.x / Step 1 of Checkout Looks funny (USPS message on screen) after upgrade

Step 1 of Checkout Looks funny (USPS message on screen) after upgrade

Locked

Started by saintsteven on 9 Jul 2014, 3:45 PM · Views: 1,523

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
9 Jul 2014, 3:45 PM
#1
saintsteven avatar

saintsteven

New Zenner

Join Date:
Mar 2010
Posts:
83
Plugin Contributions:
0

Step 1 of Checkout Looks funny (USPS message on screen) after upgrade

I've finished upgrading to 1.5.3, haven't found anything funny except first page of checkout (checkout_shipping)

It looks like this :

Attachment 14263

Checkout_payment (and subsequent page) looks fine:

Attachment 14264

Problem with checkout_shipping is the extraneous info in upper left corner and funny header.

I'm not sure how to fix that and would appreciate any advice,

thanks

9 Jul 2014, 5:16 PM
#2
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Step 1 of Checkout Looks funny (USPS message on screen) after upgrade

Check your USPS shipping module that it is the current version and that debugging is NOT turned on.

Jim
Wheaton Website Services

9 Jul 2014, 5:33 PM
#3
saintsteven avatar

saintsteven

New Zenner

Join Date:
Mar 2010
Posts:
83
Plugin Contributions:
0

Re: Step 1 of Checkout Looks funny (USPS message on screen) after upgrade

jeking:

Check your USPS shipping module that it is the current version and that debugging is NOT turned on.

Thanks,

I don't think that's it; I'm using USPS RateV4 Intl RateV2 - March 7, 2014 Version K3, and as far as I know that's up-to-date..........

Steve

9 Jul 2014, 6:48 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Step 1 of Checkout Looks funny (USPS message on screen) after upgrade

Check and see if you have uncommented an echo in the file:
/includes/modules/shipping/usps.php

by doing a search in the Tools ... Developers Tool Kit for:
USPS $type:

there will be several lines that contain that, but all should start as:

[B]//[/B] echo

and not as"

echo

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Jul 2014, 8:19 PM
#5
saintsteven avatar

saintsteven

New Zenner

Join Date:
Mar 2010
Posts:
83
Plugin Contributions:
0

Re: Step 1 of Checkout Looks funny (USPS message on screen) after upgrade

Ajeh:

Check and see if you have uncommented an echo in the file:
/includes/modules/shipping/usps.php

by doing a search in the Tools ... Developers Tool Kit for:
USPS $type:

Yes, Thank you, I certainly did have an uncommented echo:

Fixing that resulted in a further little glitch:

Attachment 14267

Would that be another uncommented something?

:(

9 Jul 2014, 8:32 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Step 1 of Checkout Looks funny (USPS message on screen) after upgrade

Do you see any debug logs in /logs directory?

If so, what do they read?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Jul 2014, 9:17 PM
#7
saintsteven avatar

saintsteven

New Zenner

Join Date:
Mar 2010
Posts:
83
Plugin Contributions:
0

Re: Step 1 of Checkout Looks funny (USPS message on screen) after upgrade

Ajeh:

Do you see any debug logs in /logs directory?

If so, what do they read?

a couple of entries that indicated my configure files were not writeable, when I was doing my install, which I fixed, and these: (other debug entries are older than this upgrade)

[08-Jul-2014 20:39:50 America/Denver] PHP Warning:  require_once(/home1/saintste/public_html/shopping/includes/classes/vendors/password_compat-master/lib/password.php): failed to open stream: No such file or directory in /home1/saintste/public_html/shopping/includes/classes/class.zcPassword.php on line 52

[08-Jul-2014 20:39:50 America/Denver] PHP Fatal error:  require_once(): Failed opening required '/home1/saintste/public_html/shopping/includes/classes/vendors/password_compat-master/lib/password.php' (include_path='.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear') in /home1/saintste/public_html/shopping/includes/classes/class.zcPassword.php on line 52

[08-Jul-2014 20:47:53 America/Denver] PHP Fatal error:  require(): Failed opening required 'includes/init_includes/init_observers.php' (include_path='.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear') in /home1/saintste/public_html/shopping/includes/autoload_func.php on line 48
9 Jul 2014, 9:33 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Step 1 of Checkout Looks funny (USPS message on screen) after upgrade

These do not look related to USPS ...

What else have you installed besides USPS?

You might check that all of the files on the server are current with those in v1.5.3 ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Jul 2014, 9:51 PM
#9
saintsteven avatar

saintsteven

New Zenner

Join Date:
Mar 2010
Posts:
83
Plugin Contributions:
0

Re: Step 1 of Checkout Looks funny (USPS message on screen) after upgrade

I think USPS is the only file I've installed.

I did modify USPS for Media Mail (which is where I suppose I uncommented that line and perhaps this has been going on for a while unnoticed by me and isn't related to 1.5.3).

Perhaps I'd better get a fresh copy of the USPS mod and compare that to what I'm using, minus the Media Mail stuff........

9 Jul 2014, 10:04 PM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Step 1 of Checkout Looks funny (USPS message on screen) after upgrade

Saintsteven:

Yes, Thank you, I certainly did have an uncommented echo:

Fixing that resulted in a further little glitch:

Attachment 14267

Would that be another uncommented something?
That looks like you've made customizations to the html_header.php file in your template, but your changes have resulted in invalid HTML, thus outputting that raw unformatted html code to the visible area of the screen.

Doesn't look like USPS is related to your current error anymore.

.
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.

9 Jul 2014, 10:32 PM
#11
saintsteven avatar

saintsteven

New Zenner

Join Date:
Mar 2010
Posts:
83
Plugin Contributions:
0

Re: Step 1 of Checkout Looks funny (USPS message on screen) after upgrade

DrByte:

That looks like you've made customizations to the html_header.php file in your template, but your changes have resulted in invalid HTML, thus outputting that raw unformatted html code to the visible area of the screen.

Doesn't look like USPS is related to your current error anymore.

Oh, yes, I did, thank you very much. I'll bet this is not a new problem, but rather something I hadn't noticed before. I've recently switched custom templates and I see some stuff in the one I'm now using that looks wacky. If it weren't for the fact that my housemate does not understand skipping dinner to fix code, I'd get on it, and will do so in about an hour...........

(I did buy coffee, just one can, as I am poor-but-appreciative) :smile:

10 Jul 2014, 12:08 AM
#12
saintsteven avatar

saintsteven

New Zenner

Join Date:
Mar 2010
Posts:
83
Plugin Contributions:
0

Re: Step 1 of Checkout Looks funny (USPS message on screen) after upgrade

To complete the topic: Yes, that was it. I had just switched to a custom template that I'd unsuccessfully and incorrectly modified in the past, and the html_header.php contained errors. Crisis averted, had nothing to do with 1.5.3.

10 Jul 2014, 6:32 PM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Step 1 of Checkout Looks funny (USPS message on screen) after upgrade

Glad you got it sorted out!

.
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.