The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.28 (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.28 (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.28 (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.28 (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.28 (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.28 (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.28 (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.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
header("location: in Verification page re-directs back to homepage not thanks - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: header("location: in Verification page re-directs back to homepage not thanks (/showthread.php?tid=566)



header("location: in Verification page re-directs back to homepage not thanks - whal7 - Mar 12th, 2010

Hi and thank you for a great product. I have used FT on many sites and love it. This time I am trying to incorporate it into a cms with the review. I have it working up until the point where after they review their information they click submit and now it just re-directs them to the homepage not allowing me to setup the form with ft.

the way the cms creates the pages is it is index.php?page= and the page but no matter what I seem to put in there it will not work properly. I am not sure if this is the way it is being handled within the cms or if there is something I can change to make it work. Any help would be greatly appreciated.

Thanks.

Chris


RE: header("location: in Verification page re-directs back to homepage not thanks - Ben - Mar 14th, 2010

Hi Chris,

Thanks for the post!

I'm actually not totally clear on what you're doing: so you're integrating Form Tools itself from within the CMS, or just a form? It sounds like you're adding the entire Add Form process within the CMS - is that correct? If so, very exciting!

Maybe provide a few more details on this and I'll see if I can lend a hand. Since Form Tools is Smarty-templated, how are you integrating the two systems?

[EDIT]: Never mind, I just re-read it again and I think I understand it better now. So you're trying to get a FORM running from within the CMS. Try this: in the "redirect URL" field for the form, make sure your redirect URL has the index.php?page=XXX value so that the CMS can make sense of it.



- Ben