Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2011
    Posts
    2
    Plugin Contributions
    0

    Default Headers already sent

    My 1.3.8a zen cart installation has a problem. It works fine until you try to check out an order & reach the /index.php?main_page=checkout_payment page, the page seems to hang (blank page) & I can see the browser stop/refresh icon (browser is Chrome) sort of looping round.

    I've installed the debug utility & it mentions the following files in the txt file detailed below. The sites been working fine for ages & I've not edited either of the files below. I realise that these sort of errors can be caused by extra space at the end of the files, but I've not carried out any editing of these files.

    I have edited both of the configure.php files & will be replacing these as my next step, but I'd love some advice or pointers as to what could be stopping the cart from processing the order. If I view the source of "index.php?main_page=checkout_payment" the page has only half loaded too.

    Code:
    [04-May-2011 13:34:43] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/tortoise/public_html/store/includes/languages/english/Tortoisedirect/meta_tags.php:1) in /home2/tortoise/public_html/store/includes/init_includes/init_templates.php on line 78
    [04-May-2011 13:34:43] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/tortoise/public_html/store/includes/languages/english/Tortoisedirect/meta_tags.php:1) in /home2/tortoise/public_html/store/includes/init_includes/init_templates.php on line 78
    [04-May-2011 13:34:43] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/tortoise/public_html/store/includes/languages/english/Tortoisedirect/meta_tags.php:1) in /home2/tortoise/public_html/store/includes/init_includes/init_templates.php on line 78

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Headers already sent

    If you scroll to the bottom of the page you'll find other threads that already address this type of problem. And your warning message tells you the file and even the line within that file where your problem is located.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Headers already sent

    Look for blank space(s) or blank line(s) after the closing php tag ?> in the file:
    includes/languages/english/Tortoisedirect/meta_tags.php

  4. #4
    Join Date
    Jan 2011
    Posts
    2
    Plugin Contributions
    0

    Default Re: Headers already sent

    I'm grateful for your help, but could you offer an explanation/guess as to why these files would need editing when I've not been anywhere near them?

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Headers already sent

    Most likely a problem during the upload to your site. I suspect that the named file is missing the first character.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  6. #6
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Headers already sent

    could you offer an explanation/guess as to why these files would need editing when I've not been anywhere near them?
    Well, files which previously worked must either have been edited or else restored from a backup (either by you or your hosting company).

    A highly possible explanation, given that you are using the out-of-date 1.3.8a version, is that the site may have been hacked and the files modified by the hacker.

    Vger

  7. #7
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Headers already sent

    .

    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.

 

 

Similar Threads

  1. Headers Already Sent
    By chadderuski in forum General Questions
    Replies: 13
    Last Post: 29 Apr 2011, 10:23 PM
  2. headers already sent ...
    By pursuitbaits in forum General Questions
    Replies: 7
    Last Post: 8 Nov 2009, 08:00 AM
  3. headers already sent
    By Zaphan58 in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 19 Mar 2009, 12:15 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