Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    May 2007
    Posts
    70
    Plugin Contributions
    0

    Default Cannot Modify Header...Error

    I've searched the forum but so far none of the solutions matched mine.

    Here is my error log:

    [05-May-2009 17:24:31] PHP Warning: Cannot modify header information - headers already sent by (output started at /public_html/awe-web.net/includes/languages/english.php:1403) in /public_html/awe-web.net/includes/init_includes/init_templates.php on line 78
    [05-May-2009 17:24:31] PHP Warning: Cannot modify header information - headers already sent by (output started at /public_html/awe-web.net/includes/languages/english.php:1403) in /public_html/awe-web.net/includes/functions/functions_general.php on line 44


    Here is line 78 of init_templates.php:

    PHP Code:
      header("Content-Type: text/html; charset=" CHARSET); 
    and here is line 44 from functions_general.php:
    PHP Code:
        header('Location: ' $url); 
    I don't know what needs changed in those lines.

  2. #2
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Cannot Modify Header...Error

    The problem is probably here : includes/languages/english.php
    You probably have a blank line at the end. Goto the spot right after the last > and hit delete a bunch of times and resave the file.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #3
    Join Date
    May 2007
    Posts
    70
    Plugin Contributions
    0

    Default Re: Cannot Modify Header...Error

    Nope, I saw that solution in another post so that's the first place I looked, there was infact extra space - I deleted it, saved it, and reuploaded it to my site but it didn't fix it. I reuploaded it several times actually and still the same problem. I use FileZilla - maybe I'll try uplaoding directly from Cpanel and see if that helps any.
    Dinner calls for me first though.

  4. #4
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Cannot Modify Header...Error

    What editor are you using?
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  5. #5
    Join Date
    May 2007
    Posts
    70
    Plugin Contributions
    0

    Default Re: Cannot Modify Header...Error

    I used dreamweaver - and also tried using the code editor in my CPanel. The space is gone, I am sure of it, and I am still getting the same error message and blank pages I'm going to try to reupload the original english.php file to see if maybe a change I did somewhere messed it up.

  6. #6
    Join Date
    May 2007
    Posts
    70
    Plugin Contributions
    0

    Default Re: Cannot Modify Header...Error

    Ok well I reloaded the original english.php file and still no luck.

    I haven't added any modifications or anything. Is the error it's giving me telling me it's in the english.php file? Or is it in the other 2 files it listed with line numbers?

 

 

Similar Threads

  1. Cannot Modify Header Information Error
    By acmc40 in forum General Questions
    Replies: 5
    Last Post: 14 Dec 2008, 06:28 PM
  2. Error: Cannot modify header information
    By BradSmith in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 26 Mar 2008, 07:27 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