Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Running the Shopping cart inside a table?


myth

Recommended Posts

Posted

I have been working on this forever, What I'm trying to do is run the shopping cart inside a table on my website. I keep getting these errors

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/pmcollec/public_html/catalog/index.php:14) in /home/pmcollec/public_html/catalog/includes/functions/sessions.php on line 67

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/pmcollec/public_html/catalog/index.php:14) in /home/pmcollec/public_html/catalog/includes/functions/sessions.php on line 67

 

I have been through the whole message board and I have tried everything recommended. I don't have any blanks in the config file and I made sure that it reads the right thing. So the only thing that I can figure is that trying to run it inside the table is what is screwing it up. Here is the website http://pmcollectibles.com/catalog/

 

Any help would be great, also has anyone tried to do this before?

 

Thank you

Patricia Searles

Posted

Not sure what your doing there but you need application_top before any html output. You might look at using a template system.

 

require('includes/application_top.php');

Posted

user99999999,

 

I added the require('includes/application_top.php'); to the top of the page, which made the error now show up at the top of the page, instead of in the table cell.

 

What kind of template thing are you talking about?

 

Databuilder: that add on is diffrent, that is only to add a border around the shopping cart.

 

Thank you for the idea's, does anyone else have any thoughts?

Posted

Make sure there are no spaces before you start your code. Headers being "already sent" means there is other code or an empty space getting to the server first. You don't want that.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...