From: Josh G. <jgu...@ma...> - 2010-01-01 20:16:20
|
Dear phpESP folks, I have used your software to build a client survey, and am happy with the way it looks. However; I have had some issues with "session_start" warnings, and would really appreciate some assistance in rectifying these problems. I have done extensive searches, and made some progress, but still need help. Initially the embedded survey needed php.first included - I did that, then the session_start warnings began, after reading online posts, I added: <?php session_start();?> at the end of my <head> section, on the html page. I tried to put it on line 1, but it wouldn't save it there. That got rid of the Warning when linking to my embedded survey: MAH Survey <http://www.mark-a-hydrant.com/MAH_Survey.php> However; I still get "function.session-start" appearing on the top left of the web page. The following messages appear when the survey is submitted: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/XXXXXX/public_html/MAH_Survey.php:12) in /home/XXXXXX/public_html/MAH_Survey.php on line 33 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/XXXXXXX/public_html/MAH_Survey.php:12) in /home/XXXXXXX/public_html/MAH_Survey.php on line 33 Notice: Undefined index: rid in /home/XXXXXXX/public_html/phpesp/public/phpESP.first.php on line 41 Notice: Undefined index: sec in /home/XXXXXXX/public_html/phpesp/public/phpESP.first.php on line 41 Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXXXX/public_html/MAH_Survey.php:12) in /home/XXXXXXX/public_html/phpesp/public/phpESP.first.php on line 72 I would really appreciate any help you can provide. Happy New Year! Best Regards, Josh Guttman Mark-A-Hydrant, LLC |