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
Error message- 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: Installation (https://forums.formtools.org/forumdisplay.php?fid=4)
+--- Thread: Error message- No user account ID was found in sessions. Please log in again below. (/showthread.php?tid=767)



Error message- No user account ID was found in sessions. Please log in again below. - devvy2 - Jun 29th, 2010

Every time I finish step 2 in adding a form, I get this message: No user account ID was found in sessions. Please log in again below.

I verified my pages. What am I doing wrong.

Help!


RE: Error message- No user account ID was found in sessions. Please log in again below. - Ben - Jul 4th, 2010

Hi devvy,

Sorry you're having problems!

Anytime you (or anyone else) sees that message, it's because Form Tools can no longer remember who you are. Whenever you log in, it stores information about your account so it can check you're allowed to see certain pages. If that memory gets lost, it'll suppose the worst and boot you out like you described.

One quick fix you could try is to log out and add this line to your /global/config.php file:

PHP Code:
$g_session_type "database"

If the source of the problem was with PHP sessions, this may circumvent it altogether.

if that doesn't work, check to see if you're running suhosin on your system (check your phpinfo file). Suhosin is a project to improve the security of PHP. While it's intentions are noble, hosting providers can (in my opinion) be a little overzealous when applying it to their servers. They can do things like limit the total size of things like POST, GET and SESSIONS - and that can wreak havoc with Form Tools and other PHP apps that need large amounts of information passed via forms and stored in sessions.

If that's the case, post me back and I'll let you know what info you can pass along to your hosting provider.

Good luck!

- Ben