Form Tools
[SOLVED] Session issues starting out with API - Printable Version

+- Form Tools (
+-- Forum: Form Tools (
+--- Forum: API (
+--- Thread: [SOLVED] Session issues starting out with API (/showthread.php?tid=260)

[SOLVED] Session issues starting out with API - msaz87 - Aug 24th, 2009

Hey all,

I'm just starting out trying to use the API and have run into a few problems...

I've gone step-by-step through the tutorial of setting up a simple one-page API form and gotten the test submission in, but afterwards I get the following on the page containing the form:

PHP Code:
Warningsession_start() [function.session-start]: Cannot send session cache limiter headers already sent (output started at /home/USER/public_html/test/test.php:2in /home/USER/public_html/my-path-to-FT/global/api/api.php on line 1537

Cannot modify header information headers already sent by (output started at /home/USER/public_html/test/test.php:2in /home/USER/public_html/my-path-to-FT/global/api/api.php on line 1538

Cannot modify header information headers already sent by (output started at /home/USER/public_html/test/test.php:2in /home/USER/public_html/my-path-to-FT/global/api/api.php on line 1539 

When I submit that form, it remains on the same page, but throws this at me:

PHP Code:
WarningCannot modify header information headers already sent by (output started at /home/USER/public_html/test/test.php:2in /home/USER/public_html/my-path-to-FT/global/api/api.php on line 861 

If I refresh that same page and try again (without first going to the thanks page and clearing the sessions), I get error code 302 and the first section of code above again.

I'm pretty clueless as to what any of it means... if anyone can help point me in the right direction, I'd greatly appreciate it. Thanks!

RE: Session issues starting out with API - msaz87 - Aug 24th, 2009

Nevermind... I accidentally put the php within the <html> tags...