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



No user account ID was found in sessions. Please log in again below. - dnice - Jun 10th, 2010

First time FT user. I had a hell of a time getting FT to install. I got stuck at Step4 and at Step6. At Step4 I changed from PHP4 to PHP5. I had to set globals off to get past Step6. After that FT started working, but I could not login. I started from scratch, dropped all the tables, FTP'ed a new clean version of FT and I went through the install without issues. For basic testing and getting to know the system I created 2 clients and some forms. I'm using the POST method to keep it simple. The forms are working and everything looked like it would work out as a solution.

Today is my second day of use and I am completely locked out. My admin account info fails to log me in. The "forgot my password" option is working and sends me the correct account info, but it will not allow me to access the admin account. The forms are still working as well.

I can login as a client, but this is useless without admin support.

Here is the error reply I get when trying to login as the admin:
"No user account ID was found in sessions. Please log in again below."

The only browser that will allow me to access any account is Firefox on the Mac.

How can I resolve this login issue?

Thanks in advance.


RE: No user account ID was found in sessions. Please log in again below. - Ben - Jun 13th, 2010

Hi dnice,

The only difference between logging in as a client and as an administrator is the content that's loaded in sessions. On a couple of servers I've found that they limited the maximum amount of information that can be stored there - and that prevents the script from working properly, and booting the user out like this. It's a rare case, but it may be what's happening to you.

But hopefully it's an easy fix. Add the following line to your /global/config.php file:

PHP Code:
$g_session_type "database"

That bypasses the default PHP sessions and stores session information in the database instead. That may circumvent the problem.

Let me know how it goes!

- Ben