Zen Cart Logo
Forums / General Questions / Garbage Characters under Welcome

Garbage Characters under Welcome

Locked

Views: 1,020

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
17 Apr 2009, 21:04
#1
phlipper avatar

phlipper

Zen Follower

Join Date:
Jan 2006
Posts:
128
Plugin Contributions:
0

Garbage Characters under Welcome

https://www.kwmagic.com

Little squiggly characters under the word 'Welcome Guest!'

Can't figure out how to remove them - or how they got there.

Happened today.

Any help or insight appreciated.

thanks

Phil

17 Apr 2009, 21:07
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Garbage Characters under Welcome

thats UTF 8 BOM ,, you should not edit zc files in that character set ..

that might be contained in your defind_main_page.php .. you can access that using Admin > Tools > Define pages and select that define that you edited ..

17 Apr 2009, 21:09
#3
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: Garbage Characters under Welcome

You also have an undefined constant in your footer.

17 Apr 2009, 21:18
#4
phlipper avatar

phlipper

Zen Follower

Join Date:
Jan 2006
Posts:
128
Plugin Contributions:
0

Re: Garbage Characters under Welcome

thanks that did it... funny why I couldn't see them in my editor only on the Zen Editor.

17 Apr 2009, 21:19
#5
phlipper avatar

phlipper

Zen Follower

Join Date:
Jan 2006
Posts:
128
Plugin Contributions:
0

Re: Garbage Characters under Welcome

that undefined constant has been around for over a year, never have been able to figure out where it is.

17 Apr 2009, 21:22
#6
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Garbage Characters under Welcome

your editor is set to UTF 8 charset .. that is why you don't see that character in your editor .. zencart charset is different and gets effected by that character ..

i believe version 2.0 will be UTF 8 :smile:

17 Apr 2009, 21:25
#7
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Garbage Characters under Welcome

add this to your english.php file

define('FOOTER_TEXT_BODY', 'Copyright © ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');

around line 15 .

17 Apr 2009, 22:11
#8
phlipper avatar

phlipper

Zen Follower

Join Date:
Jan 2006
Posts:
128
Plugin Contributions:
0

Re: Garbage Characters under Welcome

thanks again - that did it

17 Apr 2009, 22:44
#9
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Garbage Characters under Welcome

you welcome :smile: