Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2006
    Location
    Columbia, MD
    Posts
    31
    Plugin Contributions
    0

    Default New to Zen! Cannot modify header information

    I am new to Zen and having a problem with the following code. If you go to http://www.givecourage.com/ you will see that whenever I click on one of the titles in the Categories box I get this error message. Can anybody help me please.

    Warning: Cannot modify header information - headers already sent by (output started at /home/b4after4/public_html/includes/languages/english/future_zen/index.php:60) in /home/b4after4/public_html/includes/functions/functions_general.php on line 41

    // clean up URL before executing it
    while (strstr($url, '&&')) $url = str_replace('&&', '&', $url);
    while (strstr($url, '&&')) $url = str_replace('&&', '&', $url);
    // header locates should not have the & in the address it breaks things
    while (strstr($url, '&')) $url = str_replace('&', '&', $url);

    header('Location: ' . $url);

    zen_exit();

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: New to Zen! Cannot modify header information

    Hello,
    the issue here is
    that you have extra defined lines under the last ?> in
    /home/b4after4/public_html/includes/languages/english/future_zen/index.php

    open this file in a good text editor
    www.textpad.com
    www.crimsoneditor.com are both good for this

    place your cursor after the closing ?> hit delete about 10 times,
    save and re-upload
    using the cpanel editor will cause this to happen alot
    Zen cart PCI compliant Hosting

  3. #3
    Join Date
    May 2006
    Posts
    14
    Plugin Contributions
    0

    Default Re: New to Zen! Cannot modify header information

    Merlin - you're a genius! You just saved me a tremendous amount of time! THANK YOU!

 

 

Similar Threads

  1. Cannot send session cookie / Cannot modify header information
    By witch-of-germany in forum General Questions
    Replies: 9
    Last Post: 10 Apr 2011, 01:00 AM
  2. Cannot modify header information
    By hairx in forum General Questions
    Replies: 1
    Last Post: 22 Nov 2007, 11:05 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