Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Ezilon Directory   High Bandwidth Dedicated Servers   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 01-20-2004, 04:29 PM   #1 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Oscommerce Error

Anyone know what this means?

Quote:
Warning: Cannot send session cache limiter - headers already sent (output started at /var/www/html/catalog/includes/functions/general.php:1256) in /var/www/html/catalog/includes/functions/sessions.php on line 67
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 01-20-2004, 04:37 PM   #2 (permalink)
Individualist
 
John Scott's Avatar
 
Join Date: 09-27-03
Location: Japan, mostly
Posts: 42,297
iTrader: 3 / 100%
John Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster material
Send a message via AIM to John Scott Send a message via Yahoo to John Scott
Digitalpoint would know. He's pretty awesome with code.
John Scott is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-20-2004, 04:39 PM   #3 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Hope he sees this...
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-20-2004, 04:42 PM   #4 (permalink)
Possible Terrorist
 
kwvarga's Avatar
 
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 4,904
iTrader: 0 / 0%
Latest Blog:
A+ Certification

kwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web pro
Send a message via AIM to kwvarga
I know what it means.. but it wont help you..
why its there is problem..

what its doing is sending headers after output has been started.. not sure how to fix it... never delt with osCommerce before.. paste general.php lines 1250-1270 and ill try to help
__________________
Kyle Varga
"m3lt/theSpear"
student, web designer/coder, future IT consultant
Experience: PHP/MySQL, Java, C++, MS-SQL
kwvarga is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-20-2004, 04:43 PM   #5 (permalink)
Inactive
 
digitalpoint's Avatar
 
Join Date: 10-20-03
Location: San Diego, California
Posts: 271
iTrader: 0 / 0%
Latest Blog:
Maybe No Less Spam?

digitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nice
Basically means the system is trying to set something in the HTTP headers (since it's within the sessions.php file, I would guess it's a cookie or something along those lines).

The problem is that the request to the cart has already spit something out to the browser (which started in general.php).

And since you have to send the HTTP headers before you can send anything else to the user's browser, once you spew something out, the HTTP headers are sent at that point (and can't go back and be changed).

Truthfully, it probably would not be terribly difficult to debug. osCommerce has a pretty clean (from a coding standpoint) foundation to start with.

- Shawn
digitalpoint is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-20-2004, 04:50 PM   #6 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
So, what should I do?
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-20-2004, 04:52 PM   #7 (permalink)
Inactive
 
Join Date: 10-12-03
Location: Cranberry Township
Posts: 275
iTrader: 0 / 0%
niceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really nice
Send a message via ICQ to niceguyeddie
http://forums.oscommerce.com/index.p...+cache+limiter

Looks like it's been answered several times on their support forum.
niceguyeddie is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-20-2004, 04:56 PM   #8 (permalink)
Inactive
 
digitalpoint's Avatar
 
Join Date: 10-20-03
Location: San Diego, California
Posts: 271
iTrader: 0 / 0%
Latest Blog:
Maybe No Less Spam?

digitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nice
Well, if you can't find an answer in their forums or anywhere else, let me know... I'll be happy to have a look at it for you...

- Shawn
digitalpoint is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-21-2004, 06:23 AM   #9 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
I found a post over there that helped. I had white space after the ?> on one of the pages. Got rid of it and everything works now.

Thanks
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-21-2004, 11:51 AM   #10 (permalink)
Inactive
 
digitalpoint's Avatar
 
Join Date: 10-20-03
Location: San Diego, California
Posts: 271
iTrader: 0 / 0%
Latest Blog:
Maybe No Less Spam?

digitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nicedigitalpoint is just really nice
Annoying when it's something as simple as that, eh?

- Shawn
digitalpoint is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-21-2004, 12:59 PM   #11 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Yea, I had no idea that white space at the end of the page could hurt anything. Guess I know now
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-05-2004, 02:46 AM   #12 (permalink)
Contributing Member
 
Join Date: 12-03-03
Location: Dallas, Texas
Posts: 154
iTrader: 0 / 0%
Latest Blog:
None

POR-15 Depot is a jewel in the roughPOR-15 Depot is a jewel in the roughPOR-15 Depot is a jewel in the roughPOR-15 Depot is a jewel in the roughPOR-15 Depot is a jewel in the roughPOR-15 Depot is a jewel in the rough
Send a message via ICQ to POR-15 Depot Send a message via Yahoo to POR-15 Depot
The number ONE error for headers already sent in oscommerce is a blank line at the end of the file. I've seen it so many times I know it by heart
I have around 10 OsC sites running. if you customize then alot you get use to seeing that error
POR-15 Depot is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-05-2004, 06:14 AM   #13 (permalink)
v7n Mentor
 
fishfreek's Avatar
 
Join Date: 10-13-03
Location: Virginia
Posts: 2,021
iTrader: 0 / 0%
Latest Blog:
None

fishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of light
Send a message via ICQ to fishfreek Send a message via AIM to fishfreek Send a message via MSN to fishfreek Send a message via Yahoo to fishfreek
Quote:
Originally Posted by Jazzee
I found a post over there that helped. I had white space after the ?> on one of the pages. Got rid of it and everything works now.

Thanks
Would you belive i was going to suggest you look for extra lines after the ending php tag?

I have seen the same "headers already sent" message on multiple scripts including gallery scripts, phpbb and other php scripts. Often this line is added at the end of the file when its edited by cpanels file manager.
fishfreek is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-08-2004, 08:28 AM   #14 (permalink)
Inactive
 
Join Date: 03-08-04
Posts: 21
iTrader: 0 / 0%
Latest Blog:
None

sadcox66 is liked by many
Re: Oscommerce Error

Quote:
Originally Posted by Jazzee
Anyone know what this means?

Quote:
Warning: Cannot send session cache limiter - headers already sent (output started at /var/www/html/catalog/includes/functions/general.php:1256) in /var/www/html/catalog/includes/functions/sessions.php on line 67
Solution: In your /catalog/includes/configure.php at the very bottom
configure your shopping cart to save sessions in your database (mysql)
instead of the default /tmp

Yes, error messages were sent from general.php before the cart could be displayed.
sadcox66 is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

vB 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
oscommerce EWSitesCom SEO Forum 4 12-09-2007 02:44 PM
Oscommerce and Authorize.net websiteideas Coding Forum 1 07-06-2006 09:38 PM
Cannot Redeclare Error - osCommerce delb Web Design Lobby 1 03-17-2006 08:07 PM
OSCommerce South Coding Forum 3 06-02-2004 05:58 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 01:20 AM.
© Copyright 2008 V7 Inc