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 1121 build_postbit
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 1121 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:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to change admin timeout, please help
#1
I'm looking for a way to extend or even remove the admin login timeout. I have a local installation of GS at home so I don't need to be logged out automatically each time I take a break.

What annoys me is that sometimes I make changes to a page and after I hit "Save" I'm asked to log in and all the changes I made are lost! I wish there's a way to keep admin logged in all the time.

I looked in gsconfig.php and in files in the admin folder but couldn't find any.

Please help.
Reply
#2
To extend the login timeout, edit admin/inc/configuration.php and change this line:
Code:
$cookie_time = '7200';  // 2 hours

Change 7200 to the numer of seconds you want (or set it to something high like 999999...)

Or if you prefer to remove the login (anonymous access to panel, only for testing of course):
http://get-simple.info/forum/viewtopic.php?id=980
Reply




Users browsing this thread: 1 Guest(s)