Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    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.

  2. #12
    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

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

    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.

  4. #14
    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

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

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

    Okay, must be something unique to your payment module.

    A regular Zen Cart page starts drawing its page content via html_header.php.
    The only reason to get a "headers already sent" error in that case is if you're using addon code that attempts to redirect to another page after already drawing part of the current page ... which must be what your payment module is trying to do somehow.
    .

    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.

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

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

    I replaced the install of worldpay with the one available in the downloads section of Zen Cart and still get the same error when I am transfered back to the Zen cart site from worldpay.

    I have not modified the worldpay module code in anyway. Is there any other files that are called in the callback process that might be causing this error?

    Cheers
    Brian

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

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

    Someone familiar with the worldpay module would be better suited than me to answer those questions. I've never used it.
    .

    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. #18
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

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

    Developer of World Pay mod's support thread can be found at
    http://www.zen-cart.com/forum/showthread.php?t=39106
    HTH

  9. #19
    Join Date
    May 2008
    Location
    South Australia
    Posts
    86
    Plugin Contributions
    1

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

    got mine working again from blank page errors, i installed debug_error_logging_utility_1-0.zip , this helped me narrow it down to a file named english.php in my /www/includes/languages/ and another copy in my custom folder. they both had rogue white space at the end.. changing template to default b4 fixing corrected error, removing white space did to bet i can keep using my custom template.

  10. #20
    Join Date
    Dec 2009
    Posts
    9
    Plugin Contributions
    0

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

    thankyou for this help in this thread. The debugger utility saved me. I have been racking my brain for hours on a fix. It was the space at the end of my english.php

    when someone has a chance can you please goto our site and just add something to your cart to check that its not a white screen. more testing doesn;t help.

    www.registersonline.com.au

    i am very knew at this and doing this for my work. its a steep learning curve but all the forums help saves the day again

    very happy :):)

 

 
Page 2 of 2 FirstFirst 12

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