The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



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

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: API (https://forums.formtools.org/forumdisplay.php?fid=17)
+--- 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

Warning
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

Warning
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...

Whoops!