Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2009
    Posts
    5
    Plugin Contributions
    0

    Default headers already sent ...

    Hey guys, here to check in with you on a problem im having.

    First off my site is www.pursuitbaits.com/zencartshop

    I just switched to hostmonster.com for a host, and got my Zen-Cart all set up, added products, ect. The problem im having is that when I click to add a product to the cart, the page just turns white and won't refresh. This also happens when registering a new account, ect. If I click the back button on my browser, it will show the item in the cart, or the created account. The page just won't refresh. I've done some reading here and not really finding the answer I don't think. When I check the error log, it shows no php errors, but shows a list under the Main error_log. I won't lie and try to tell you im a genius. Im very new to Zen-cart and have never had this problem before. Can anyone help me with this?

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

    Default Re: Issue with Zen-Cart

    Have you installed the debugging tool thats in the DL section
    Zen cart PCI compliant Hosting

  3. #3
    Join Date
    Jul 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: Issue with Zen-Cart

    I have not. I wasn't sure if that was the correct route to take or not. I figured i'd ask here before messing it up.

  4. #4
    Join Date
    Jul 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: Issue with Zen-Cart

    Ok, I followed the instructions....... I have obviously changed something somewhere, that I should not have. Can you help me out with these error messages?

    [07-Nov-2009 22:48:33] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/pursuit4/public_html/zencartshop/includes/languages/english/classic/header.php:32) in /home/pursuit4/public_html/zencartshop/includes/init_includes/init_templates.php on line 78
    [07-Nov-2009 22:48:33] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/pursuit4/public_html/zencartshop/includes/languages/english/classic/header.php:32) in /home/pursuit4/public_html/zencartshop/includes/functions/functions_general.php on line 44

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

    Default Re: Issue with Zen-Cart

    Quote Originally Posted by pursuitbaits View Post
    [07-Nov-2009 22:48:33] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/pursuit4/public_html/zencartshop/includes/languages/english/classic/header.php:32) in ...
    Looking up that error in the FAQ area brings this article which explains your problem: https://www.zen-cart.com/tutorials/index.php?article=87
    .

    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. #6
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Issue with Zen-Cart

    /home/pursuit4/public_html/zencartshop/includes/languages/english/classic/header.php

    Delete that file an re-upload the original, from the Zen Cart files. Or compare your copy of it to the original to see where things could have gone wrong.

    You should also seriously consider having your custom Template done using the correct override protocol. As it is, if you update your site with a new version of Zen Cart you stand to lose your customizations / changes.

  7. #7
    Join Date
    Jul 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: headers already sent ...

    Thank you guys so much for your help!!!!!!! I got it working perfect now. There were two extra lines in there, where I had copied the file from my old host. Now it's loading as expected!

    "You should also seriously consider having your custom Template done using the correct override protocol. As it is, if you update your site with a new version of Zen Cart you stand to lose your customizations / changes."

    I actually just started reading about how to do this as I was waiting for replies. Thanks!

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

    Default Re: headers already sent ...

    Good work on the troubleshooting. Posting what worked for you may help others in the Forum.

 

 

Similar Threads

  1. Headers already sent
    By TelTel in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 4 May 2011, 05:39 PM
  2. Headers Already Sent
    By chadderuski in forum General Questions
    Replies: 13
    Last Post: 29 Apr 2011, 10:23 PM
  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