The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Front End User Login Plugin (XML Or Database - ver: 3.0)
(2019-05-08, 04:00:42)Fabmue Wrote: i just integrated feul into my page. the login works fine, but after every page reload (e.g. after hitting a link in the nav) i am logged out. i think there is an error with the session... any ideas? actually i want to be logged in till i hit the logout button or close the browser/tab.

I also beat my head against this issue but I don't believe it was specific to this plugin.  My problem was that I was loading the session variables with complex objects preventing the session from saving.

My solution was to cast the username to a string.

Code:
$_SESSION['Username'] = (string)$userData->Username;

Other possible solution can be found here: https://stackoverflow.com/questions/19692157/session-variables-not-working-php
Reply


Messages In This Thread
Example site down, having issues - by Rich_K - 2012-11-14, 07:36:37
login box won't display - by horstuff - 2015-11-20, 04:57:25
RE: Front End User Login Plugin (XML Or Database - ver: 3.0) - by AnthonyV - 2021-08-13, 08:09:04



Users browsing this thread: 11 Guest(s)