From: Franky V. L. <lie...@te...> - 2007-12-30 19:03:24
|
On Sun, 30 Dec 2007 13:54:31 -0500 "Sunil Joshi" <pav...@gm...> wrote: > Hi, I am trying to integrate phpESP into the oscommerce shopping > cart, and everything seems to be working fine, except, when I hit the > "Submit Survey" button, I get the following error message---------- > *Warning*: Cannot modify header information - headers already sent by > (output started at > /mnt/w0506/d37/s14/b02cd23b/www/zermattgarments/catalog/includes/languages/english/zermattsurvey2.php:20) > in * > /mnt/w0506/d37/s14/b02cd23b/www/zermattgarments/catalog/phpESP/public/phpESP.first.php > * on line*60* > --------------- > > I wonder if some one has any idea on how to get rid of this error > message. > > Appreciate your help > > pavansut well, I don't know oscommerce very well, but I did quite a bit of work to make this kind of thing possible. Have you looked at the examples? You should include public/phpESP.first.php before any output happens, as the session initializes there. This can probably be fixed by just moving that include higher up in whatever file you're including it in. Btw: are you using the latest version (2.0.2 as of today :) )? Franky |