Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2007
    Location
    Belfast, N.Ireland
    Posts
    96
    Plugin Contributions
    0

    Default 'headers already sent' errors

    Hi,

    I lifted the code and database backup from a ZenCart I had a few years ago, and am trying to move it to a new server.

    The ZenCart version is 1.3.7

    I have taken my back-up of the code, altered the config files for the new server and added a back-up of the old database.

    I haven't upgraded, just trying to get that version to work right now.

    I have ironed out a couple of glitches, but, I still have a problem, I am getting the following errors at the top of my catalog pages:

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/SiteFolder/public_html/includes/functions/extra_functions/pawel_attr.php:89) in /home/SiteFolder/public_html/includes/functions/sessions.php on line 108

    Warning: Cannot modify header information - headers already sent by (output started at /home/SiteFolder/public_html/includes/functions/extra_functions/pawel_attr.php:89) in /home/SiteFolder/public_html/includes/init_includes/init_templates.php on line 78

    I don't know how to fix them.

    Can anyone help me please.

    ZenCart version 1.3.7

    Thanks,

    Paul

  2. #2
    Join Date
    Dec 2007
    Location
    Belfast, N.Ireland
    Posts
    96
    Plugin Contributions
    0

    Default Re: 'headers already sent' errors

    I have now discovered also, that if you try and add a product to the cart, you get a blank page and the following error messages:

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/SiteFolder/public_html/includes/functions/extra_functions/pawel_attr.php:89) in /home/SiteFolder/public_html/includes/functions/sessions.php on line 108

    Warning: Cannot modify header information - headers already sent by (output started at /home/SiteFolder/public_html/includes/functions/extra_functions/pawel_attr.php:89) in /home/SiteFolder/public_html/includes/init_includes/init_templates.php on line 78

    Warning: Cannot modify header information - headers already sent by (output started at /home/SiteFolder/public_html/includes/functions/extra_functions/pawel_attr.php:89) in /home/SiteFolder/public_html/includes/functions/functions_general.php on line 44

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: 'headers already sent' errors

    https://www.zen-cart.com/tutorials/index.php?article=87

    pawel_attr.php doesn't exist in a stock Zencart installation. It must have been part of a mod, so we don't know what line 89 says.

    Also, unless you had a lot of custom work done on the old site, I would consider starting from scratch, using the much more secure current version.

  4. #4
    Join Date
    Dec 2007
    Location
    Belfast, N.Ireland
    Posts
    96
    Plugin Contributions
    0

    Default Re: 'headers already sent' errors

    That's great thanks, I appear to have sorted it with the help on that page.


    Quote Originally Posted by stevesh View Post
    Also, unless you had a lot of custom work done on the old site, I would consider starting from scratch, using the much more secure current version.
    I do intend to upgrade it. But, It has a fair bit of custom work done on it, and I didn't do it myself. So, I wanted a propry working copy to start with, so I could figure out what changes had been made, so I could do the upgrade.

    Thanks for your help.

 

 

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 pursuitbaits in forum General Questions
    Replies: 7
    Last Post: 8 Nov 2009, 08:00 AM
  4. Suddenly admin doesn't work - "headers already sent" errors
    By roachieaus in forum General Questions
    Replies: 4
    Last Post: 11 May 2008, 08:32 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