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
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
No user account ID was found in sessions. Please log in again below. - 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: No user account ID was found in sessions. Please log in again below. (/showthread.php?tid=1443)



No user account ID was found in sessions. Please log in again below. - smn - Jul 8th, 2011

Each time I login I get

No user account ID was found in sessions. Please log in again below.

It always works on the second attempt.

I have tried adding the database parameter to the config file but this has not helped.

Is there anything to check or try?

Thanks


RE: No user account ID was found in sessions. Please log in again below. - Ben - Jul 8th, 2011

Quote:It always works on the second attempt.

Ah..! It's probably this:

PHP sessions work per-domain, and to PHP, yoursite.com is totally different from http://www.yoursite.com. So if your $g_root_url value is set to "http://www.yoursite.com" but you go to "http://yoursite.com" to log in, it will fail to log you in, but redirect to "http://www.yoursite.com". The second time you try to log in, the sessions will work properly and you'll log in.

This sound like it may be the cause?

- Ben


RE: No user account ID was found in sessions. Please log in again below. - smn - Jul 9th, 2011

Ben

Thanks it works fine now

You were correct although for some strange reason I had left the www off of the root parameter so it was doing the reverse of what you described.

Does it matter if I leave the database parameter set for sessions?

By the way have you considered a module that allows an admin to create a formtools database table and then generate a form from it? It would help those of us who know databases better than html.

Thanks again
Ben

Thanks it works fine now

You were correct although for some strange reason I had left the www off of the root parameter so it was doing the reverse of what you described.

Does it matter if I leave the database parameter set for sessions?

By the way have you considered a module that allows an admin to create a formtools database table and then generate a form from it? It would help those of us who know databases better than html.

Thanks again


RE: No user account ID was found in sessions. Please log in again below. - Ben - Jul 9th, 2011

Excellent!

Quote:Does it matter if I leave the database parameter set for sessions?

Nope! Whatever works is fine.

Quote:By the way have you considered a module that allows an admin to create a formtools database table and then generate a form from it? It would help those of us who know databases better than html.

Oh YES! This is something that Joe (my business partner) and I have been discussing for literally years. It's on the roadmap now, but still a ways off. 2.2.0 will be adding "swatches" for the themes, field validation and templates to allow fine-tuning the output. Once that's done, I can finally work on the Form Builder. Smile

- Ben