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