From: Franky V. L. <lie...@te...> - 2007-12-30 23:34:12
|
Well, upgrading wouldn't mind, but if it doesn't work, the issue must be somewhere else. This error means that /mnt/w0506/d37/s14/b02cd23b/www/zermattgarments/catalog/includes/languages/english/zermattsurvey2.php already sends something to the browser (starting on line 20) before phpESP.first.php gets included (which starts a session if not already started and sends a cookie) Looking quickly at oscommerce, I suggest you include it in the file catalog/includes/application_top.php (maybe at the bottom of that file) and try again. Franky On Sun, 30 Dec 2007 18:14:29 -0500 "Sunil Joshi" <pav...@gm...> wrote: > On Dec 30, 2007 6:13 PM, Sunil Joshi <pav...@gm...> wrote: > > > Franky, thanks for your reply. I have it declared right at the > > top, but still the same issue. I am using 2.0.1. Could that be > > the issue? P > > > > > > On Dec 30, 2007 2:00 PM, Franky Van Liedekerke <lie...@te...> > > wrote: > > > > > 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 > > > > > > > > > > > -- > > http://www.jayateas.com > > PREMIUM TEAS FROM THE HIGHLANDS OF INDIA > > > > > |