Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2007
    Posts
    4
    Plugin Contributions
    0

    Default Can not modify header information

    I added a new category, no problem, added a new product into it once again no problem. When I return to the store in IE7 or Firefox I have the same error:-

    Warning
    : Cannot modify header information - headers already sent by (output started at /home/bestonco/public_html/shop/includes/languages/english/index.php:117) in /home/bestonco/public_html/shop/includes/functions/functions_general.php on line 44

    Here is line 44 of the functions_general.php

    header('Location: ' . $url);

    The index.php line 117 is empty.
    If anyone can help.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Can not modify header information

    If you do a search on this error message it would show that you have space(s) or blank line(s) at the bottom of the language file:
    /shop/includes/languages/english/index.php

    Use a good text editor and remove them then reload the file to your site ...

    NOTE: You should be using the templates and overrides for your customizations and not the core code ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jun 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Can not modify header information

    I had this problem too. My client was adding a new product and got this error message as well.
    She was probably using the HTML editor instead of Text and used an apostrophe.

    If there a way to avoid having this happen without constantly reminding my clients to NOT use the HTML editor and make sure they always switch to the Text one?

    second: I don't understand how to fix tghe problem now. We've deleted the product and the category, then re-added it. Still get the error.

    Help?
    thx
    Jennifer

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Can not modify header information

    Quote Originally Posted by hatcher View Post

    Warning
    : Cannot modify header information - headers already sent by (output started at /home/bestonco/public_html/shop/includes/languages/english/index.php:117)
    https://www.zen-cart.com/tutorials/index.php?article=87
    .

    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.

  5. #5
    Join Date
    Mar 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Can not modify header information

    Hi again, I know you are supposed to use the Admin section of Zen but I am using Dreamweaver CS3 as I have been using it for about 8 years and have programming experience. PHP is making more sense the more I edit it. I removed the blank spaces at the end of the page but it is still the same. I will continue to edit until I fix it then let you know how I did it.

  6. #6
    Join Date
    Jun 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Can not modify header information

    holy robin droppings batman...I figured it out.
    It was so easy that it was complicated.

    Thanks everyone!! Cheers!

    Hmmm...is there a way to "lock" out the client from making that mistake of using the apostrophe in that bad way?

  7. #7

    Default Re: Can not modify header information

    Oh thank you thank you for the posting of this link!!
    I had the same problem and just fixed it with the help of this tutorial!
    I love this forum! You people are awsome!!

 

 

Similar Threads

  1. Again can not modify header information
    By nnitin in forum Addon Language Packs
    Replies: 0
    Last Post: 24 Oct 2008, 02:26 AM
  2. Cannot modify header information
    By hairx in forum General Questions
    Replies: 1
    Last Post: 22 Nov 2007, 11:05 AM
  3. Help!! Warning: Can not modify header info
    By bvrettski in forum General Questions
    Replies: 1
    Last Post: 15 Jul 2007, 12:27 AM

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