osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 05-28-2003, 12:44 AM
New Member
 
Join Date: Mar 2003
Location: United Kingdom
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Picman
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 05-28-2003, 08:33 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,491
Thanks: 73
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 05-29-2003, 01:12 AM
New Member
 
Join Date: Mar 2003
Location: United Kingdom
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Picman
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 05-29-2003, 06:00 AM
New Member
 
Join Date: Mar 2003
Location: United Kingdom
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Picman
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 06-02-2003, 02:07 AM
Member
 
Join Date: Dec 2002
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
doug
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!!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 06-05-2003, 12:38 AM
New Member
 
Join Date: Mar 2003
Location: United Kingdom
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Picman
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 06-05-2003, 04:30 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,491
Thanks: 73
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

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


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 04:32 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax