The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.28 (Linux)
|
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 |