Results 1 to 7 of 7

Warning message help.

This is a discussion on Warning message help. within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Can someone please help. I receive the following warning when I click on the product link, (the page displays as ...

      
  1. #1
    New Member
    Join Date
    Mar 2003
    Location
    United Kingdom
    Posts
    18
    Rep Power
    0


    Default Warning message help.

    Can someone please help.

    I receive the following warning when I click on the product link, (the page displays as normal with the warning at the top).

    Warning: Cannot send session cache limiter - headers already sent (output started at /www.1stsouvenirs.com/catalog/product_info.php:1) in /www.1stsouvenirs.com/catalog/includes/functions/sessions.php on line 67

    Any ideas?

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default

    You have a blank line at the end of one of the php files, after the closing php tag. Check all the files that you have recently edited, starting with product_info.php, and remove the blank line.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Mar 2003
    Location
    United Kingdom
    Posts
    18
    Rep Power
    0


    Default

    Hi,
    Thanks for the prompt reply.

    I have checked all the modified files and a few more and the problem still exists. Is there a way of narrowing it down or will I have to check every file?

  4. #4
    New Member
    Join Date
    Mar 2003
    Location
    United Kingdom
    Posts
    18
    Rep Power
    0


    Default

    Hi msasek,

    After my last post I replaced both the catalog/includes/functions/sessions.php and the /catalog/product_info.php with copies that had not been installed.
    Changing the sessions.php made no difference however changing the product_info.php made everything work as normal.
    The product_info.php file was checked for a blank line after any closing tags as you suggested, so this could not have been the problem. Within the next few days I will compare both copies of the file and post my findings here incase anyone is interested.

  5. #5
    Member
    Join Date
    Dec 2002
    Posts
    92
    Rep Power
    0


    Default

    I have had this problem before too and have always found it was because of a blank line, in my case usually in configure.php curtesy of editing via cpanel!!!!

  6. #6
    New Member
    Join Date
    Mar 2003
    Location
    United Kingdom
    Posts
    18
    Rep Power
    0


    Default

    Okay,

    I have had a chance to study the two files now and there are no blank lines after the closing ?> tag.
    The only difference between the problem file and the original is at the start as follows:

    Original file:

    <?php
    /*
    $Id: product_info.php,v 1.92 2003/02/14 05:51:21 hpdl Exp $

    osCommerce, Open Source E-Commerce Solutions
    http://www.oscommerce.com

    Problem file:

    <table border="0" width="100%" cellspacing="1" cellpadding="1"><?php
    /*
    $Id: product_info.php,v 1.92 2003/02/14 05:51:21 hpdl Exp $

    osCommerce, Open Source E-Commerce Solutions
    http://www.oscommerce.com

    Just how the start of this file changed is a mystery the edit was not done by me, until this problem appeared I had not even opened the 'product_info.php' file.

    p.s. I checked 'cofigure.php' as well - no problems.

  7. #7
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default

    Gremlins, I tell ya, GREMLINS!
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. Another warning for me!
    By [wicked] in forum osCmax v2 Customization/Mods
    Replies: 4
    Last Post: 02-09-2006, 01:57 PM
  2. Error Message Help, Warning: session_start ?????
    By emerge23 in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 11-16-2004, 11:43 AM
  3. Crazy warning message after installing STS mod
    By innovations in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 12-10-2003, 09:30 PM
  4. Warning: Division by zero
    By mogul in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 07-28-2003, 05:42 AM
  5. Help about warning
    By Anonymous in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 11-09-2002, 01:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •