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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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? |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| 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
|
|
#3
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| 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
| ||||
| ||||
| Gremlins, I tell ya, GREMLINS!
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| 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 |