Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Changing includes/english/checkout_shipping.php

Changing includes/english/checkout_shipping.php

Views: 1,114

Results 1 to 6 of 6
9 Jan 2011, 9:33 PM
#1
bubbadan avatar

bubbadan

New Zenner

Join Date:
Apr 2005
Location:
TN
Posts:
96
Plugin Contributions:
0

Changing includes/english/checkout_shipping.php

This is freaking me out!

If I go to includes/languages/english/checkout_shipping.php and try to change the line -

define('TEXT_CHOOSE_SHIPPING_METHOD', 'Please select the preferred shipping method to use on this order.');

and upload it - it will not go to step 2.

This is what I changed it to

define('TEXT_CHOOSE_SHIPPING_METHOD', 'This is a comment to see if this will work.');

I upload it to:
includes/languages/english/MYTEMPLATE/checkout_shipping.php

nothing comes up on step 2 after you choose your shipping method.

I thought - OK maybe this is one of those puppies that you can't load under you custom template so..

I delete it from there and upload it to:
includes/languages/english/checkout_shipping.php (the original placement)

again - nothing happens in step 2 just a blank page.

If I upload the non-changed version to:
includes/languages/english/MYTEMPLATE/checkout_shipping.php

Again - I get a blank page when going to step 2

If I upload the non-changed version under includes/languages/english/checkout_shipping.php - it goes to step 2 no problem!

This has me completely baffled!

Anyone able to shed light on what the heck is going on?

Thanks

Version 1.3.9h - only mod used is layout grid.

10 Jan 2011, 12:24 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Changing includes/english/checkout_shipping.php

What error logs do you see in the /cache directory about this problem? :unsure:

10 Jan 2011, 3:47 AM
#3
bubbadan avatar

bubbadan

New Zenner

Join Date:
Apr 2005
Location:
TN
Posts:
96
Plugin Contributions:
0

Re: Changing includes/english/checkout_shipping.php

PHP Warning: Cannot modify header information - headers already sent by (output started at /home/server/public_html/includes/languages/english/custom/checkout_shipping.php:69) in /home/server/public_html/includes/functions/functions_general.php on line 45

The lovely Header error.

10 Jan 2011, 4:45 AM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Changing includes/english/checkout_shipping.php

Check and see if you have space(s) or blank line(s) after the closing php bracket ?> at the end of the language file ...

10 Jan 2011, 6:08 AM
#5
bubbadan avatar

bubbadan

New Zenner

Join Date:
Apr 2005
Location:
TN
Posts:
96
Plugin Contributions:
0

Re: Changing includes/english/checkout_shipping.php

OK really? Where did that come from? That did it. SOOOO very strange that it would work and then poof, not.
Tis a puzzlement - THANKS Ajeh!

10 Jan 2011, 6:09 AM
#6
bubbadan avatar

bubbadan

New Zenner

Join Date:
Apr 2005
Location:
TN
Posts:
96
Plugin Contributions:
0

Re: Changing includes/english/checkout_shipping.php

AH HA! SPELL CHECK in my HTML program did it! It adds two lines after ?>