Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 7 of 7

Thread: Warning message help.

  1. #1
    Picman
    Guest


    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


    Warning message help.


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    597


    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.

  3. #3
    Picman
    Guest


    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
    Picman
    Guest


    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
    doug
    Guest


    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
    Picman
    Guest


    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


    Warning message help.


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    597


    Default

    Gremlins, I tell ya, GREMLINS!

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, 04: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

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
  •