Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2006
    Posts
    26
    Plugin Contributions
    0

    Error - cannot modify header info??

    HI - I just got started on customizing my cart yesterday and today with the help of the FAQs was able to do the basic customizing with overrides and all that.

    I thought I did everything as I should, but not sure what happened. After I finished my basic upgrades, I went into the admin area and went to my categories and added the pictures that are for each category.... then after I entered them all I went and tested the cart and everything worked fine until I was in Home :: Girl's Clothes :: 4/4T :: Sonoma Winter Dress

    I tried clicking the picture to return to the 4/4T category and when I did - I got this error:


    Warning: Cannot modify header information - headers already sent by (output started at /home/passion/public_html/kidsbargainoutlet/shop/includes/languages/english/custom_template/index.php:118) in /home/passion/public_html/kidsbargainoutlet/shop/includes/functions/functions_general.php on line 41


    my cart is at http://kidsbargainoutlet.com/shop if you want to recreate the error.

    The only header i updated was the new one i created in my custom template folder (custom_template is the directory name).

    Any ideas?

    Thx
    Rae

  2. #2
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Error - cannot modify header info??

    Just open this file and check if its missing the <? or ?>
    and make sure there are no extra lines at the end
    Thanks
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  3. #3
    Join Date
    Aug 2006
    Posts
    26
    Plugin Contributions
    0

    Re: Error - cannot modify header info??

    HI..

    OK I checked the custom templates index.php file and I couldn't find anything.

    I thought I wasn't supposed to touch the other page because it';s not in the override type folder?

    thx
    Rae

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

    Default Re: Error - cannot modify header info??

    /includes/languages/english/custom_template/index.php:118
    The indicated file is the one with the problem.

    The :118 at the end indicates that the problem is on line 118.

    Likely a blank line or two at the end of the file after the closing ?>
    .

    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
    Aug 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: Error - cannot modify header info??

    OK I recchecked and that did the trick.. I don't know how I missed it the 1st time I checked but there were 2 blank lines down at the bottom.

    Thx :)
    Rae

 

 

Similar Threads

  1. v151 Cannot modify header info.... errror
    By JuzJoJo in forum General Questions
    Replies: 2
    Last Post: 15 Nov 2013, 04:13 AM
  2. Cannot Modify Header...Error
    By zingslings in forum General Questions
    Replies: 6
    Last Post: 6 May 2009, 04:25 AM
  3. Cannot modify header info
    By brimsjewelry in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 9 Sep 2007, 10:26 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