Results 1 to 9 of 9
  1. #1
    Join Date
    Jan 2006
    Posts
    128
    Plugin Contributions
    0

    Default Garbage Characters under Welcome

    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

  2. #2
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

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

  3. #3
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Garbage Characters under Welcome

    You also have an undefined constant in your footer.

  4. #4
    Join Date
    Jan 2006
    Posts
    128
    Plugin Contributions
    0

    Default Re: Garbage Characters under Welcome

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

  5. #5
    Join Date
    Jan 2006
    Posts
    128
    Plugin Contributions
    0

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

  6. #6
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default 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

  7. #7
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Garbage Characters under Welcome

    add this to your english.php file


    define('FOOTER_TEXT_BODY', 'Copyright &copy; ' . 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 .

  8. #8
    Join Date
    Jan 2006
    Posts
    128
    Plugin Contributions
    0

    Default Re: Garbage Characters under Welcome

    thanks again - that did it

  9. #9
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Garbage Characters under Welcome

    you welcome

 

 

Similar Threads

  1. v139h Foreign characters turns up as garbage after database restore
    By dysfunctional in forum General Questions
    Replies: 2
    Last Post: 21 Nov 2012, 09:22 PM
  2. Weird garbage characters showing up after sending email
    By willie bee in forum Managing Customers and Orders
    Replies: 5
    Last Post: 5 Dec 2011, 10:26 PM
  3. SQL restore always inserts garbage characters?
    By kevinmc3 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 21 Jul 2009, 07:10 PM
  4. How to show All Products only under the welcome page?
    By oavs in forum General Questions
    Replies: 6
    Last Post: 4 Jul 2008, 05:12 AM
  5. Garbage on email send process
    By bikemike in forum General Questions
    Replies: 5
    Last Post: 3 Dec 2006, 10:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg