If this is your first visit, check our documentation. To post, register or login.
Forums / Built-in Shipping and Payment Modules / need to change text on checkout_shipping but it white pages

need to change text on checkout_shipping but it white pages

Locked

Started by pwoens on 22 Jan 2010, 11:52 PM · Views: 1,670

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
22 Jan 2010, 11:52 PM
#1
pwoens avatar

pwoens

New Zenner

Join Date:
Dec 2007
Posts:
63
Plugin Contributions:
0

need to change text on checkout_shipping but it white pages

I need to change the text on the 1st and 2nd step of checking out where it reads "Special Instructions or Comments About Your Order". I found the text in the checkout_shipping.php and checkout_payment.php file but if I change it to read "Enter Make Model and Year here" I get the white page of death?? Can this be changed somewhere else in Admin maybe?? or do I need to modify other files to reflect the same information?

22 Jan 2010, 11:55 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: need to change text on checkout_shipping but it white pages

Post the line of code with your edit along with the file name

Zen-Venom Get Bitten

23 Jan 2010, 12:56 AM
#3
pwoens avatar

pwoens

New Zenner

Join Date:
Dec 2007
Posts:
63
Plugin Contributions:
0

Re: need to change text on checkout_shipping but it white pages

original code line

includes/languages/english/checkout_shipping.php

 define('TABLE_HEADING_COMMENTS', 'Special Instructions or Order Comments');

new code line

includes/languages/english/custom/checkout_shipping.php

 define('TABLE_HEADING_COMMENTS', 'Enter Make Model and Year here');
23 Jan 2010, 3:01 AM
#4
pwoens avatar

pwoens

New Zenner

Join Date:
Dec 2007
Posts:
63
Plugin Contributions:
0

Re: need to change text on checkout_shipping but it white pages

this is weird. If I modify that line in any fashion I get the white page of nothing when I click on continue checkout and it calls the checkout_shipping.php. The text does show properly but for some reason it causes the operation to fail on continue??

I did modify step 2 of 3 (checkout_payment) for the same comments box and it is working great???

23 Jan 2010, 4:26 PM
#5
pwoens avatar

pwoens

New Zenner

Join Date:
Dec 2007
Posts:
63
Plugin Contributions:
0

Re: need to change text on checkout_shipping but it white pages

So i have been playing with this file and no change. I have tried changing the text not only on the heading of the description box, but also on the message at the bottom that says "continue to step 2". No matter what text I change anywhere within this file, once you hit continue you get a white screen?? This does not make sense because on the checkout_payment.php and checkout_confirmation.php I can make same said changes with no ill affects???

23 Jan 2010, 5:47 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: need to change text on checkout_shipping but it white pages

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

27 Jan 2010, 4:07 PM
#7
seian avatar

seian

New Zenner

Join Date:
Oct 2009
Posts:
27
Plugin Contributions:
0

Re: need to change text on checkout_shipping but it white pages

I'm not sure if this fits what is happening, but did you make sure your permissions were set correctly on the file after upload? I have forgotten that a few times. It needs to be 664 or RW-RW-R