Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / FOOTER_TEXT_BODY showing at the bottom of my page

FOOTER_TEXT_BODY showing at the bottom of my page

8 Nov 2011, 3:00 AM
#1
huntleybill avatar

huntleybill

Zen Follower

Join Date:
Sep 2011
Posts:
102
Plugin Contributions:
0

Post #1 by huntleybill

I removed the copyright tag at the bottom of my V1.3.9 copy of Zencart. Now in place of that it has
FOOTER_TEXT_BODY

What did I do??? How do I get rid of that?

Thank you

8 Nov 2011, 3:35 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,934
Plugin Contributions:
26

Post #2 by dbltoe

You did an incorrect removal of something. Make sure you left the correct ' around after you make your changes to the file. The apostrophes should be in pairs.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

8 Nov 2011, 4:13 AM
#3
drbyte avatar

drbyte

Sensei

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

Post #3 by drbyte

Yup - sounds like you deleted an entire "define" statement, instead of merely changing what it's defined "to".
ref: https://www.zen-cart.com/tutorials/index.php?article=95

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

8 Nov 2011, 4:15 AM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #4 by gjh42

I removed the copyright tagWhat did you do to remove it? Deleting a define will give the issue you report. If you want it gone, change it to

define('FOOTER_TEXT_BODY', '');
```with two single quotes as dbltoe mentions.
8 Nov 2011, 3:08 PM
#5
huntleybill avatar

huntleybill

Zen Follower

Join Date:
Sep 2011
Posts:
102
Plugin Contributions:
0

Post #5 by huntleybill

I believe you are correct that I deleted the whole line, however when i go back into includes/languages/english.php and put everything back in, i get a page cannot be displayed error. Is there a way to download an original version of just the english.php file?

8 Nov 2011, 3:52 PM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #6 by gjh42

No, but if you don't have a copy of the original Zen Cart zip file, you can download and unzip a fresh set. It is good to have on hand for reference. From that, you can upload a new copy of the file you want.

8 Nov 2011, 4:01 PM
#7
huntleybill avatar

huntleybill

Zen Follower

Join Date:
Sep 2011
Posts:
102
Plugin Contributions:
0

Post #7 by huntleybill

YOu see, This is why you get the BIG BUCKS.
It is so simple, it is brillient. Seems I couldn't think of the obvious!!!

I will do that...Thank you for the suggestion