Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default Unwanted text above header

    I've copied my active server onto another domain (using https://www.zen-cart.com/tutorials/i...hp?article=100) in order to test some changes that I will make to the site - however for some reason a '0.00' has appeared above the header (and even above the 'down for maintenance' banner) ... I have copied the original files back (to try to eliminate the file causing the issue) and this text is still there..>>

    can anyone suggest a fix because it is driving me mad..

    _thanks

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Unwanted text above header

    I would use the Developers Tool Kit to search for '0.00' to see where it might be coming from. In a stock Zencart installation, there aren't that many files (18) where that string appears.

  3. #3
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default Re: Unwanted text above header

    thanks>> I haven't changed any of those files though!

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Unwanted text above header

    Quote Originally Posted by stevesh View Post
    I would use the Developers Tool Kit to search for '0.00' to see where it might be coming from. In a stock Zencart installation, there aren't that many files (18) where that string appears.
    The "format" of this looks like it could belong to a "shopping cart value" that was (once) part of a header.

    Does the "text" change - say to 9.95, if you add a product to the cart that costs 9.95?
    20 years a Zencart User

  5. #5
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default Re: Unwanted text above header

    thanks - no it doesn't.. unfortunately .. but it is removed when I replace my customised 'english.php' with the original but I cannot figure why - there isn't a '0.00' in that file..

    all a bit strange > if there are any suggestions as to why please comment.

    _thanks

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Unwanted text above header

    What software did you use to edit that language file?
    20 years a Zencart User

  7. #7
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default Re: Unwanted text above header

    dreamweaver..

    ... incidentally I went through the changes one by one and the problem was that I hadn't included some new entries that I had previously included - this doesn't explain why it displayed '0.00' but or why it was at the very top of the screen but if anyone should come across that study your 'english.php' file.

    _thanks for the help fellas

  8. #8
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Unwanted text above header

    Quote Originally Posted by g_force View Post
    dreamweaver..
    Therein lies your problem***... php files should be edited ONLY in a plain text editor, such as Emerald Editor, or Notepad++.

    Put Dreamweaver back in its box and store the box in your loft or shed.

    ***(Unless you are fully aware of how to use DW to manage php material).
    20 years a Zencart User

  9. #9
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default Re: Unwanted text above header

    surely that has nothing to do with it - the code is still the same

  10. #10
    Join Date
    Mar 2010
    Location
    UK
    Posts
    445
    Plugin Contributions
    0

    Default Re: Unwanted text above header

    If you use anything other than a plain text editor it can add "invisible" characters into the file, change the character set the file is saved with, and mess with line breaks and returns. Some of these things can make a site behave weird while hiding the cause from easy view.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Help getting rid of unwanted text in header
    By DarkAngel in forum General Questions
    Replies: 8
    Last Post: 16 Dec 2013, 08:14 PM
  2. how to add an image *between* header text and above content??
    By tlyczko in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Mar 2013, 09:54 PM
  3. How to get text or search box above header image?
    By NOJoke in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 29 Jul 2011, 08:18 PM
  4. How to remove unwanted lines above Add to Cart button?
    By ychousa in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Nov 2009, 07:39 PM
  5. Unwanted space above navCatTabs
    By kriszti in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Aug 2008, 10:18 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