Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Warning: Cannot modify header information - headers already sent by

    I am sorry to say, but the error seems to be beyond the support of the zen cart vendor itself.....

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Warning: Cannot modify header information - headers already sent by

    If you're not happy with the script you can always ask for your money back.

    Otherwise, were edits done to the files in question? That specific error msg. is common when syntax has been incorrectly changed. This can include spaces after the ?> at the page bottom.

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

    Default Re: Warning: Cannot modify header information - headers already sent by

    It would seem that you have something running in a template file which is trying to do a redirect *after* the page has started drawing ... hence the "headers already sent" message appearing when the redirect header-change function gets called.

    You made mention of "Worldpay". What happens if you turn off the worldpay module and enable the Check/MoneyOrder module instead? Does the error go away? If so, then logic would suggest that the problem is somewhere in the Worldpay module you're using.
    .

    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.

  4. #4
    Join Date
    Oct 2007
    Posts
    1
    Plugin Contributions
    0

    Default Re: Warning: Cannot modify header information - headers already sent by

    Quote Originally Posted by DrByte View Post
    It would seem that you have something running in a template file which is trying to do a redirect *after* the page has started drawing ... hence the "headers already sent" message appearing when the redirect header-change function gets called.

    You made mention of "Worldpay". What happens if you turn off the worldpay module and enable the Check/MoneyOrder module instead? Does the error go away? If so, then logic would suggest that the problem is somewhere in the Worldpay module you're using.
    Hi all

    I have the same problem.
    I believe nothing to do with the additional space problem.
    If I don't select worldpay and use paypal or COD, then everythinng works fine.

  5. #5
    Join Date
    Aug 2006
    Location
    London
    Posts
    53
    Plugin Contributions
    0

    Default Re: Warning: Cannot modify header information - headers already sent by

    Quote Originally Posted by Website Rob View Post
    If you're not happy with the script you can always ask for your money back.

    Otherwise, were edits done to the files in question? That specific error msg. is common when syntax has been incorrectly changed. This can include spaces after the ?> at the page bottom.
    That worked for me... Thanks

  6. #6
    Join Date
    Oct 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Warning: Cannot modify header information - headers already sent by (using Worldp

    Hi Guys,

    Hope you can help.
    I have the same issue as described in one of the above posts:
    Warning: Cannot modify header information - headers already sent by (output started at /home/*****/public_html/includes/templates/ZC03C00094/common/html_header.php:22) in /home/*****/public_html/includes/functions/functions_general.php on line 44

    I have tried everything suggested in this post and others and am still getting this error.

    The error is appearing when Worldpay calls back to the Zen Cart site so the order doesn't complete as the callback is incomplete.

    I have tried reinstalling worldpay, changing templates, all the suggestions that have been made in this thread so far and still no luck.

    The site is Zen Cart version 1.3.7 and the server is running PHP 5.2.5
    Any help with this issue would be much appreaciated.

    Cheers
    Brian

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

    Default Re: Warning: Cannot modify header information - headers already sent by (using Worldp

    So, what exactly did you do about the error happening in your html_header.php file? (as per the FAQ I mentioned in my earlier post in this thread)

    And who built your template? Maybe they can be of some assistance in fixing the problem?
    .

    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.

  8. #8
    Join Date
    Oct 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Warning: Cannot modify header information - headers already sent by (using Worldp

    Hi Dr Byte,

    Thanks for the response.
    I have had a look at the files in question and checked for any spaces at the end of php tags, removed any that I found, tried using the classic template instead of the one being used on the site and still got the same error message.
    I reinstalled worldpay using the most recent download available just in case something in there wasn't working correctly.

    Im basically at a total loss as to what to try next

    Cheers
    Brian

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

    Default Re: Warning: Cannot modify header information - headers already sent by (using Worldp

    If you've tried switching to "classic" template, did the error message change at all?
    Because ... the message you quoted was specific to your ZC03C00094 template:
    Quote Originally Posted by digimac View Post
    Warning: Cannot modify header information - headers already sent by (output started at /home/*****/public_html/includes/templates/ZC03C00094/common/html_header.php:22)
    .

    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.

  10. #10
    Join Date
    Oct 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Warning: Cannot modify header information - headers already sent by (using Worldp

    This is the warning I get using the classic template

    Warning: Cannot modify header information - headers already sent by (output started at /home/*****/public_html/includes/templates/template_default/common/html_header.php:22) in /home/*****/public_html/includes/functions/functions_general.php on line 43

    Thanks again for the help
    Brian

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Warning: Cannot modify header information - headers already sent by
    By Jacket in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 12 Oct 2010, 08:15 AM
  2. Cannot modify header information - headers already sent by
    By laserayaneh in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 6 Sep 2006, 12:14 PM
  3. Replies: 7
    Last Post: 31 Jul 2006, 06:36 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